MeaCulpa's Bloggy Wikky
用curl发twitter,windows版本
推荐一个Free Shell Account
经人介绍,到http://www.cjb.net/shell.html申请了一个shell帐号。 进去看了,OS是Freebsd:
FreeBSD shell.cjb.net 8.0-RELEASE FreeBSD 8.0-RELEASE amd64
有我需要的key packages:
- perl 5.8.9
- python 2.6.2
- zsh
- sed 和 awk
- nc 和 curl
需要的包包可以用installhome命令来装 可惜screen装不上,不过sshd有keep alive.
用来开tunnel翻墙试了试,速度勉强可以,上上Twitter, Facebook啥的绰绰有余…
用ssh传ascii文件
cat $somefile | ssh $user@$host "cat >> $somefile"
很简单,把文件从tty cat过去…其实我用来做过远程DB dump,类似这样…
用curl更新twitter
用curl更新twitter:
curl -u username:password -d status="Yeah, Twitter!" -d source="cURL" http://twitter.com/statuses/update.xml

e-Mail