I hereby claim:
- I am beaugunderson on github.
- I am beaugunderson (https://keybase.io/beaugunderson) on keybase.
- I have a public key whose fingerprint is 329A E8D9 A1E2 F15E 76CB 3ED5 EEA4 FBC3 EBAC 4045
To claim this, I am signing this object:
#!/bin/bash | |
TOKEN="" | |
API_URL="https://api.instagram.com/v1" | |
PHOTO_ID="358863216058600582_3832082" | |
function get_liked() { | |
http GET "$API_URL/media/$PHOTO_ID?access_token=$TOKEN" | jsonpipe | grep user_has_liked | |
} |
#!/bin/sh | |
# Uses httpie: https://github.com/jkbr/httpie | |
BASE_URL="https://api.singly.com/" | |
CLIENT_ID="" | |
CLIENT_SECRET="" | |
USERNAME="" |
#!/bin/bash | |
echo "Gathering 60s of data for process ID $1" | |
dtrace -n "profile-997/pid == $1 && arg1/{ | |
@[jstack(50, 2048)] = count(); } tick-30s { exit(0); }" > $1.out | |
echo "Filtering..." | |
c++filt < $1.out > $1-demangled.out |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE rollcall-vote PUBLIC "-//US Congress//DTDs/vote v1.0 20031119 //EN" "http://clerk.house.gov/evs/vote.dtd"> | |
<?xml-stylesheet type="text/xsl" href="http://clerk.house.gov/evs/vote.xsl"?> | |
<rollcall-vote> | |
<vote-metadata> | |
<majority>R</majority> | |
<congress>113</congress> | |
<session>1st</session> | |
<committee>U.S. House of Representatives</committee> |
var exifParser = require('exif-parser'); | |
var $ = require('jquery-browserify'); | |
var doc = document.documentElement; | |
doc.ondragover = function () { | |
return false; | |
}; | |
doc.ondragend = function () { |
turtle(function (t) { | |
ctx.lineWidth = 3; | |
var fns = []; | |
[0, 35, 70, 105].forEach(function (a) { | |
[0, -90, 180, 90, 180].forEach(function (off) { | |
fns.push(function (t) { | |
// Originally I just wanted to avoid dense black lines interfering with my ability | |
// to read the text as I was typing but then figured why not play with opacity |
#!/usr/bin/env python2.7 | |
import json | |
import sys | |
try: | |
log = json.loads(sys.stdin.read()) | |
except: | |
print "Couldn't parse." |
import os | |
from contextlib import contextmanager | |
from fabric.api import env, hide, local | |
@contextmanager | |
def mysql_password(database): | |
contents = """ | |
[client] |
[ | |
{ | |
"keys": ["ctrl+2"], | |
"command": "run_macro_file", | |
"args": { | |
"file": "Packages/User/to-2.sublime-macro" | |
} | |
}, | |
{ | |
"keys": ["ctrl+4"], |
I hereby claim:
To claim this, I am signing this object: