1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-17 21:53:06 -07:00

remove lol-twitter

This commit is contained in:
Connor Olding 2018-02-21 10:51:50 +01:00
parent fec675c874
commit b282b86724
2 changed files with 0 additions and 13 deletions

View File

@ -302,12 +302,6 @@ $ isup fdhafdslkjgfjs.com && echo yay || echo nay
nay
```
### [lol-twitter](/sh/lol-twitter)
(zsh) checks if usernames (from stdin) are available on twitter.
seems to return a 403 code these days, but you could probably fix that.
### [lsarchive](/sh/lsarchive) + [unarchive](/sh/unarchive)
(zsh) guess what these do. written by Sorin Ionescu.

View File

@ -1,7 +0,0 @@
#!/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