Skip to content

Instantly share code, notes, and snippets.

View barnaclebarnes's full-sized avatar

Glen Barnes barnaclebarnes

View GitHub Profile
@barnaclebarnes
barnaclebarnes / events.json
Created August 1, 2017 22:30
Example events feed for My Tours app
[
{
"@context": "http://schema.org",
"@type": "Event",
"description": "<p>HTML formatted description</p>",
"location": {
"@type": "place",
"address": "3822 Ridge Avenue, Philadelphia, PA 19132",
"name": "Laurel Hill Cemetery"
},

Keybase proof

I hereby claim:

  • I am barnaclebarnes on github.
  • I am barnaclebarnes (https://keybase.io/barnaclebarnes) on keybase.
  • I have a public key whose fingerprint is 0E2A 2465 D6AD A031 48B0 983A F4AE 1EA4 2B9F 67EE

To claim this, I am signing this object:

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
@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
@barnaclebarnes
barnaclebarnes / RTF version
Created July 30, 2013 11:16
Pandco conversion not taking into account centre text.
{\rtf1\ansi\deff0{\fonttbl{\f0 \fswiss Helvetica;}{\f1 Courier;}}
{\colortbl;\red255\green0\blue0;\red0\green0\blue255;}
\widowctrl\hyphauto
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs36 ABC LIMITED\par}
{\pard \ql \f0 \sa180 \li0 \fi0 company number 11111\par}
{\pard \ql \f0 \sa180 \li0 \fi0 (the {\b "Company"})\par}
{\pard \ql \f0 \sa180 \li0 \fi0 \b \fs32 SHAREHOLDER'S RESOLUTION TO REMOVE A DIRECTOR\par}
{\pard \ql \f0 \sa180 \li0 \fi0 In terms of section 122(2) of the Companies Act 1993 (the {\b "Act"})\par}
{\pard \ql \f0 \sa180 \li0 \fi0 RESOLVED in accordance with section 156 of the Act, that BOB be removed as a director of the Company with effect on and from the date of this resolution.\par}
@barnaclebarnes
barnaclebarnes / gist:5314411
Created April 4, 2013 21:13
RFP Response Instructions

h1. RFP Response Instructions

Responses should be brief. Use links to external documentation where appropriate; single paragraph answers if possible; and bullet lists if applicable. Please provide one complete electronic copy in PDF format via email to somebody@example.com. Realestate.co.nz will work with all vendors to answer any questions and clarify requirements.

We are open to any alternative approaches that may suit our requirements.

@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"
@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" />
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"
<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" />