mirror of
https://github.com/notwa/rc
synced 2024-11-05 04:19:03 -08:00
7 lines
282 B
Bash
Executable file
7 lines
282 B
Bash
Executable file
#!/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
|