Dec. 25, 2010

Honest Abe Says

Sometime last year I created a fantastic contraption level that looks like Abraham Lincoln.  I haven't checked it since then, but, apparently it got rated as one of the top levels, making me #18 in user rankings. Go me!

Honest Abe Says "Don't pult"

No comments \ Leave a comment
Dec. 21, 2010

PHP glob files by date

To list files in PHP, you can lazily use glob("*"); however, it has no sorting capability. Few minutes of google and I ran into the most elegant way to list files by date.

$files = glob( "../../../feed21/*.xml" );
// Sort files by modified time, latest to earliest
// Use SORT_ASC in place of SORT_DESC for earliest to latest
  array_map( 'filemtime', $files ),

Credits go to commenter "kbluhm" on this site:

No comments \ Leave a comment
Dec. 02, 2010

Minecraft gratitude

So, I started hosting a public minecraft server, at my own expense. Purpose was just to let people play. Since I work and spend decent time commuting to work, I myself don't get to play. But then, one evening I logged in and found this- a statue of me made by random internet people.

Inscription said:


"Statue of PP.

Watch over



No comments \ Leave a comment
Posts on this blog solely represent my personal opinions and technical experience.

© 2009-2017 Edin (Dino) Beslagic