statics data
This commit is contained in:
13
www/fragments/blog/borderlinedef.md
Normal file
13
www/fragments/blog/borderlinedef.md
Normal file
@@ -0,0 +1,13 @@
|
||||
Perhaps I'm making too much Mini-Games, but hey .... here is another one:
|
||||
|
||||
I proudly present you [Borderline Defense](/programs/view/Borderline%20Defense). Borderline Defense is a funny little Space-Invaders-Clone and the final project of 2 years Delphi-AG.
|
||||
Programmed (and designed) from the members of the Delphi-AG and the two leaders (Benjamin and myself) has it grown into a playable and quite funny game.
|
||||
The background work is done by my [absCanvas](/programs/view/AbsCanvas)-Engine and the Special features are:
|
||||
|
||||
- Endless Gameplay (as long as you can last)
|
||||
- An Online-Highscore
|
||||
- A Boss Fight at stage 20 (and 40, 60, 80 etc )
|
||||
- And a ship with 10 different upgrade levels
|
||||
|
||||
So, thats it ... have fun
|
||||
Mike
|
||||
10
www/fragments/blog/bsod.md
Normal file
10
www/fragments/blog/bsod.md
Normal file
@@ -0,0 +1,10 @@
|
||||
Some people say flying gets safer and safer ... But see for your self:
|
||||
|
||||
![Bluescreen_01][1]
|
||||
|
||||
![Bluescreen_02][2]
|
||||
|
||||
I think I will use the train :D
|
||||
|
||||
[1]: /images/log/bsod_1.jpg
|
||||
[2]: /images/log/bsod_2.jpg
|
||||
21
www/fragments/blog/cleanup.md
Normal file
21
www/fragments/blog/cleanup.md
Normal file
@@ -0,0 +1,21 @@
|
||||
Yesterday I decided that a lot of my website is out of date and I should probably re-evaluate whats on here.
|
||||
To be short: I completely removed the fun-page, most links were netherless broken and the rest didn't really fit this page.
|
||||
Also I re-did the Downlaodpage, you can now see
|
||||
|
||||
- absCanvas-Links
|
||||
- Versionnumbers
|
||||
- The sourcecode from a few programs
|
||||
- Sort by Date
|
||||
- The last added program on the mainpage
|
||||
|
||||
and a lot more.
|
||||
|
||||
Also I improved my Adminpage, hopefully I can now more easily upload and change programs/logs.
|
||||
|
||||
Finally I have an PSA for you: While writing my PHP-Code i found a pretty cool Editor (previously I used Notepad++):
|
||||
[Weaverslave 4](http://www.weaverslave.ws/)
|
||||
|
||||
|
||||
You all a good day
|
||||
~ Mike
|
||||
|
||||
8
www/fragments/blog/crystalgrid.md
Normal file
8
www/fragments/blog/crystalgrid.md
Normal file
@@ -0,0 +1,8 @@
|
||||
The same procedure as last program ?
|
||||
The same procedureas **every** program.
|
||||
|
||||
You see nothing really different, i wrote a little game in my spare free time. And now I'm uploading it.
|
||||
It's a little game named [Crystal Grid](/programs/view/Crystal%20Grid). Im pretty proud of the difficulty. It's pretty forgiving as long as you play on `Beginner` but extremely challenging on `Impossible`.
|
||||
|
||||
If you dare (and like) you can try beat my highscore
|
||||
... Mike
|
||||
6
www/fragments/blog/funupdate.md
Normal file
6
www/fragments/blog/funupdate.md
Normal file
@@ -0,0 +1,6 @@
|
||||
After a lot of requests i come to update the [Fun-Page](/fun/fun.php).
|
||||
The flying parts are now a good amount slower and the colors not *that* bright ...
|
||||
|
||||
Complaints can go into the guestbook.
|
||||
|
||||
Greetings Mike
|
||||
14
www/fragments/blog/hack.md
Normal file
14
www/fragments/blog/hack.md
Normal file
@@ -0,0 +1,14 @@
|
||||
I have to say: "Wow" .
|
||||
|
||||
Someone really took the time to *"hack"* my website.
|
||||
Yesterday someone changed my files to display this messsage on the mainpage:
|
||||
|
||||
> <!-- Hack an! -->
|
||||
> **Diese Seite wurde gehackt.**
|
||||
> Sorry wegen der Shoutbox, die ist
|
||||
> jetzt e bissle verschoben :D
|
||||
> *Und sie bleibt es auch, bis die Sicherheitslücke entfernt ist :P*
|
||||
> <!-- Hack aus (nur zwischen den beiden Kommentaren ist etwas verändert worden)-->
|
||||
|
||||
I think if found the hole, and *hopefully* i prevented all future XSS-atacks
|
||||
I hope there will be no more ... suprises.
|
||||
8
www/fragments/blog/inftournament.md
Normal file
8
www/fragments/blog/inftournament.md
Normal file
@@ -0,0 +1,8 @@
|
||||
Okay, okay, after a loooong time I will write something in the log.
|
||||
In the last few months there wasn't much on this site, but be sure mikescher.de is not *(yet)* dead.
|
||||
I just have a lot to do with my abi and beside that I'm working on our Clan-homepage [SemteX](http://www.semtex.org).
|
||||
|
||||
But I also wrote a few programs and I want to upload one which has gotten quite a bit of progress and is nearly finished: [Infinity Tournament](/programs/view/Infinity%20Tournament) 1.2.
|
||||
It's based on an old game by me, but writte completely frokm scratch new in my on 2D-Canvas Engine ([absCanvas](/programs/view/AbsCanvas)) ... have fun
|
||||
|
||||
*Mikescher*
|
||||
15
www/fragments/blog/initial.md
Normal file
15
www/fragments/blog/initial.md
Normal file
@@ -0,0 +1,15 @@
|
||||
After a kinda long wait the new Style is finally online. You can now look at the glorious *mikescher.de 3.0*
|
||||
|
||||
Write in the (also new) Guestbook what you think about it.
|
||||
Here is a little overview over the past versions:
|
||||
|
||||
|
||||
**v1.0:** ![version 1][1]
|
||||
|
||||
**v2.0:** ![version 2][2]
|
||||
|
||||
**v3.0:** ![version 3][3]
|
||||
|
||||
[1]: /images/log/ms_de_v1.jpg
|
||||
[2]: /images/log/ms_de_v2.jpg
|
||||
[3]: /images/log/ms_de_v3.jpg
|
||||
8
www/fragments/blog/lancontrol.md
Normal file
8
www/fragments/blog/lancontrol.md
Normal file
@@ -0,0 +1,8 @@
|
||||
I have uploaded another of my older programs: [LAN-Control 2.0](/programs/view/LAN-Control).
|
||||
You probably didn't even know the 1.0 version, because i never came to publish that version either.
|
||||
And, to be quite frankly, it wasn't really a thing i would show others.
|
||||
|
||||
But now the completely rewrote version is online and if you want you can test it out.
|
||||
|
||||
|
||||
MfG Mike
|
||||
6
www/fragments/blog/language.txt
Normal file
6
www/fragments/blog/language.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Hi,
|
||||
|
||||
I am currently changing the main languages of this website to *english*.
|
||||
That means not only that all future Logs will be written in english, but also that i will translate the old ones.
|
||||
|
||||
Enjoy.
|
||||
8
www/fragments/blog/more_euler.md
Normal file
8
www/fragments/blog/more_euler.md
Normal file
@@ -0,0 +1,8 @@
|
||||
A lot of you probably have seen [various](/programs/view/BefunUtils) [befunge](/programs/view/BefunZ) [stuff](https://github.com/Mikescher/BefunUtils) on this site.
|
||||
|
||||
But a thing I do now for a while is solving the **[Project Euler](https://projecteuler.net/)** problems in befunge.
|
||||
To celebrate fifty solved levels I want to rally you again to my **[blogpost about this project](/blog/1/Project_Euler_with_Befunge)** and the [table](/blog/1/Project_Euler_with_Befunge) with all my solved problems.
|
||||
|
||||
Have a look and perhaps feel inspired to do a few problems by your self - most of them are quite fun and challenging.
|
||||
|
||||

|
||||
6
www/fragments/blog/newlayout.txt
Normal file
6
www/fragments/blog/newlayout.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
I can proudly say, i finally started the new *(and better)* Layout.
|
||||
Simultaneously i have started this log.
|
||||
|
||||
I hope many more log-entries will follow.
|
||||
|
||||
~ Mike
|
||||
9
www/fragments/blog/spammers.md
Normal file
9
www/fragments/blog/spammers.md
Normal file
@@ -0,0 +1,9 @@
|
||||
*grml* After you guys started spamming my guestbook I saw myself forced towards a little bit of more drastic measures.
|
||||
So you are now forced to solve a capture everytime you want to post something.
|
||||
Have fun :)
|
||||
|
||||
Btw, i took the "fun" path and tried writing my own captcha code, here you can see the result:
|
||||
|
||||
![Captcha][1]
|
||||
|
||||
[1]: /images/log/captcha_img.png
|
||||
16
www/fragments/blog/v4.md
Normal file
16
www/fragments/blog/v4.md
Normal file
@@ -0,0 +1,16 @@
|
||||
When you see this Log you probably notice that this site looks a whole lot different than a few days before.
|
||||
And you you can probably guess it **I rewrote this website completely from scratch**.
|
||||
Finally there is a *real* PHP Framework behind this all ([Yii](http://www.yiiframework.com/) with [Yiistrap](http://www.getyiistrap.com/)) and my code looks kinda good and is [version controlled](https://github.com/Mikescher/www.mikescher.de).
|
||||
|
||||
My hopes are that I can now easier add new programs and that the whole page looks a bit more professional.
|
||||
If you want to see how this page has evolved over the years - here are the thumbnails of mikescher.de version `1`, `2`, `3` and the current `4`:
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
Also look at the new [Blog section](/blog), for now there is not much content but perhaps that will change over te next few months.
|
||||
|
||||
Greetings
|
||||
~ Mikescher
|
||||
@@ -1,81 +0,0 @@
|
||||
|
||||
<?php
|
||||
|
||||
$euler = $PDO->query('SELECT * FROM ms4_eulerproblem', PDO::FETCH_ASSOC);
|
||||
|
||||
?>
|
||||
|
||||
<div class="euler_pnl_base">
|
||||
|
||||
<div class="euler_pnl_header">
|
||||
Project Euler with Befunge-93
|
||||
</div>
|
||||
<div class="euler_pnl_content">
|
||||
|
||||
<?php
|
||||
|
||||
$arr = [];
|
||||
|
||||
$max = 0;
|
||||
foreach ($euler as $problem)
|
||||
{
|
||||
$max = max($max, $problem['Problemnumber']);
|
||||
|
||||
|
||||
if ($problem['SolutionTime'] < 100) // < 100ms
|
||||
$problem['timelevel'] = 'euler_pnl_celltime_perfect';
|
||||
else if ($problem['SolutionTime'] < 15 * 1000) // < 5s
|
||||
$problem['timelevel'] = 'euler_pnl_celltime_good';
|
||||
else if ($problem['SolutionTime'] < 60 * 1000) // < 1min
|
||||
$problem['timelevel'] = 'euler_pnl_celltime_ok';
|
||||
else if ($problem['SolutionTime'] < 5 * 60 * 1000) // < 5min
|
||||
$problem['timelevel'] = 'euler_pnl_celltime_bad';
|
||||
else
|
||||
$problem['timelevel'] = 'euler_pnl_celltime_fail';
|
||||
|
||||
$arr[$problem['Problemnumber']] = $problem;
|
||||
}
|
||||
|
||||
$max = ceil($max / 20) * 20;
|
||||
|
||||
echo "<div class='euler_pnl_row'>\n";
|
||||
echo "<div class='euler_pnl_row2'>\n";
|
||||
for ($i = 1; $i <= $max; $i++)
|
||||
{
|
||||
$cssclass = '';
|
||||
if (key_exists($i, $arr))
|
||||
{
|
||||
$cssclass = $arr[$i]['timelevel'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$cssclass = 'euler_pnl_cell_notexist';
|
||||
}
|
||||
|
||||
echo " <div class=\"euler_pnl_cell $cssclass\">";
|
||||
echo "<a href=\"/blog/1/Project_Euler_with_Befunge/problem-" . str_pad($i, 3, '0', STR_PAD_LEFT) . "\">";
|
||||
echo "$i";
|
||||
echo "</a>";
|
||||
echo "</div>\n";
|
||||
|
||||
if (($i)%20 == 0)
|
||||
{
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
echo "<div class='euler_pnl_row'>\n";
|
||||
echo "<div class='euler_pnl_row2'>\n";
|
||||
}
|
||||
else if (($i)%10 == 0)
|
||||
{
|
||||
echo "</div>\n";
|
||||
echo "<div class='euler_pnl_row2'>\n";
|
||||
}
|
||||
}
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
68
www/fragments/eulerpanel.php
Normal file
68
www/fragments/eulerpanel.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?php
|
||||
require __DIR__ . '/../internals/euler.php';
|
||||
|
||||
$euler = Euler::listAll();
|
||||
|
||||
$RATING_CLASSES = ['euler_pnl_celltime_perfect', 'euler_pnl_celltime_good', 'euler_pnl_celltime_ok', 'euler_pnl_celltime_bad', 'euler_pnl_celltime_fail'];
|
||||
?>
|
||||
|
||||
<div class="euler_pnl_base">
|
||||
|
||||
<div class="euler_pnl_header">
|
||||
<a href="">Project Euler with Befunge-93</a>
|
||||
</div>
|
||||
<div class="euler_pnl_content">
|
||||
|
||||
<?php
|
||||
|
||||
$arr = [];
|
||||
|
||||
$max = 0;
|
||||
foreach ($euler as $problem)
|
||||
{
|
||||
$max = max($max, $problem['number']);
|
||||
$arr[$problem['number']] = $problem;
|
||||
}
|
||||
|
||||
$max = ceil($max / 20 + 1) * 20;
|
||||
|
||||
echo "<div class='euler_pnl_row'>\n";
|
||||
echo "<div class='euler_pnl_row2'>\n";
|
||||
for ($i = 1; $i <= $max; $i++)
|
||||
{
|
||||
$cssclass = 'euler_pnl_cell_notexist';
|
||||
$alttitle = '';
|
||||
$href = '#';
|
||||
if (key_exists($i, $arr))
|
||||
{
|
||||
$cssclass = $RATING_CLASSES[$arr[$i]['rating']];
|
||||
$alttitle = $arr[$i]['title'];
|
||||
$href = "/blog/1/Project_Euler_with_Befunge/problem-" . str_pad($i, 3, '0', STR_PAD_LEFT);
|
||||
}
|
||||
|
||||
echo " <div class=\"euler_pnl_cell $cssclass\">";
|
||||
echo "<a href=\"" . $href . "\" title=\"" . htmlspecialchars($alttitle) . "\" >";
|
||||
echo "$i";
|
||||
echo "</a>";
|
||||
echo "</div>\n";
|
||||
|
||||
if (($i)%20 == 0)
|
||||
{
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
echo "<div class='euler_pnl_row'>\n";
|
||||
echo "<div class='euler_pnl_row2'>\n";
|
||||
}
|
||||
else if (($i)%10 == 0)
|
||||
{
|
||||
echo "</div>\n";
|
||||
echo "<div class='euler_pnl_row2'>\n";
|
||||
}
|
||||
}
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user