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()
#!/usr/bin/env ruby
# gem 'pivotal-tracker'
require 'pivotal-tracker'
TRACKER_TOKEN = "..."
TRACKER_PROJECT_ID = "..."
PivotalTracker::Client.token = TRACKER_TOKEN
PivotalTracker::Client.use_ssl = true
@Jaym3s
Jaym3s / keybase.md
Created May 26, 2015 20:14
keybase.md

Keybase proof

I hereby claim:

  • I am jaym3s on github.
  • I am jaym3s (https://keybase.io/jaym3s) on keybase.
  • I have a public key whose fingerprint is DEF2 69A6 443B 38A2 5B4B 1B32 E6BA 7174 83BB DF30

To claim this, I am signing this object:

# 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
@Jaym3s
Jaym3s / Gemfile
Created November 9, 2012 19:43
testing-security-with-brakeman
group :development do
gem 'guard-brakeman'
end
@Jaym3s
Jaym3s / setup.sh
Created February 27, 2012 19:08
hackday setup instructions
# Setup dotmatrix
cd ~
git clone https://github.com/bendyworks/dotmatrix &&
ln -s ~/dotmatrix/.ackrc .ackrc &&
ln -s ~/dotmatrix/.bash_aliases .bash_aliases &&
ln -s ~/dotmatrix/.bash_profile .bash_profile &&
ln -s ~/dotmatrix/.bashrc .bashrc &&
ln -s ~/dotmatrix/bin bin &&
ln -s ~/dotmatrix/.ctags .ctags &&
ln -s ~/dotmatrix/.cvsignore .cvsignore &&
@Jaym3s
Jaym3s / gist:1879478
Created February 21, 2012 22:30
BendyGlow css
.alert {
border: 2px solid #33B5E5;
box-shadow: 0 0 3px 3px #33B5E5, inset 0 0 20px 8px #22739B;
border-radius: 26px;
}
@Jaym3s
Jaym3s / .bash_profile.sh
Created February 21, 2012 19:57
my bash_profile with git status parsing
export ENV=$HOME/.bashrc
if [ -f "$ENV" ]; then
. "$ENV"
fi
# adds colors!
export CLICOLOR=1
# export LSCOLORS=EHfxCxDxbxegedabagacad # don't need in iterm2