Skip to content

Instantly share code, notes, and snippets.

View pjjw's full-sized avatar

peter woodman pjjw

View GitHub Profile
@pjjw
pjjw / index.html
Created November 16, 2012 06:25
NVD3 test
<!DOCTYPE html>
<meta charset="utf-8">
<link href="nv.d3.css" rel="stylesheet" type="text/css">
<style>
body {
overflow-y:scroll;
}
@pjjw
pjjw / memcachemon.py
Created November 13, 2011 10:40 — forked from tsuna/memcachemon.py
Memcache collector for tcollector
#!/usr/bin/env python
import socket
import subprocess
import sys
import time
COLLECTION_INTERVAL = 15 # seconds
@pjjw
pjjw / install-hiphop-fresh.sh
Created August 8, 2011 01:30 — forked from kamermans/install-hiphop-fresh.sh
Script for installing and compiling HipHop for PHP on a fresh install of Ubuntu 11.04 x64
#!/bin/bash
# HipHop for PHP scripted installation
# by Steve Kamerman, July 12, 2011
echo -e "\e[00;31m**** Installing Prerequisites\e[00m"
sudo apt-get --yes install autoconf binutils-dev ccache cmake g++ gcc git-core libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libbz2-dev libcap-dev libc-client2007e-dev libcurl4-openssl-dev libgd2-xpm-dev libgoogle-perftools-dev libicu-dev libmcrypt-dev libmemcached-dev libmysqlclient-dev libncurses-dev libonig-dev libpcre3-dev libreadline-dev libtbb-dev libtool libxml2-dev memcached openssl php5-imagick php5-mcrypt wget zlib1g-dev
echo -e "\e[00;31m**** Getting HIPHOP in 5 seconds ****\e[00m"
> This is a Quix Command File
>
> For the syntax of this file, please refer to http://quixapp.com/syntax/
>
> pjjw extra commands
sab javascript:location.href='http://hoss.labs.shortbus.org/sabnzbd/api?mode=addurl&name='+encodeURIComponent(location.href); add url to sab
@hoverbird's extra commands
set myHost to "a host you have ssh access to"
set userName to "your username on said host"
set socksPort to 8080
tell application "iTerm"
activate
set openProxy to false
repeat with curTerm in terminals
repeat with curSesh in curTerm's sessions
if curSesh's name is "FireMiddleFinger" then
@pjjw
pjjw / gist:10082
Created September 10, 2008 21:48 — forked from qrush/gist:9810
Mike,
Hello, I am from approximately two months in the future. On 10/22 at approx 2:34am CET a tachyon
field failure in the main resonating ring of the LHC causes a "temporal blowback". Shortly
thereafter, the resulting destruction of the strong nuclear force causes the world to vaporize in
seconds, while a few of us near the experiment are thrown into a temporal causality loop. While
the predestination event (or as we have come to call it "The Big Rewind") hasn't occurred yet to
you, for us it is about three years in our past. I came across your site looking to see if there
were any other scientists that may have theorized this phenomenon who may be of assistance in
preventing it. This brings me to my point, I have repeatedly checked your site for the past five