1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 08:09:03 -08:00
rc/sh/lol-twitter

8 lines
282 B
Text
Raw Normal View History

2013-10-21 01:04:37 -07:00
#!/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 \
2014-03-13 10:16:38 -07:00
| grep -lq ',"valid":true' && echo $REPLY || echo \#$REPLY
2013-10-21 01:04:37 -07:00
done