tree gives a nice graphical view of folder structure.
Notice that this method doesn't let you know about file differences between files of the same name.
tree /path/to/dir1 >file1.txt
tree /path/to/dir2 >file2.txt
git diff file1.txt file2.txt
| grep 'Failed password for root' auth.log | awk '{print $11}' | sort | uniq -c | sort -n |
| <pre> | |
| <?php | |
| print_r(scandir($_GET['dir'])); | |
| ?> | |
| </pre> |
| #!/usr/bin/env ruby | |
| # Lists the movies in your watchlist by their trakt popularity. | |
| # Made this since it is broken for me on trakt. | |
| require 'open-uri' | |
| require 'json' | |
| # You can find this in your profile | |
| API_KEY = '' |
tree gives a nice graphical view of folder structure.
Notice that this method doesn't let you know about file differences between files of the same name.
tree /path/to/dir1 >file1.txt
tree /path/to/dir2 >file2.txt
git diff file1.txt file2.txt
| ffmpeg -i rtsp://yourlinkhere -acodec copy -vcodec copy FILENAME.mp4 |
echo "main(i){for(i=0;;i++)putchar(((i*(i>>8|i>>9)&46&i>>8))^(i&i>>13|i>>6));}" | gcc -x c - && ./a.out | aplay
Via: http://www.reddit.com/r/linux/comments/1h38gg/til_that_cat_works_with_audio_files/caqh2ir
| <?xml version="1.0"?> | |
| <challenges> | |
| <gameslot playerID="4f96e52e163bbd2e" kart="" firstTime="false"> | |
| <city> | |
| <easy solved="false"/> | |
| <medium solved="false"/> | |
| <hard solved="false"/> | |
| </city> | |
| <farm> | |
| <easy solved="true"/> |
| --- channel.c.old 2012-01-19 00:42:31.859634901 +0100 | |
| +++ channel.c 2012-01-19 00:42:52.066301195 +0100 | |
| @@ -796,7 +796,7 @@ | |
| char *c; | |
| for (c = msgtext; *c; c++) | |
| { | |
| - if (*c == 3 || *c == 27 || *c == 4) | |
| + if (*c == 3 || *c == 27 || *c == 4 || *c == 22) | |
| return (CANNOT_SEND_NOCOLOR); | |
| } |
| --- m_message.c.old 2012-01-19 00:17:45.142995611 +0100 | |
| +++ m_message.c 2012-01-19 00:17:58.849662027 +0100 | |
| @@ -1350,7 +1350,7 @@ | |
| rgb = 1; | |
| nc = 0; | |
| } | |
| - else | |
| + else if (*text != '\026') /* (strip reverse too) */ | |
| { | |
| new_str[i] = *text; |
| ; Allows setting modes by simply typing "+MODE" or "-MODE" | |
| on *:INPUT:#:{ | |
| if (!$inpaste && !$ctrlenter && $regex($1,/^[+-][qaohv\Q $+ $remove($chanmodes,$chr(44)) $+ \E]/)) { | |
| haltdef | |
| mode $chan $$1- | |
| } | |
| } |