Skip to content

Instantly share code, notes, and snippets.

@n1k0
n1k0 / quickstart.coffee
Created November 13, 2011 12:12
CasperJS documentation examples
phantom.injectJs "casper.js"
getLinks = ->
links = document.querySelectorAll "h3.r a"
Array::map.call links, (e) -> e.getAttribute "href"
links = []
casper = new phantom.Casper()
casper.start "http://google.fr/", (self) ->
@mschmitt
mschmitt / virtualwall_irremote.pde
Created May 24, 2010 08:56
A trivial Arduino sketch to mimic iRobot Virtual Wall for Roomba
/*
A trivial Arduino sketch to mimic iRobot Virtual Wall for Roomba
----------------------------------------------------------------
Based on information found at:
http://sites.google.com/site/irobotcreate2/createanirbeacon
Uses "A Multi-Protocol Infrared Remote Library for the Arduino":
http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html