
So today we ride for the first time. 250's, and not any faster than 25mph. Some of you may know that we have both recently fallen in love with Ducatis. The good news is, there are not only Ducati dealers in Taiwan, there is a Ducati Monster Club!

# this socket is our prolific driver to the GPS
pro = '/dev/cu.PL2303-12345678'
gpssocket = File.open(pro, 'r+')
deciphered = String.new()
decoded = Array.new()
while FileTest.readable?(pro)
82.times { |i| c = gpssocket.getc; deciphered << c.chr }
puts deciphered
decoded << deciphered
end
def self.marshal()
payload.split(//) { |chr| checksum = checksum ^ chr.unpack("%C") }
payload + "*" + checksum.to_s
end
my %db_lexicon = map {
shift @{ $oracle_sth->fetchrow_arrayref() } => $_
} @{ $postgres_sth->fetchrow_arrayref() }

# this socket is our prolific driver to the GPS
pro = '/dev/cu.PL2303-12345678'
gpssocket = File.open(pro, 'r')
deciphered = String.new()
iter = 0
while (input = gpssocket.getc and iter < 100)
iter += 1
deciphered << input
end
puts deciphered.dump
require 'socket'
require 'serialport.so'
# this socket is our prolific driver to the GPS
pro = '/dev/cu.PL2303-12345678'
begin
gpsstream = SerialPort.new(pro, 4800, 8, 1, 0)
deciphered = String.new()
iter = 0
while (input = gpsstream.getc and iter < 100)
iter += 1
deciphered << input
end
end
puts deciphered
[An important tip: use conditioner instead of soap as your solo shower lube; soap isn’t supposed to go inside a vagina and it can really sting if it gets inside a penis.]
Note: Do not exceed one request per second to ws.audioscrobbler.com or any other Last.fm webservice without prior arrangement. If you're attemping anything high-traffic, we'd appreciate a heads-up first, as we don't have infinite resources. Either post in the audioscrobbler forums or contact Russ.
#!/usr/bin/ruby
# More stuff here
require 'net/http'
require 'rexml/document'
include REXML
# Some constants
baseurl = 'http://ws.audioscrobbler.com/1.0/user/'
username = 'avriette'
datafile = '/neighbours.xml'
# Let's make the user class up here.
class LFpeer
def initialize(username, url, avatar, matchpct)
@username = username
@url = url
@avatar = avatar
@matchpct = matchpct
end
end
# Grab the neighbors list from last.fm, turning it into xml
neighbors = [ ]
neighbor_data = Document.new( Net::HTTP.get_response( URI.parse( baseurl + username + datafile ) ).body )
XPath.each( neighbor_data, "//user" ) { |element|
neighbors << LFpeer.new(
XPath.match( element, "//user:username" ),
XPath.match( element, "//url" ),
XPath.match( element, "//image" ),
XPath.match( element, "//match" )
)
}