Skip to content

Instantly share code, notes, and snippets.

@Jaym3s
Jaym3s / punk.py
Created July 8, 2016 16:22 — forked from briandeheus/punk.py
Don't be a punk, punk
import binascii
import struct
class Punk(object):
_END_CHUNK_TYPE = 'IEND'
_PUNK_CHUNK_TYPE = 'puNK'
_MAX_BYTES = 2147483647
_chunks = dict()
# RSpec matcher to spec delegations.
# Forked from https://gist.github.com/joeytheman/0fe021821e4c62f552ce
#
# Usage:
#
# describe Post do
# it { should delegate(:name).to(:author).with_prefix } # post.author_name
# it { should delegate(:name).to(:author).with_prefix(:any) } # post.any_name
# it { should delegate(:month).to(:created_at) }
# it { should delegate(:year).to(:created_at) }
Letter Word
A Azathoth
B B’gnu-Thun
C Cthulhu
D D’endrrah
E Ei'lor
F Fhtagn
G Gi-Hoveg
H Hastur
@Jaym3s
Jaym3s / pair.md
Last active December 18, 2015 01:48 — forked from wm/pair.md

SSH setup for remote pairing

If Animal and Fozzie wanted to pair on Animals machine and they both have access to shared.muppets.com then they could use the following setup

  • Animal will have the following in ~/.ssh/config
Host tunnel_from_muppets
  Hostname space.muppets.com
  RemoteForward 1235 localhost:22