Skip to content

Instantly share code, notes, and snippets.

View jacksonj04's full-sized avatar

Nick Jackson jacksonj04

View GitHub Profile
@jacksonj04
jacksonj04 / gist:1845849
Created February 16, 2012 15:51 — forked from jackfranklin/gist:1845635
HTML Limerick cos I'm cool
var limerick = (function() {
return "The code that I write is quite quick
Most people say it's really slick
I jumped into Vim
Made a HTML shim
And now I don't look quite so thick"
})();
@jacksonj04
jacksonj04 / keybase.md
Created April 15, 2014 10:03
keybase.md

Keybase proof

I hereby claim:

  • I am jacksonj04 on github.
  • I am nickjackson (https://keybase.io/nickjackson) on keybase.
  • I have a public key whose fingerprint is 9835 EF76 69C8 A792 B35D AA05 742B D734 2E37 51C4

To claim this, I am signing this object:

@jacksonj04
jacksonj04 / gist:e4096f5126058a283d21
Last active August 29, 2015 14:03
Facebook Gender Choices
Agender
Androgyne
Androgynous
Bigender
Cis
Cisgender
Cis Female
Cis Male
Cis Man
Cis Woman
@jacksonj04
jacksonj04 / keywords.csv
Last active August 29, 2015 14:05
TWFY Location Keywords
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Aberavon MP
Aberconwy MP
Aberdeen MP
Aberdeen North MP
Aberdeen South MP
Aberdeenshire MP
Aberdeenshire W & Kincardine MP
Aberdeenshire West & Kincardine MP
Aberdeenshire West and Kincardine MP
Adur MP
@jacksonj04
jacksonj04 / locations.csv
Created September 10, 2014 09:25
UK Locations
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Aberavon
Aberconwy
Aberdeen
Aberdeen North
Aberdeen South
Aberdeenshire
Aberdeenshire W & Kincardine
Aberdeenshire West & Kincardine
Aberdeenshire West and Kincardine
Adur
@jacksonj04
jacksonj04 / keywords.csv
Created September 10, 2014 09:30
FMS Location Keywords
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Potholes Aberavon
Fly tipping Aberavon
Broken streetlight Aberavon
Dog fouling Aberavon
Fly posting Aberavon
Graffiti Aberavon
Litter Aberavon
Vandalism Aberavon
Pavements Aberavon
Potholes Aberconwy
@jacksonj04
jacksonj04 / locations.csv
Created September 10, 2014 10:14
UK Local Government Electoral Wards
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Abbey
Abbey Green
Abbey Meads
Abbey North
Abbey Road
Abbey South
Abbey Wood
Abbeygate
Abbots Langley
Abbotsford
@jacksonj04
jacksonj04 / keywords.csv
Created September 10, 2014 10:17
Councillor Keywords
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Abbey Councillor
Abbey Green Councillor
Abbey Meads Councillor
Abbey North Councillor
Abbey Road Councillor
Abbey South Councillor
Abbey Wood Councillor
Abbeygate Councillor
Abbots Langley Councillor
Abbotsford Councillor
@jacksonj04
jacksonj04 / mbox2gg.pl
Created October 28, 2014 15:18
mbox to Google Groups
# Import a mbox file to a Google Group using https://developers.google.com/admin-sdk/groups-migration/index
# You'll need to install https://developers.google.com/api-client-library/python/
import mailbox
import time
import httplib2
import sys
import argparse
from apiclient.discovery import build
@jacksonj04
jacksonj04 / generate-reps-list.py
Created January 5, 2016 20:58
Generate Random Representatives List
#! /usr/bin/env python
# generate-reps-list.py
#
# A handy script for spitting out a randomly selected sample of representatives, chosen from multiple lists.
#
# Usage: ./generate-reps-list.py 100 output.csv
#
# Copright 2016 UK Citizens Online Democracy