Skip to content

Instantly share code, notes, and snippets.

View philgyford's full-sized avatar

Phil Gyford philgyford

View GitHub Profile
@philgyford
philgyford / config.json
Last active January 3, 2016 21:39
Twitter Bootstrap config for LP site.
{
"vars": {
"@body-bg": "#f3f0e9",
"@text-color": "#333",
"@link-color": "#ff6600",
"@font-family-sans-serif": "'Source Sans Pro', Helvetica, Arial, sans-serif-bg",
"@font-size-base": "17px",
"@line-height-base": "1.470588235",
"@font-size-h1": "27px",
"@font-size-h2": "20px",
@philgyford
philgyford / chart.html
Last active December 18, 2015 11:19
An adaptation of this example <http://bost.ocks.org/mike/chart/> of drawing multiple d3 charts on one page. I've altered it so that each chart can include more than one dataset.
<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<title>d3 - multiple charts with multiple lines</title>
<!--
Based on this example of drawing multiple d3 charts on one page:
http://bost.ocks.org/mike/chart/
With pointers from Lars Kotthof on Stack Overflow:
# (create oauth2 tokens from Google Console)
client_id = ""
client_secret = ""
# (paste the scope of the service you want here)
# e.g.: https://www.googleapis.com/auth/gan
scope = ""
@philgyford
philgyford / gist:1596128
Created January 11, 2012 18:44
homebrew untracked files
phil@phils-mb:/usr/local$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# Library/Aliases/mikmod
# Library/Aliases/sshfs
# Library/Contributions/examples/brew-audit.rb
# Library/Contributions/examples/brew-fetch.rb
# Library/Contributions/examples/brew-options.rb