Twitter from Ruby
Looking good so far, got my Twitter Dev key setup and have made a test post from a Ruby script.
1. Tweeting from Ruby
2......
3. Profit!!!
Doodle's Geek Monkey by Alastair Montgomery
Github
Finally got round to uploading some of my stuff to the GitHub site.
If you want a laugh have a look at my code alastairhm@github ;)
Doodle’s Geek Monkey by Alastair Montgomery
Google Plus
Need to figure out if you can get a RSS feed of the items you've +'ed?

Doodle's Geek Monkey by Alastair Montgomery
WATIR makes a tester's life easier.
For example finding all the links in a table based on their text starting with a string.
stub = "0 Text"
browser.table(:id,"myTable").links(:text,/#{stub}/).each { |link| puts link.text }
This will return all the links in the table "myTable" with text starting with "0 Text"
Doodle's Geek Monkey by Alastair Montgomery
Setting browser size and position with watir-webdriver
From asking the question at StackOverFlow.com you can do this with the following commands;
browser = Watir::Browser.new(:firefox)
browser.execute_script('window.resizeTo(800,600)')
browser.execute_script('window.moveTo(0,0)')
Android Argus
Note: 1 of this post’s 3 links are now broken — mostly dead 2008–2013 feed-syndication infrastructure (FeedBurner, Gawker, AOL’s old blog network, Pheedo, Yahoo Pipes). Left as originally published.
Converting scripts from Watir to Webdriver, Table size
myTable.row_count
myTable.column_countmyTable.rows.lengthmyCols = myTable.strings[0].lengthmyCols = myTable.row.cells.lengthclass Watir::Tabledef row_countreturn self.rows.lengthenddef column_countreturn self.row.cells.lengthendend
The unit tests now run unaltered.
If your table has a uniform number of columns for each row then you could check the whole table by doing something like.
myTable.rows.each { |myRow|myCols = myRow.cells.lengthassert_equal(validColumnCount,myCols,"Column count mismatch")}
Doodle's Geek Monkey by Alastair Montgomery
Kensington Orbit Optical TrackBall
All I need now is a Missile command style game :)
FxCamera App
The iPhone guys at work have been talking about a retro camera app for their phones, so I’ve decided to look at what’s available for the Android platform.
The second one I’ve checked out is Fx Camera
FxCamera enables you to take a picture with various effects,
- ToyCam (number of colour mode and vignetting settings available with randomizer)
- Polandroid (number of colour mode and film type settings available)
- Fisheye
- SymmetriCam
- Warhol
- Normal
Toy Cam Examples



Polandroid Examples


SymmetriCam Example

Doodle’s Geek Monkey by Alastair Montgomery
Retro Camera App Android
The iPhone guys at work have been talking about a retro camera app for their phones, so I’ve decided to look at what’s available for the Android platform.
The first one I’ve checked out is Retro Camera
The free ad supported version gives you five retro camera types to play with, see example shots below. The application is a fairly chunky 6179 kb but can be moved to the SD card. It has a novel interface which replicates the retro camera but this reduces the viewfinder size which can be a problem. 




Doodle’s Geek Monkey by Alastair Montgomery

