Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
#
# provision-post.sh
#
# Does stuff
#
xdebug_on
@philipjohn
philipjohn / ascii-for-the-people
Last active August 29, 2015 14:02
ASCII For The People
/* Copyright 2014 Code for the People Ltd
_____________
/ ____ \
_____/ \ \ \
/\ \ \___\ \
/ \ \ \
/ / / _______\
/ / / \ /
/ / / \ /
@philipjohn
philipjohn / post.md
Created May 25, 2014 18:34
Blog post about candidates collab thing wotsit

Collaborating on European Election data in GitHub

On Friday my friend and cracking coder Stuart Harrison, of the Open Data Institute, launched a collaborative project to collate European Parliament 2014 election results for the UK regions using GitHub. As I type I'm waiting for the start of results night so I can help with that project.

Inspired, I spent some of today building something similar to build a list of candidates for the UK General Election in 2015. Through a recent work project I've realised there isn't really a good data source for candidates, and the method Stuart devised for the European election results seemed like a great fit.

Contribute!

You can help build this with me, and all you really need to know is how to create and edit CSV files. I've split the following instructions into developer and non-developer guides to give each a more easy-to-follow set.

@philipjohn
philipjohn / facetious-bug-test.php
Created May 19, 2014 12:13
For testing duplication suspect bug in Facetious
<?php
/*
* Plugin Name: Facetious Bug Test
* Description: Just testing
* Author: Code For The People
*/
function fbt_taxos() {
register_extended_taxonomy( 'doc-type', 'attachment' );
@philipjohn
philipjohn / the-uk-should-leave-the-eu
Created May 10, 2014 21:02
An example of using markdown to question/answer generation in a "Who Should I Vote For?" system
---
question: The UK should leave the EU
category: European Union
---
# Answers
## Strongly Agree
UKIP