Skip to content

Instantly share code, notes, and snippets.

View pjjw's full-sized avatar

peter woodman pjjw

View GitHub Profile
@pjjw
pjjw / .gitignore
Last active August 6, 2020 13:41
gazelle test failure case
bazel-*
#!/usr/bin/env python3
from __future__ import print_function
import os
import shutil
import sys
import xattr
import humanize
@pjjw
pjjw / bad.sh
Created July 31, 2018 20:22
bash is cool
#!/bin/bash
set -euo pipefail
set -x
if [ ! -z "$(echo foo)"]; then
echo "we should never get here"
exit 1
fi
echo "we should never get here either"
Emergence (in two parts)
Watching and being early-career artists in New York City dance.
Part 1.
Dance’s emerging artists are suspicious. We are suspicious of everything, but mostly of ourselves. We have learned, for example, to have purist, intellectualized taste, yet we are riding subways home at night from shows to watch reruns of Project Runway in bed. We belong to a community of renegades and beauty queens. Some of us attempt to be both. Many of us are social activists, yet our art form’s sequestered enclaves of artistic seriousness are defined, in part, by political impotence. So who the hell are we? And what the hell do we need? And what the hell are we trying to do? And how the hell are we doing it?
Let us begin with the obvious, let us begin with some problems.
Problems
@pjjw
pjjw / README
Created March 22, 2017 22:33
ragel-example
11
### Keybase proof
I hereby claim:
* I am pjjw on github.
* I am pjjw (https://keybase.io/pjjw) on keybase.
* I have a public key whose fingerprint is 98F6 0F9A B354 454A 2C66 6168 E2BE B7BA A835 F758
To claim this, I am signing this object:
@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 / gist:1331210
Created November 1, 2011 17:10
how to get cpan to do what i want
o conf prerequisites_policy follow
o conf build_requires_install_policy yes
o conf commit