Skip to content

Instantly share code, notes, and snippets.

@nemanjan00
Created February 21, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nemanjan00/0f50c1c572e19a66bb5e to your computer and use it in GitHub Desktop.
Save nemanjan00/0f50c1c572e19a66bb5e to your computer and use it in GitHub Desktop.
Takmičenje
<?php
$len = strlen(file_get_contents("http://takprog.dms.rs/"));
while(strlen(file_get_contents("http://takprog.dms.rs/")) == $len){
sleep(60*5);
}
system("mplayer ~/Downloads/mps/Nuclear\ Alarm\ Siren\ -\ 10\ minutes\ \(World\ War\ III\).ogg");
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment