mirror of
https://github.com/notwa/rc
synced 2024-11-14 08:29:03 -08:00
twitter crap
This commit is contained in:
parent
e0a7bf3e03
commit
6f5dbc0cbc
1 changed files with 7 additions and 0 deletions
7
sh/lol-twitter
Executable file
7
sh/lol-twitter
Executable file
|
@ -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
|
Loading…
Reference in a new issue