Easy Twittering:
In Ubuntu, install curl with apt-get install curl
, then create a file paste the line below into it, modify the username and password strings:
curl --basic --user "username:password" --data-ascii "status=`echo $@|tr ' ' '+'`" "http://twitter.com/statuses/update.json"
Save or copy the file into /usr/bin, and you’re done.
$ /usr/sbin/twit Time to head over to the PLUG Meeting in Tempe
You can also follow updates (name it plugtweet):
!/bin/bash
while :
do
curl -s http://twitter.com/statuses/public_timeline.xml | sed -ne '/<text/s<\/*text>//gp'
sleep 10
done
exit
Next, make this script executable. Then, run it using the command:
./plugtweet
On Fri, May 8, 2009 at 1:10 PM, Bear Wadleigh
<bearlinux@gmail.com> wrote:
I've been a walking wifi access point for over a year using a
cradlepoint phs300 and a sprint mobile broadband modem(Novatel U727)
it's not as compact but works great. You can have as many devices
connected as you want intead of just 5. Works with any carrier. Only
real downside is battery life and price.
--
www.obnosis.com (503)754-4452
"Contradictions do not exist." A. Rand