Skip to content

Instantly share code, notes, and snippets.

@darkuncle
darkuncle / .gitconfig
Created May 25, 2011 22:10 — forked from schwern/.gitconfig
My git aliases
[alias]
st = status
ci = commit -v
cii = commit -v --interactive
cia = commit -v -a
addi = add --interactive
addchanged = add -u
br = branch
co = checkout
diffwords = diff --word-diff
web: gunicorn -w4 -b0.0.0.0:$PORT app:app
@darkuncle
darkuncle / snitchy-overdose.c
Created October 10, 2012 03:40 — forked from jedisct1/snitchy-overdose.c
Running Little Snitch? Have fun.
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <fcntl.h>
#include <inttypes.h>
#include <signal.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
@darkuncle
darkuncle / gist:5768795
Created June 12, 2013 20:24
in which OS X is an unsuitable platform for development.
[sfrancis@southwatch:...src/dev/deployment]$ cap deploy:setup
rbenv: version `ree-1.8.7-2012.02' is not installed
rbenv: version `ree-1.8.7-2012.02' is not installed
[sfrancis@southwatch:...src/dev/deployment]$ which ruby
/Users/sfrancis/.rbenv/shims/ruby
[sfrancis@southwatch:...src/dev/deployment]$ ruby --version
rbenv: version `ree-1.8.7-2012.02' is not installed
rbenv: version `ree-1.8.7-2012.02' is not installed
[sfrancis@southwatch:...src/dev/deployment]$ cat .ruby-gemset
deployment
@darkuncle
darkuncle / gist:6285979
Created August 20, 2013 19:22
in which Apple's own kernel does not recognize Apple's own Thunderbolt Ethernet adapter. nice QA process there, guys. (lines 8-9)
Aug 20 12:18:04 southwatch kernel[0]: IOThunderboltSwitch(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0
Aug 20 12:18:04 southwatch kernel[0]: IOThunderboltSwitch(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 1 unplug = 0
Aug 20 12:18:04 southwatch kernel[0]: IOThunderboltSwitch(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 12 unplug = 0
Aug 20 12:18:04 southwatch kernel[0]: considerRebuildOfPrelinkedKernel prebuild rebuild has expired
Aug 20 12:18:06 southwatch kernel[0]: [ PCI configuration begin ]
Aug 20 12:18:06 southwatch kernel[0]: PCI configuration changed (bridge=26 device=6 cardbus=0)
Aug 20 12:18:06 southwatch kernel[0]: [ PCI configuration end, bridges 14 devices 17 ]
Aug 20 12:18:06 southwatch kernel[0]: AppleBCM5701Ethernet: ffff ffff getAdapterInfo - Vendor is unknown
Aug 20 12:18:06 southwatch kernel[0]: AppleBCM5701Ethernet: 0 0 start - getAdapterInfo failed, giving up
Aug 20 12:18:10
@darkuncle
darkuncle / gist:6372436
Created August 28, 2013 22:56
in which we see that public wifi is almost unusable (but I hear that Google Fiber is rolling out to all (?) Starbucks locations in the US within the next 2 years ...)
starbucks wifi vs. LTE hotspot on my iPad (with only 3 bars, mind you):
SBUX:
--- 8.8.4.4 ping statistics ---
21 packets transmitted, 20 packets received, 4.8% packet loss
round-trip min/avg/max/stddev = 1603.315/1915.881/2311.446/206.047 ms
LTE:
@darkuncle
darkuncle / keybase.md
Created May 23, 2014 20:46
keybase proof

Keybase proof

I hereby claim:

  • I am darkuncle on github.
  • I am darkuncle (https://keybase.io/darkuncle) on keybase.
  • I have a public key whose fingerprint is B650 E003 4C51 B305 AC51 A17F B2C8 55ED 4C91 E8E3

To claim this, I am signing this object:

@darkuncle
darkuncle / gist:a5339c55293c36f254f3664d5cdb4e9c
Created June 24, 2016 19:22
response to CBP proposed social media identity collection
Re: Proposed Changes to CBP Forms I-94, I-94W
https://www.federalregister.gov/articles/2016/06/23/2016-14848/agency-information-collection-activities-arrival-and-departure-record-forms-i-94-and-i-94w-and
Title: Arrival and Departure Record, Nonimmigrant Visa Waiver Arrival/Departure, and Electronic System for Travel Authorization (ESTA).
OMB Number: 1651-0111.
Form Numbers: I-94 and I-94W.
The proposed rule changes are ill-advised and should not be implemented, for several reasons:
3-in-1 Uno AND Skip-Bo AND Uno Freefall.nds
7 Wonders of the Ancient World.nds
ATV Quad Frenzy.nds
ATV Thunder Ridge Riders and Monster Trucks Mayhem.nds
Advance Wars Days of Ruin.nds
Age of Empires The Age of Kings.nds
Alvin And The Chipmunks.nds
Animal Crosing Wild Word(v.1.1).nds
Animal Genius.nds
Animates.nds
0002 - Need For Speed - Underground 2
0003 - Yoshi Touch & Go
0004 - Feel the Magic - XY-XX
0005 - WarioWare Touched!
0006 - Polarium
0008 - Pac-Pix
0012 - Asphalt - Urban GT
0017 - Ridge Racer DS
0019 - Mr. Driller - Drill Spirits
0026 - Pokemon Dash