Skip to content

Instantly share code, notes, and snippets.

@nanooq
nanooq / find_duplicate_files.sh
Created August 22, 2017 17:36
Remove duplicate files from the second parameter directory path, i.e. keeping file instances that found below the first path parameter (even if it is subdirectory in second path paramater)
USAGE() {
echo "Synopsis: Remove files existing in both directories from
dupDir."
echo "$cmdname <mainDir> <dupDir>"
}
cmdname=${0}
if [ "$1" == "-h" ]; then
USAGE
exit 1
@nanooq
nanooq / Podcasts
Created September 29, 2015 14:08 — forked from brodo/Podcasts
Name // Kommentar
Programming
===========
The Haskell Cast // Hart, aber nicht so hart
ThoughtWorks // Noch nicht viel davon gehört
Herding Code // Allemein, einfach
DevOps Cafe Podvast // DER Podcast zu DevOp
Q.E.D. Code // Mathe + Programmierung, gut verständlich
@nanooq
nanooq / lock.sh
Last active August 29, 2015 14:15
#!/bin/bash
# lock.sh - locks your screen using a pixelated screenshot made with
# scrot (uses imlib2).
# Will not show anything when you type in your password.
### Dependency / Conflicts checks, mark error(s):
e=0