Skip to content

Instantly share code, notes, and snippets.

Matt Heath mattheath

Block or report user

Report or block mattheath

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bishboria
bishboria / springer-free-maths-books.md
Last active May 15, 2019
Springer made a bunch of books available for free, these were the direct links
@bradediger
bradediger / carbon.rb
Created Dec 12, 2012
Homebrew formulae for graphite (carbon / whisper)
View carbon.rb
require 'formula'
class Carbon < Formula
homepage 'http://graphite.wikidot.com/'
url 'http://pypi.python.org/packages/source/c/carbon/carbon-0.9.10.tar.gz'
md5 '1d85d91fe220ec69c0db3037359b691a'
depends_on 'python'
depends_on 'twisted' => :python
depends_on 'whisper'
@kjoconnor
kjoconnor / gist:2484425
Created Apr 24, 2012
Install puppet-server on Amazon Linux
View gist:2484425
1. Paste into /etc/yum.repos.d/puppetlabs.repo
[puppetlabs]
name=Puppet Labs - $basearch
baseurl=http://yum.puppetlabs.com/el/6Server/products/$basearch
failovermethod=priority
priority=0
enabled=0
2. rpm --import http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs
@atr000
atr000 / autossh init.d
Created Oct 24, 2010
launches and maintains uniquely named autossh tunnels alive
View autossh init.d
#! /bin/sh
#
# Author: Andreas Olsson <andreas@arrakis.se>
# Version: @(#)autossh_tunnel.foo 0.1 27-Aug-2008 andreas@arrakis.se
#
# For each tunnel; make a uniquely named copy of this template.
## SETTINGS
#
@remy
remy / gist:350433
Created Mar 31, 2010
Storage polyfill
View gist:350433
if (typeof window.localStorage == 'undefined' || typeof window.sessionStorage == 'undefined') (function () {
var Storage = function (type) {
function createCookie(name, value, days) {
var date, expires;
if (days) {
date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
expires = "; expires="+date.toGMTString();
@uhlenbrock
uhlenbrock / deploy.rb
Created Jan 25, 2010
Simple Capistrano recipe for Jekyll
View deploy.rb
set :application, 'foo'
set :repository, '_site'
set :scm, :none
set :deploy_via, :copy
set :copy_compression, :gzip
set :use_sudo, false
set :host, '127.0.0.1'
role :web, host
role :app, host
You can’t perform that action at this time.