Skip to content

Instantly share code, notes, and snippets.

View jerryhall's full-sized avatar

Jerry Hall jerryhall

View GitHub Profile
@jerryhall
jerryhall / gist:6e27c110baff7186418e1ded25ce812b
Last active February 9, 2017 00:19
ca_la_all_test.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jerryhall
jerryhall / data.php
Created January 2, 2017 07:30 — forked from jjb3rd/data.php
An updated server-side processing script for DataTables
<?php
/*
* Script: DataTables server-side script for PHP and MySQL
* Copyright: 2012 - John Becker, Beckersoft, Inc.
* Copyright: 2010 - Allan Jardine
* License: GPL v2 or BSD (3-point)
*/
class TableData {
@jerryhall
jerryhall / gist:18173e7b049ca6287e97cefb5d327c3c
Created December 29, 2016 07:27 — forked from caged/gist:1173725
d3.js experiment - Donuts, Bars and Crime.
#
# CoffeeScript for http://dealloc.me/demos/crime/2011.html
# Copyright (c) 2011 Justin Palmer <http://github.com/Caged>
# LICENSE: http://www.opensource.org/licenses/mit-license.php
$ ->
hash = document.location.hash
year = if hash then hash.replace('#', '') else 2011
[pt,pl,pb,pr] = [35, 20, 20, 20]
w = (900 - (pl + pr)) / 2
h = w