it all flows together

scott barber blog

Archive for April, 2007

Capistrano Wiki

Thursday
Apr 26,2007

I’ve thrown caution to the wind and going to spearhead an effort to get some great capistrano docs out there. Just in time to get ready for v2!

So far Jamis and topfunky are on board.

I present to you… Capify Wiki

Wednesday
Apr 25,2007

(I’m pretty sure that these directions will also work for older versions of ubuntu.)

You need to install a program on your Treo 650 that will let it become a USB modem like:
Treo USBModem or PdaNet
If anyone knows of any free / open source software for the palm that will do the same thing let me know!

/etc/chatscripts/USBModem:

TIMEOUT 5
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\rRINGING\r'
'' \rATZ
TIMEOUT 12
OK ATD#777
TIMEOUT 22
CONNECT ""

/etc/ppp/peers/USBDialup:

noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/USBDialup"
defaultroute
usepeerdns
/dev/ttyACM0 115200
local
novj

You may notice that when you turn on the usbmodem software on the Treo and plug it in you may see something like this in dmesg:

[110049.340000] usb 3-1: new full speed USB device using uhci_hcd and address 5
[110049.508000] usb 3-1: configuration #1 chosen from 1 choice
[110049.512000] cdc_acm 3-1:1.0: ttyACM0: USB ACM device

That’s where you find out what tty port the USB modem will be communicating on: /dev/ttyACM0. And that’s the port used in /etc/ppp/peers/USBDialup.

The rest is easy…

pon USBDialup

And you’re gold! You can then tail -f /var/log/messages to ensure it’s connecting alright.

Wednesday
Apr 25,2007
Lessig asks Dem, GOP leaders to make debate video freely available

You want some

Wednesday
Apr 25,2007

Two cool guys that I know have just started a new online store for developer swag: CodeSmack

Check it out!

Monday
Apr 23,2007



Rails flash loop

Friday
Apr 20,2007

Thanks Railscasts!

<% flash.each do |key, msg| %>
<%= content_tag :div, msg, :id => “flash_#{key}” %>
<% end %>

Feisty is out!

Thursday
Apr 19,2007

Ubuntu’s super-awesome new version is out. Help the world and grab the torrent here.

Thursday
Apr 19,2007
so who's making the ubuntu cookies for the release party? http://www.flickr.com/photos/basda/459054167/
heh
that's nothing
https://wiki.ubuntu.com/SugarCookies
IMO that's the best wiki page ever

Spicy Update

Wednesday
Apr 18,2007

I’ve updated my lds.org greasemonkey script to link to both google and yahoo maps. Find it here: Spicy Ward Web File

UPDATE: It’s new home is here: http://userscripts.org/scripts/show/8357

via xkcd.com

Thursday
Apr 12,2007


via xkcd.com

Meta


Blogroll


Twitter


My del.icio.us


RSS My last.fm