Skip to content

Instantly share code, notes, and snippets.

View wturrell's full-sized avatar

William Turrell wturrell

View GitHub Profile
@wturrell
wturrell / ampp3d-sample-chart.js
Created June 7, 2014 16:16
Ampp3d DimpleJS custom scatterplot example
ampp3d.chartConfigs.chart_scottish_referendum_1 = {
margins: {
top: 10,
right: 10,
left: 30,
bottom: 80
},
api_version: 1,
type: 'scatter-plot', // 'scatter-plot', 'line' or 'column'
data: '/wp-content/uploads/2014/06/scotland-full-data.csv',
@wturrell
wturrell / ampp3d-fetchdb.sh
Last active August 29, 2015 14:01
Ampp3d Wordpress sync script - production to dev
#########################################################
# Remote MySQL Backup and Download
# Author: Brian Strickland
#
# 1) Log into a remote server
# 2) Run a MySQL dump on a database
# 3) Copies the dump to the local machine.
#
# You can use this for any database/server, just change
# the top parameters.