Skip to content

Instantly share code, notes, and snippets.

View dlowe's full-sized avatar

J. David Lowe dlowe

  • freelance programmer
  • Portland, OR
View GitHub Profile
17:57:00.959548 IP (tos 0x8, ttl 48, id 29057, offset 0, flags [DF], proto TCP (6), length 5844)
github.com.ssh > ip-10-148-164-161.ec2.internal.43171: Flags [.], cksum 0x423f (incorrect -> 0x7d3a), seq 3090175:3095967, ack 5768, win 27, options [nop,nop,TS val 4131789097 ecr 1407818], length 5792
17:57:00.959562 IP (tos 0x0, ttl 64, id 46011, offset 0, flags [DF], proto TCP (6), length 52)
ip-10-148-164-161.ec2.internal.43171 > github.com.ssh: Flags [.], cksum 0x2b9f (incorrect -> 0xb46e), ack 3095967, win 1584, options [nop,nop,TS val 1407819 ecr 4131789097], length 0
17:57:41.433879 IP (tos 0x8, ttl 48, id 29061, offset 0, flags [DF], proto TCP (6), length 1500)
github.com.ssh > ip-10-148-164-161.ec2.internal.43171: Flags [.], cksum 0x8df7 (correct), seq 3090175:3091623, ack 5768, win 27, options [nop,nop,TS val 4131799216 ecr 1407818], length 1448
17:57:41.433926 IP (tos 0x0, ttl 64, id 46012, offset 0, flags [DF], proto TCP (6), leng
@dlowe
dlowe / repro.sh
Created December 3, 2012 19:45
repro script for "did not find object for shallow ..." bug
#!/bin/bash
TOPDIR=`mktemp -d -t git-repro`
ORIGIN=$TOPDIR/origin
rm -rf $ORIGIN
git init --bare $ORIGIN
## 'good' repo will commit properly
GOOD=$TOPDIR/good
rm -rf $GOOD
@dlowe
dlowe / rhl.py
Created August 19, 2012 22:58
rogue hack lab logo animation
import time
import golly as g
g.new('rhl')
pattern = """
...X...........................................................
..XX.....XXX.XXX.XXX.X.X.XXX....X.X.XXX.XXX.X.X....X...XXX.XXX.
.XX.X....X.X.X.X.X...X.X.X......X.X.X.X.X...X.X....X...X.X.X.X.
.XXX.....XX..X.X.X.X.X.X.XX.....XXX.XXX.X...XX.....X...XXX.XX..