done
}
+# Password generator
+
+function pwgen () {
+ tr -dc A-Za-z0-9 < /dev/urandom | head -c16
+ echo
+}
+
function ua () {
[[ "$1" ]] || ( echo "Universal unarchive: ua <file> [<file> ...]" >&2 && return 1)
function mksmall () {
- PARAMS="-geometry 800x600"
+ [[ "${PARAMS}" ]] || PARAMS="-geometry 800x600"
# Auto-orient does not seem to work at all, hence the ugly hack
# with exif below