Skip to content

Instantly share code, notes, and snippets.

  1. Initiate
    • Where should a (potential) incident be reported?
    • How will incidents be tracked?
    • What are the roles and responsibilities during an incident?
  2. Communicate
    • Where will comms happen? Who will be involved?
    • Who will send situation updates? To whom? How often?
  3. Assess
    • Where do we collect information? Who follows up?
  • How do we determine severity?
import time
import requests
class Lanyrd(requests.Session):
def __init__(self, *args, **kwargs):
super(Lanyrd, self).__init__(*args, **kwargs)
self.headers.update({
'X-Lanyrd-Auth': str(time.time()),
'User-Agent': 'Lanyrd-iOS/2.4.0 (iPhone OS 6.1.3; iPhone5,2 N42AP) build/61',
'X-Lanyrd-Protocol': '4',
def imgcat(url):
content = base64.encodestring(urllib.urlopen(url).read())
text = "\033]1337;File=inline=1;size={0};px:{1}\a"
return text.format(str(len(content)), content)
  1. Buy a nut milk bag
  2. Measure your coffee and water: four parts water to 1 part coffee. I usually use 1lb coffee to 1/2 gallon water.
  3. Grind coffee - fine grind, similar to an aeropress.
  4. Put the coffee in the bag, and the bag in a jug, and pour the water over it all (note that the bags don't close all the way, so you need to figure out how to keep the top out of the water. This is hard to explain in text but makes perfect sense once you see the thing.
  5. Steep for 12 hours, then remove the bag and let the water drain out. Press the water out gently but don't overdo it or you'll get something too bitter.
  6. Pour over ice, or dilute about 2:1 when drinking.
import os
import json
import github3
import logging
from django.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt
gh = github3.login(token=os.environ['GITHUB_TOKEN'])
log = logging.getLogger(__name__)
require 'gmail-britta'
ME = %w{jacob@heroku.com jkaplan-moss@salesforce.com jacob@jacobian.org}
puts(GmailBritta.filterset(:me=>ME) do
# sputnik - label, keep in inbox; these are alerts
filter {
has ['from:sputnik']
label 'alert/sputnik'
OpenSSL Security Advisory [19 Mar 2015]
=======================================
OpenSSL 1.0.2 ClientHello sigalgs DoS (CVE-2015-0291)
=====================================================
Severity: High
If a client connects to an OpenSSL 1.0.2 server and renegotiates with an
invalid signature algorithms extension a NULL pointer dereference will occur.
#!/bin/bash
read -p "Enter yubikey: " key
echo
curl "http://api.yubico.com/wsapi/2.0/verify?id=87&timeout=8&sl=50&nonce=askjdnkajsndjkasndkjsnad&timestamp=1&otp=$key"

Keybase proof

I hereby claim:

  • I am jacobian on github.
  • I am jacobian (https://keybase.io/jacobian) on keybase.
  • I have a public key whose fingerprint is A98A 7B92 EEEA AD56 F075 9EA9 6966 6DFE B00E 963E

To claim this, I am signing this object:

  • The Manual of Detection - Jedediah Berry
  • The Half-Made World - Felix Gilman
  • Old Man's War (and sequals, if you like the first) - John Scalzi
  • Swamplandia! - Karen Russell
  • Ghostwritten - David Mitchel (and if you like that, basically everything else he's written besides Jacob de Zoot)
  • Never Let Me Go - Kazuo Ishiguro
  • Wind-up Bird Chronicle - Haruki Murakami
  • The Amazing Adventures of Kavalier & Clay - Michael Chabon
  • The Savage Detectives - Roberto Bolaño
  • A Visit From The Goon Squad - Jennifer Egan