sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 562221e5f59ee48e438b8f016e69d178399d999c
parent b9c199fd26e9545dfe91908d2b27a0fbd60d1481
Author: Enno Boland (tox) <tox@s01.de>
Date:   Wed, 31 Mar 2010 15:01:01 +0200

Adding autologin script for twitter.
Diffstat:
Asurf.suckless.org/files/autologin.md | 28++++++++++++++++++++++++++++
1 file changed, 28 insertions(+), 0 deletions(-)

diff --git a/surf.suckless.org/files/autologin.md b/surf.suckless.org/files/autologin.md @@ -0,0 +1,28 @@ +AUTOLOGIN +========= + +Feel free to post autologin scripts to your favorite site. __Do not forget to +remove your passwords from the script!!!__ + +* Twitter + + #!/bin/sh + read -p "Name: " name + read -p "Password: " -s pass + echo + curl --cookie ~/.surf/cookies.txt --cookie-jar ~/.surf/cookies.txt \ + -d "session[username_or_email]=$name" \ + -d "session[password]=$pass" \ + -d "remember_me=1" \ + -d "commit=Sign In" \ + http://twitter.com/sessions > /dev/null + curl --cookie ~/.surf/cookies.txt --cookie-jar ~/.surf/cookies.txt \ + http://twitter.com/ > /dev/null + surf http://mobile.twitter.com + + +Author +------ + +* Enno Boland (Gottox) < g s01 de > +