Skip to content

Instantly share code, notes, and snippets.

View NorthIsUp's full-sized avatar
🥯

Adam Hitchcock NorthIsUp

🥯
View GitHub Profile
@NorthIsUp
NorthIsUp / tilt-status.15s.py
Last active September 30, 2023 06:12
tilt xbar menu
#!/usr/bin/env python3
# Metadata allows your plugin to show up in the app, and website.
#
# <xbar.title>Tilt Status</xbar.title>
# <xbar.version>v1.0</xbar.version>
# <xbar.author>Adam Hitchcock</xbar.author>
# <xbar.author.github>northisup</xbar.author.github>
# <xbar.desc>Control tilt for your project from the menubar.</xbar.desc>
# <xbar.dependencies>python</xbar.dependencies>
# <xbar.abouturl>https://gist.github.com/NorthIsUp/1fa278c2ef8d5d6b3061acb744b1db7f#file-tilt-status-15s-py</xbar.abouturl>
{
"basics": {
"name" : "Adam Hitchcock",
"label" : "Staff Engineer",
"picture" : "",
"email" : "adam+jobs@northisup.com",
"phone" : "",
"website" : "http://johndoe.com",
"summary" : "I like to solve hard problems, speak at c onferences, and run dance events in my spare time. I would like to put my skills in Python, architecture, and platform development to good use while learning more about machine learning.\nI recently Marie Kondo'd my position at Reddit to seek a job that will give me more joy. I'm looking for a position that has opportunities for creativity, collaboration, and leadership.",
"location": {
@NorthIsUp
NorthIsUp / Yadm.sh
Created November 11, 2018 20:46
Install yarn
curl -fLo /usr/local/bin/yadm https://github.com/TheLocehiliosan/yadm/raw/master/yadm && chmod a+x /usr/local/bin/yadm

Keybase proof

I hereby claim:

  • I am northisup on github.
  • I am northisup (https://keybase.io/northisup) on keybase.
  • I have a public key whose fingerprint is 3392 19E3 2CED BEC9 C96A F9D9 B322 0C8D 1164 8618

To claim this, I am signing this object:

def fetch(self, url):
logging.info('Fetching %s', url)
urlparts = urlparse(url)
conn = httplib.HTTPConnection(urlparts.hostname, urlparts.port, timeout=30)
try:
conn.request('GET', urlparts.path + '?' + urlparts.query)
resp = conn.getresponse()
self.results[url] = resp.read()
@NorthIsUp
NorthIsUp / codeon.sh
Last active December 15, 2015 14:19
subl . should open MyProject.sublime-project if it is in the folder, else just open it as a regular folder
#!/usr/bin/env zsh
# like workon from python virtualenvwrapper
# assumes that you have all your coding projects in ~/src
subl ~/src/*${1}*
#!/usr/bin/env bash
# Create a ssh tunnel to an ip for port or service
function tunnel (){
case "$2" in
"-h" | "--help" | "help")
echo "usage: $0 <service|port> ip"
echo "supported services:"
echo " psql, mysql"
;;
"psql")
print "hi"
print "ho"
@NorthIsUp
NorthIsUp / RealtimeConf2012.md
Created October 29, 2012 17:58 — forked from rauchg/RealtimeConf2012.md
Realtime Conf 2012 Talks
@NorthIsUp
NorthIsUp / fuel.py
Last active October 12, 2015 01:18
Reverse engineering of the nike fuel api to get your fuel
"""
Author: adam@northisup.com
to run you will need to install the following:
pip install requests
pip install simplejson
get the auth token and device id by sniffing the nike app syncing
with api.nike.com with charles