cat .git/HEAD | cut -c17-9999Useful if you are in docker and dont want to install git in your container :)
| <?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 |
| <?php | |
| /** | |
| * The Bot. | |
| */ | |
| class Bot | |
| { | |
| const DIR_NORTH = 0; | |
| const DIR_EAST = 1; | |
| const DIR_SOUTH = 2; |
cat .git/HEAD | cut -c17-9999Useful if you are in docker and dont want to install git in your container :)
| package main | |
| import ( | |
| "context" | |
| "flag" | |
| "fmt" | |
| "log" | |
| "os" | |
| "strconv" | |
| "strings" |