This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* QWERTY encode decode | |
* | |
* qwerty_encode maps English alphabets to their | |
* position in qwerty layout keyboard like so: | |
* a -> q, b -> w, c -> e ... etc | |
* | |
* qwerty_decode does the reverse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
/* | |
* A simple php cli tool to traverse movie directories | |
* and download the missing subtitles from subscene.com | |
* (Especially suited for movies from yify torrents) | |
* | |
* Usage: php sub.php /path/to/movies/ | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Alternative prime number generator | |
* | |
* Generates first <n> prime numbers using | |
* the prime numbers themselves | |
* | |
* @author Jitendra Adhikari <jiten.adhikary@gmail.com> | |
* |
NewerOlder