Skip to content

Instantly share code, notes, and snippets.

View kitchen's full-sized avatar
🚴‍♂️
traveling the world

Jeremy Kitchen kitchen

🚴‍♂️
traveling the world
View GitHub Profile
@kitchen
kitchen / README.md
Created November 25, 2017 01:24
Galileo Offline Maps export icon issue
@kitchen
kitchen / foo.pp
Created January 17, 2015 02:24
create_resources example
define foo (
$bar,
$baz,
) {
# something
}
$hash_of_things = {
aoeu => {
bar => 123,
Verifying that +kitchen is my openname (Bitcoin username). https://onename.io/kitchen
@kitchen
kitchen / gist:88459f999af938ab4529
Created July 1, 2014 20:00
one liner to find all of your key's signers on keybase
KEY=6300cc3d
gpg --list-sigs $KEY | grep sig | perl -pe 's/^sig.*?([0-9A-F]{8}).*/$1/' | sort -u | xargs -n 1 keybase search

Keybase proof

I hereby claim:

  • I am kitchen on github.
  • I am kitchen (https://keybase.io/kitchen) on keybase.
  • I have a public key whose fingerprint is E025 49FD 897E 0385 0505 2462 BEB4 4149 6300 CC3D

To claim this, I am signing this object:

@kitchen
kitchen / gist:bd5640950750fc27aeb7
Created June 1, 2014 05:14
no.such.agency's first traffic
216.14.30.62 - - [30/Apr/2014:17:23:30 +0000] "GET / HTTP/1.1" 301 551 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36"
199.59.148.211 - - [30/Apr/2014:17:25:17 +0000] "GET /robots.txt HTTP/1.1" 301 495 "-" "Twitterbot/1.0"
199.59.148.211 - - [30/Apr/2014:17:25:17 +0000] "GET / HTTP/1.1" 301 495 "-" "Twitterbot/1.0"
199.59.148.211 - - [30/Apr/2014:17:25:17 +0000] "GET /robots.txt HTTP/1.1" 301 495 "-" "Twitterbot/1.0"
199.59.148.211 - - [30/Apr/2014:17:25:17 +0000] "GET / HTTP/1.1" 301 495 "-" "Twitterbot/1.0"
54.250.7.39 - - [30/Apr/2014:17:25:17 +0000] "GET / HTTP/1.1" 301 551 "-" "Crowsnest/0.5 (+http://www.crowsnest.tv/)"
98.137.207.31 - - [30/Apr/2014:17:25:17 +0000] "GET /robots.txt HTTP/1.1" 301 530 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)"
50.18.102.132 - - [30/Apr/2014:17:25:17 +0000] "HEAD / HTTP/1.1" 301 284 "-" "Google-HTTP-Java-Client/1.17.0-rc (gzip)"
50.18.102.132 - - [3
@kitchen
kitchen / description.txt
Last active December 23, 2015 00:49 — forked from vjt/description.txt
Originally posted on http://pastie.org/pastes/26489 (8 December 2006)
COPY FROM STDIN / LOAD DATA INFILE method for Rails PostgreSQL and MySQL Adapters.
The mysql adapter is completely untested. It is self-explanatory, isn't it? :)
Public domain, or DWTFWYW License, at your option.
[email protected]

Player

The player is a Toshiba HD-A2. It has a 720p/1080i maximum output. If it had 1080p I wouldn't be getting rid of it!

Last time I used it, which was probably a year ago, it worked just fine. It's really slow to start up and really slow to read discs after you put them in the drive, but once it's up and running (probably 3-4 minutes from pressing eject to content playing) it works great.

I bought this thing back in 2007 during the height of the Blu Ray / HDDVD format war. I was a fan of the HDDVD side, so I put in my dollar vote. Sadly, my team lost, but it was fun while it lasted!

As to why I would have bought a 720p only player? I bought a 720p tv, so it didn't matter, and I was hoping HDDVD would win the format war, so I wouldn't have any issues buying a much better 1080p player later. Also, at the time, 1080p HDDVD players were silly expensive, so even more reason not to drop too much cash on something I can't take full advantage of yet.

auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
@kitchen
kitchen / flac-to-alac.sh
Created July 28, 2013 08:29
flac to alac conversion using avconv
#!/bin/bash
downloaddir=$1
if [[ -z "$downloaddir" ]]; then
echo "fatal, no arguments given"
exit 99
fi
find "$downloaddir" -iname '*.flac' | while read flac; do
echo "found $flac"