Skip to content

Instantly share code, notes, and snippets.

View guypursey's full-sized avatar
🏠
Working from home

Guy Pursey guypursey

🏠
Working from home
View GitHub Profile
@guypursey
guypursey / README.md
Last active June 26, 2017 18:35
UK General Election 2017 Financial Times data scrape
@guypursey
guypursey / .block
Last active June 26, 2017 18:36
UK General Election 2017 Transfer of Seats Sankey Chart (D3 v4)
license: mit
height: 1000
@guypursey
guypursey / .block
Last active June 9, 2017 07:11
Western philosophy timeline
license: mit
@guypursey
guypursey / .block
Last active August 23, 2016 12:43
UK EU referendum result hierarchical arcs (width by turnout)
license: mit
@guypursey
guypursey / .block
Last active August 23, 2016 12:42
UK EU referendum result hierarchical arcs (width by electorate)
license: mit
@guypursey
guypursey / .block
Last active August 19, 2016 12:51
Journal entry visualisation
license: mit
@guypursey
guypursey / .block
Last active August 19, 2016 12:48
UK's EU Referendum results by region and local area
license: mit
@guypursey
guypursey / .block
Last active November 6, 2016 12:13
UK EU Referendum Remain votes by region and local area
license: mit
@guypursey
guypursey / .block
Last active June 8, 2017 07:59
Playpool chart (sample data)
license: mit
@guypursey
guypursey / post.sh
Created June 13, 2016 17:48
A script for aiding workflow in a Jekyll blog.
# Run from within root folder.
# Check whether the file exists or not.
if [ -e $1 ]
then
re="([0-9]{12})\-(.*)\.md"
if [[ $1 =~ $re ]]; then
# Create date and time stamps and capture post filename.
datestamp=${BASH_REMATCH[1]:0:4}-${BASH_REMATCH[1]:4:2}-${BASH_REMATCH[1]:6:2}