Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ricky@ricky-desktop:~$ wget http://www.winterwell.com/software/jtwitter/jtwitter.jar
- --2009-02-19 16:30:26-- http://www.winterwell.com/software/jtwitter/jtwitter.jar
- Resolving www.winterwell.com... 91.197.32.158
- Connecting to www.winterwell.com|91.197.32.158|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 197281 (193K) [application/java-archive]
- Saving to: `jtwitter.jar'
- 100%[======================================>] 197,281 283K/s in 0.7s
- 2009-02-19 16:30:27 (283 KB/s) - `jtwitter.jar' saved [197281/197281]
- ricky@ricky-desktop:~$ scala -classpath jtwitter.jar
- Welcome to Scala version 2.8.0.r17079-b20090210164824 (Java HotSpot(TM) Client VM, Java 1.6.0_11).
- Type in expressions to have them evaluated.
- Type :help for more information.
- scala> import scala.collection.jcl.Conversions._
- import scala.collection.jcl.Conversions._
- scala> import winterwell.jtwitter.Twitter
- import winterwell.jtwitter.Twitter
- scala> import winterwell.jtwitter.Twitter
- import winterwell.jtwitter.Twitter
- scala> val twitter = new Twitter("ricky_clarkson", "censored")
- twitter: winterwell.jtwitter.Twitter = winterwell.jtwitter.Twitter@18f127c
- scala> twitter.getFriendsTimeline take 10 map (s => s.getUser + ": " + s) foreach println
- Neil Bartlett: RT @webmink: Mind you, Brits would mistake WBC placards as support for a smoking ban... << Hehe. "God Hates Cigarettes!"
- Elliotte Harold: My first Twitter spam. Blocked.
- Michael Feathers: Watched 'Venus' last night. Alarming how that girl seduced Peter O'Toole.
- Josh Suereth: Looking at my scala group on pidgin, I see a list of 4 or 5 David's in a row. Time to change my middle name to my first name.
- Michael Campbell: : C# history and future (for you programmer geeks) http://ping.fm/ODf4l
- Neil Bartlett: Experimenting with Eclipse E4 JavaScript bundles
- Alex Cruise: http://download.java.net/jdk6/6u14/promoted/b01/changes/JDK6u14.b01.list.html looks like a barnburner of a HotSpot release coming up
- Alex Miller: starting meeting with super smart guys at unnamed important company about interesting geeky stuff...if only I could tell you more
- Dick Wall: the result? Control over the music playing on the big stereo from anywhere in the house, and 10,000+ tracks. Awesome!
- Dick Wall: Cool - over lunch I hooked up my iPhone as a remote to iTunes on the Mac Mini pushing audio to the appletv
- scala> twitter.setStatus("Tweeting from the Scala interpreter")
- res1: winterwell.jtwitter.Twitter.Status = Tweeting from the Scala interpreter
- scala>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement