I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open form and submit enquire for `rego` | |
function getInfo(rego) { | |
horseman | |
.userAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0') | |
.open(url) | |
.type('#registration-number-ctrl input[type=text]', rego) | |
.click('.btn-holder input') | |
.waitForSelector('.ctrl-holder.ctrl-readonly') | |
.html() | |
.then(function(body) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.leaflet-marker-pane .leaflet-clickable { | |
position: absolute; | |
top: -55px; /* depends on icon graphic */ | |
left: -17px; /* depends on icon graphic */ | |
} | |
.leaflet-marker-pane .leaflet-clickable .number { | |
position: absolute; | |
top: 10px; /* depends on icon graphic */ | |
width: 34px; /* depends on icon graphic */ | |
text-align: center; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## widget | |
import httplib2 | |
from urllib import urlencode | |
import colander | |
from colander import null | |
from colander import Invalid | |
from deform.widget import CheckedInputWidget |