diff --git a/sh/lol-twitter b/sh/lol-twitter new file mode 100755 index 0000000..91cc292 --- /dev/null +++ b/sh/lol-twitter @@ -0,0 +1,7 @@ +#!/bin/zsh +#< /dev/urandom | tr -dc 'a-z0-9_' | fold -w 5 \ +#< /usr/share/dict/cracklib-small | grep -E '^\w{4}$' \ +while read -r; do + curl -s 'https://twitter.com/users/username_available' -d username=$REPLY \ + | grep -lq ',"valid":true,' && echo $REPLY || echo \#$REPLY +done