Skip to content

Instantly share code, notes, and snippets.

View barnaclebarnes's full-sized avatar

Glen Barnes barnaclebarnes

View GitHub Profile
@barnaclebarnes
barnaclebarnes / map.osm
Created April 30, 2014 06:45
OSM File with import issues
<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6" generator="CGImap 0.3.3 (4443 thorn-02.openstreetmap.org)" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/">
<bounds minlat="25.8767200" minlon="-80.1995500" maxlat="25.8810100" maxlon="-80.1927500"/>
<node id="99019472" visible="true" version="2" changeset="2612131" timestamp="2009-09-25T06:29:37Z" user="woodpeck_fixbot" uid="147510" lat="25.8767750" lon="-80.2025670"/>
<node id="99034130" visible="true" version="3" changeset="7712667" timestamp="2011-03-30T03:08:12Z" user="westendguy" uid="230350" lat="25.8786032" lon="-80.1981430"/>
<node id="99034128" visible="true" version="2" changeset="3566921" timestamp="2010-01-07T23:53:15Z" user="woodpeck_fixbot" uid="147510" lat="25.8770090" lon="-80.1965490"/>
<node id="99064698" visible="true" version="2" changeset="3566921" timestamp="2010-01-07T23:58:21Z" user="woodpeck_fixbot" uid="147510" lat="25
Hi,
As you may recall you recently lodged a complaint with the Department regarding an unsolicited email sent
from Ticketmaster.
The Department has investigated your complaint and has been in discussion with Ticketmaster regarding how the
messages were sent. As a result of the investigation the Department found that the message had been sent in
error by Ticketmaster’s Marketing Coordinator. As a consequence of their actions this person has now been
issued with an internal warning by Ticketmaster and is undergoing training to ensure unsolicited messages
are not sent again. Further to this, a more experienced coordinator is being hired and strict controls and
$ sudo ifup lo
Using intrapositioned negation (`--option ! this`) is deprecated in favor of extrapositioned (`! --option this`).
iptables-restore v1.4.4: invalid port/service `-j' specified
Error occurred at line: 27
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
Failed to bring up lo.
<?xml version="1.0"?>
<osmChange generator="linz2osm" version="0.6">
<create generator="linz2osm" version="0.6">
<node id="-3" lat="-43.8194645349" lon="-176.479691749"/>
<node id="-4" lat="-43.8193468258" lon="-176.479587868"/>
<node id="-5" lat="-43.8193457922" lon="-176.479586946"/>
<node id="-6" lat="-43.8193447647" lon="-176.479586012"/>
<node id="-7" lat="-43.8193437432" lon="-176.479585064"/>
<node id="-8" lat="-43.8191743432" lon="-176.479426393"/>
<node id="-9" lat="-43.8191738024" lon="-176.479425884"/>
<?xml version="1.0"?>
<osmChange generator="linz2osm" version="0.6">
<create generator="linz2osm" version="0.6">
<node id="-3" lat="-43.8159755909" lon="-176.473930798"/>
<node id="-4" lat="-43.8157966896" lon="-176.473141293"/>
<node id="-5" lat="-43.8152545492" lon="-176.473347834"/>
<node id="-6" lat="-43.8153022873" lon="-176.473709742"/>
<node id="-7" lat="-43.8152129624" lon="-176.473940237"/>
<node id="-8" lat="-43.8150401919" lon="-176.474006327"/>
<node id="-9" lat="-43.8142596085" lon="-176.47361268"/>
@barnaclebarnes
barnaclebarnes / Sample TourML file.xml
Created April 10, 2010 07:43
Sample TourML file created from My Tours tour.
<?xml version="1.0" encoding="UTF-8"?>
<tour xsi:schemaLocation="http://www.imamuseum.org/TourML/1.0 TourML.xsd " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.imamuseum.org/TourML/1.0">
<Title>Buildings of the Acropolis</Title>
<Description>Take the tour of the 21 buildings of the Acropolis in Athens.</Description>
<Param value="images/800px-Acropolis3.JPG_thumb_small.jpeg" key="app-icon"/>
<Param value="images/800px-Acropolis3.JPG_cover_image.jpeg" key="splash-image"/>
<!-- Maps can either bet 'slippy' (google) or images (custom) -->
<Param value="custom" key="map-type"/>
<Param value="800px-AcropolisatathensSitePlan.png" key="map-image"/>
<Param value="3:30" key="length"/>
<osmChange generator="linz2osm" version="0.6">
<create generator="linz2osm" version="0.6">
<node id="-1" lat="-43.7842178005" lon="-176.798553766">
<tag k="LINZ:source_version" v="V16" />
<tag k="attribution" v="http://wiki.osm.org/wiki/Attribution#LINZ" />
<tag k="barrier" v="cattle_grid" />
<tag k="source_ref" v="http://www.linz.govt.nz/topography/topo-maps/" />
</node>
<node id="-2" lat="-43.8162038903" lon="-176.707689322">
<tag k="LINZ:source_version" v="V16" />
opening connection to nz.ckan.net...
opened
<- "GET /api/2/rest/package/international-position HTTP/1.1\r\nConnection: close\r\nAuthorization: some_secret_key\r\nHost: nz.ckan.net\r\n\r\n"
-> "HTTP/1.1 404 Not Found\r\n"
-> "Date: Fri, 23 Jul 2010 10:00:17 GMT\r\n"
-> "Server: Apache/2.2.9 (Debian) mod_wsgi/2.5 Python/2.5.2\r\n"
-> "Pragma: no-cache\r\n"
-> "Vary: Accept-Encoding\r\n"
-> "Content-Type: text/html; charset=utf-8\r\n"
-> "Cache-Control: no-cache, proxy-revalidate\r\n"
@barnaclebarnes
barnaclebarnes / TourML.xml
Created October 21, 2010 18:50
TourML Asset Format
//Current
<tourml:Asset tourml:id="icon-1" xsi:type="tourml:ImageAssetType" tourml:width="32" tourml:height="32">
<tourml:Source tourml:uri="./images/icon1.jpg" tourml:format="image/jpg" />
</tourml:Asset>
//New
<tourml:Asset tourml:id="icon-1" xsi:type="tourml:ImageAssetType">
<tourml:Source tourml:uri="./images/icon1.jpg" tourml:format="image/jpg" tourml:width="512" tourml:height="512" tourml:type="original" />
<tourml:Source tourml:uri="./images/icon1.jpg" tourml:format="image/jpg" tourml:width="32" tourml:height="32" tourml:type="thumbnail" />
<tourml:Source tourml:uri="./images/icon1.jpg" tourml:format="image/jpg" tourml:width="64" tourml:height="64" tourml:type="display" />
@barnaclebarnes
barnaclebarnes / gist:3829859
Created October 3, 2012 21:09
Capistrano deploy for WordPress
require 'railsless-deploy'
set :application, "[app name]"
set :use_sudo, false
#info for GIT
set :repository, "[git repo]"
set :scm, :git
set :branch, "master"