Yearly Archives: 2021


One Piece Staff Official Twitter Team Posted for Greek Olympian!

After the pose, the Greek Olympian took that resembled one signature pose of the fictional character Monkey D. Luffy, the team behind the creation of the One Piece manga, posted the following:

Congratulations Miltiadi!


Simple PHP script that lists all files in a directory, sorts them by modification date, and creates hyperlinks for each

<?php

echo '<html>';

$ignore = array('.', '..', 'index.php');
$files = array();

foreach (scandir($dir) as $file) {
  if (in_array($file, $ignore)) {
    continue;
  }
  $files[$file] = filemtime($dir . '/' . $file);
}

arsort($files);

$keys = array_keys($files);

foreach ($files as $key => $value) {
  echo date('r', $value), ' <a href="', $dir, '/', $key, '">', $key, '</a><br/>';
}

echo 'Done';

echo '</html>';
?>