View gist:d2c7cd4d6fad94f6538b
<?xml version="1.0" encoding="utf-16"?> | |
<ArrayOfFullNotice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<FullNotice> | |
<Id>bd65102e-ee39-45c1-a941-a30fd3c7709c</Id> | |
<Notice> | |
<Id>bd65102e-ee39-45c1-a941-a30fd3c7709c</Id> | |
<ConfidenceLevel>100</ConfidenceLevel> | |
<ContactDetails> | |
<Email>minorworkssouth@noms.gsi.gov.uk</Email> | |
<Address1>Phoenix House</Address1> |
View gist:1208223
ctmbp:openc chrismtaggart$ curl -I http://scraperwiki.com/api/1.0/datastore/sqlite?format=csv&name=eu_lobbyists_register&query=select+*+from+swdata[1] 7908 | |
[2] 7909 | |
ctmbp:openc chrismtaggart$ HTTP/1.1 301 Moved Permanently | |
Server: nginx/0.7.65 | |
Date: Sat, 10 Sep 2011 11:50:29 GMT | |
Content-Type: text/html | |
Content-Length: 185 | |
Connection: keep-alive | |
Location: https://scraperwiki.com/api/1.0/datastore/sqlite?format=csv?format=csv | |
Strict-Transport-Security: max-age=15768000 |
View debug output from Mechanize
chris$ ruby elect_comm_donations_script.rb | |
I, [2011-04-18T00:28:20.092524 #39728] INFO -- : Net::HTTP::Get: /search/searchintro.aspx | |
D, [2011-04-18T00:28:20.092842 #39728] DEBUG -- : request-header: accept-language => en-us,en;q=0.5 | |
D, [2011-04-18T00:28:20.092882 #39728] DEBUG -- : request-header: accept => */* | |
D, [2011-04-18T00:28:20.092918 #39728] DEBUG -- : request-header: user-agent => Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.1) Gecko/20100122 firefox/3.6.1 | |
D, [2011-04-18T00:28:20.092955 #39728] DEBUG -- : request-header: accept-encoding => gzip,deflate,identity | |
D, [2011-04-18T00:28:20.093071 #39728] DEBUG -- : request-header: host => pefonline.electoralcommission.org.uk | |
D, [2011-04-18T00:28:20.093111 #39728] DEBUG -- : request-header: accept-charset => ISO-8859-1,utf-8;q=0.7,*;q=0.7 | |
I, [2011-04-18T00:28:20.387915 #39728] INFO -- : status: Net::HTTPOK 1.1 200 OK | |
D, [2011-04-18T00:28:20.388005 #39728] DEBUG -- : response-header: x-powered-by => ASP.NET |
View multi_foi.html
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>FoI Multi</title> | |
<style type="text/css" media="screen"> | |
body {font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; color:#333;} | |
.alert { color: #c00;} | |
.success_message, label { font-weight: bold;} | |
.sub_message { background-color: yellow;} |
View gist:422830
# Rewrite in Ruby of OS northings, eastings to lat/long methods in http://www.jstott.me.uk/jscoord/ | |
module OsCoordsNewUtilities | |
OSGB_F0 = 0.9996012717 | |
N0 = -100000.0 | |
E0 = 400000.0 | |
extend self | |
def convert_os_to_wgs84(eastings, northings, height=0) |
View gist:393724
<!DOCTYPE html | |
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"> | |
<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/"> | |
<link rel="schema.eGMS" href="http://www.esd.org.uk/standards/egms/egms.rdfs"> | |
<meta name="eGMS.accessibility" scheme="WCAG" content="Double-A"> |
View gist:392326
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
<head> | |
<base href="http://www.richmond.gov.uk/" ></base> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
View gist:391970
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<base href="http://www.richmond.gov.uk/" ></base> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
View gist:390701
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<title> | |
Wyre Borough Council - Previous Election Results - Jubilee Ward By-Election 2009 | |
</title> | |
<!-- Meta Data Start --> | |
View gist:346834
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head> | |
<title>Election Results | Lichfield District Council</title> | |
<link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/standard.css" media="screen" /> | |
<link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/generic/style.php" media="screen" /> | |
<!--[if lte IE 6]> | |
<link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/generic/ie_special.css" media="screen" /> | |
<link rel="stylesheet" type="text/css" href="http://www.lichfielddc.gov.uk/site/styles/generic/ie_special_print.css" media="print" /> |
NewerOlder