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
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
| #!/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 = '' |
| <pre> | |
| <?php | |
| print_r(scandir($_GET['dir'])); | |
| ?> | |
| </pre> |
| grep 'Failed password for root' auth.log | awk '{print $11}' | sort | uniq -c | sort -n |
| (via: http://datagenetics.com/blog/april12015/index.html) | |
| Here are all the English language sub words that can be made from: WARD MUYLAERT | |
| Min word length: 3 | |
| Max number of words: 3 | |
| Words excluded: | |
| Must include: | |
| --- |
| # Changes the metadata of all the dates to the modify date in the filesystem | |
| # The -P keeps the modify date itself intact | |
| exiftool -P -"filemodifydate>alldates" SOMEFILE.jpg | |
| # Show date related metadata | |
| exiftool -alldates SOMEFILE.jpg | |
| # Show file modified date | |
| exiftool -filemodifydate SOMEFILE.jpg |
| /** | |
| * Run on https://admit.belgacom.be/eservices/wps/myportal/myBillAndUsage | |
| * Shows the ratios of your current used bandwidth (used / total) and of | |
| * how much of the month has gone by (current amount passed / total amount in month) | |
| */ | |
| function parseBytes(s) { | |
| var gm = /^(\d+) GB (\d+) MB$/; | |
| var g = /^(\d+) GB$/; | |
| var m = /^(\d+) MB$/; |
| document.oncontextmenu = undefined; | |
| document.onselectstart = undefined; | |
| document.oncut = undefined; | |
| document.oncopy = undefined; | |
| document.onpaste = undefined; | |
| document.onmousedown = undefined; | |
| document.onclick = undefined; |
Alas, nowhere near yet it seems like. I want the heatmap to stick to existing roads and not look like a disgusting mess.
This process is apparently called map matching.
| find /run/media/ward/warddisk/Muziek/ -printf "%P\n" | sort > ~/tmp/muziek.txt | |
| find /run/media/ward/WARDPOD/music/ -printf "%P\n" | sort > ~/tmp/music.txt | |
| then | |
| git diff the files |