diff --git a/Makefile b/Makefile index 707d782..ae5b539 100644 --- a/Makefile +++ b/Makefile @@ -1,25 +1,31 @@ -all: blink/blink.1 histogram/histogram.1 upsidedown/upsidedown.1 tracefile/tracefile.1 timestamp/timestamp.1 +all: blink/blink.1 histogram/histogram.1 upsidedown/upsidedown.1 tracefile/tracefile.1 timestamp/timestamp.1 rand/rand.1 goodpasswd/goodpasswd.1 blink/blink.1: blink/blink pod2man blink/blink > blink/blink.1 +goodpasswd/goodpasswd.1: goodpasswd/goodpasswd + pod2man goodpasswd/goodpasswd > goodpasswd/goodpasswd.1 + histogram/histogram.1: histogram/histogram pod2man histogram/histogram > histogram/histogram.1 -upsidedown/upsidedown.1: upsidedown/upsidedown - pod2man upsidedown/upsidedown > upsidedown/upsidedown.1 +rand/rand.1: rand/rand + pod2man rand/rand > rand/rand.1 + +timestamp/timestamp.1: timestamp/timestamp + pod2man timestamp/timestamp > timestamp/timestamp.1 tracefile/tracefile.1: tracefile/tracefile.pod pod2man tracefile/tracefile.pod > tracefile/tracefile.1 -timestamp/timestamp.1: timestamp/timestamp - pod2man timestamp/timestamp > timestamp/timestamp.1 +upsidedown/upsidedown.1: upsidedown/upsidedown + pod2man upsidedown/upsidedown > upsidedown/upsidedown.1 wssh/wssh.1: wssh/wssh #pod2man wssh/wssh > wssh/wssh.1 install: mkdir -p /usr/local/bin - parallel ln -sf `pwd`/{}/{} /usr/local/bin/{} ::: blink reniced em field forever neno rn stdout tracefile w4it-for-port-open upsidedown histogram goodpasswd mtrr not summer timestamp transpose wssh + parallel eval ln -sf `pwd`/*/{} /usr/local/bin/{} ::: blink reniced em field forever neno rn stdout tracefile w4it-for-port-open upsidedown histogram goodpasswd mtrr not summer timestamp transpose wssh aptsearch rand mkdir -p /usr/local/share/man/man1 parallel ln -sf `pwd`/{} /usr/local/share/man/man1/{/} ::: */*.1 diff --git a/README b/README index c99d07b..ed7a359 100644 --- a/README +++ b/README @@ -10,6 +10,8 @@ forever - Run the same command or list of commands every second. neno - No error no output. Only print STDERR and STDOUT if the command fails. +rand - Generate (pseudo-)random data + reniced - Renice all commands running more than 1 CPU minute unless they are niced or whitelisted. rn - Move file(s)/dir(s) to ~/.rm/ (wastebasket). diff --git a/goodpasswd/goodpasswd b/goodpasswd/goodpasswd index b9d22b3..be5e1c9 100755 --- a/goodpasswd/goodpasswd +++ b/goodpasswd/goodpasswd @@ -1,20 +1,62 @@ #!/usr/bin/perl -# This program generates passwords that: -# -# * are hard to guess -# * will be displayed unambigously in any (normal) font -# * will survive being passed through a bad fax machine -# * will survive being passed through handwriting -# * has UPPER lower number and sign -# -# Too close: B8 cC g9 6G kK lI l1 oO O0 pP sS uU vV xX zZ Z2 ,. :; `' S5 -# Causes problems in URLs: @/: -# Causes problems in shell: ! " # $ & ( ) [ ] { } ? | < > \ * = -# SQL uses: % for wildcard -# Hard to type: ^ ~ ¨ ¤ § ½ æ ø å Æ Ø Å -# Never 2 same chars next to eachother. (--) is bad -# Do not start with '-' or '+' as that looks like an (long) option +=encoding utf8 + +=head1 NAME + +goodpasswd - generate good access codes + + +=head1 SYNOPSIS + +B + + +=head1 DESCRIPTION + +B generates access codes that: + +=over 3 + +=item Z<>* are hard to guess + +=item Z<>* will be displayed unambigously in any (normal) font + +=item Z<>* will survive being passed through a bad fax machine + +=item Z<>* will survive being passed through handwriting + +=item Z<>* will survive unquoted in most scripts + +=item Z<>* has characters from the character classes UPPER lower number and sign + +=back + +=head2 Characters considered too close + +These character couples are too similar either in different fonts or +in a bad copy and are thus forbidden: B8 cC g9 6G kK lI l1 oO O0 pP sS uU vV xX zZ Z2 ,. :; `' S5 + +These characters cause problems in URLs: @/: + +These characters cause problems in shell: ! " # $ & ( ) [ ] { } ? | < > \ * = + +These characters cause problems in SQL (wildcard): % + +These characters are hard to type: ^ ~ ¨ ¤ § ½ æ ø å Æ Ø Å + +=head2 Other restrictions + +Never use the same chars twice in a row: e.g. -- is bad. + +Do not start with '-' or '+' as that looks like an (long) option + +=head1 EXAMPLE + +B will give output similar to FJiY7j+7DQ-D. + +=cut + # # US-kbd: ~!@#$%^&*()_+ [] {} ;'\ :"| < > ,./ <>? # DK-kbd: §!"#¤%&/()=?` å" Å^ æø' ÆØ* < > ,.- ;:_