I hereby claim:
- I am sherzberg on github.
- I am sherzberg (https://keybase.io/sherzberg) on keybase.
- I have a public key ASDTVZF1HPNSbsjorOf6ZktGhF4j8cd5YJsq3mPnKku1Dgo
To claim this, I am signing this object:
| #!/bin/bash -e | |
| if grep -qF "Raspberry Pi 3" /proc/device-tree/model; then | |
| export DEVICE_TYPE="pi3" | |
| elif grep -qF "Raspberry Pi 2" /proc/device-tree/model; then | |
| export DEVICE_TYPE="pi2" | |
| else | |
| export DEVICE_TYPE="pi1" | |
| fi |
| austin.logs.roku.com | |
| cooper.logs.roku.com | |
| giga.logs.roku.com | |
| griffin.logs.roku.com | |
| liberty.logs.roku.com | |
| littlefield.logs.roku.com | |
| logs.roku.com | |
| paolo.logs.roku.com | |
| scribe.logs.roku.com | |
| sugarland.logs.roku.com |
| resource "digitalocean_ssh_key" "default" { | |
| name = "devbox" | |
| public_key = "${file("id_rsa.pub")}" | |
| } | |
| resource "digitalocean_droplet" "devbox" { | |
| image = "ubuntu-16-04-x64" | |
| name = "dev-spencer" | |
| region = "nyc3" | |
| size = "4gb" |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | |
| sudo apt-get update -q | |
| sudo apt-get install -y git vim-nox curl htop nmap | |
| sudo apt-get install -y i3 i3lock i3status | |
| sudo apt-get install -y google-chrome-stable | |
| sudo apt-get install -y python-pip | |
| sudo apt-get install -y python-software-properties software-properties-common | |
| sudo apt-get install vagrant |
| // ==UserScript== | |
| // @name Github Fixed Header | |
| // @namespace http://github.com/sherzberg | |
| // @version 0.2 | |
| // @description This script forces the Github header to be fixed. Very useful for long thread or long file viewing. | |
| // @author Spencer Herzberg | |
| // @match https://github.com/* | |
| // @grant none | |
| // ==/UserScript== |
| function parseRSS(url, callback) { | |
| var fullpath = document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=10&callback=?&q=' + encodeURIComponent(url); | |
| console.log(fullpath); | |
| jQuery.ajax({ | |
| url: fullpath, | |
| dataType: 'jsonp', | |
| success: function (data) { | |
| console.log(data); | |
| callback(data.responseData.feed); | |
| } |
| import os | |
| import pytest | |
| from alembic.command import upgrade | |
| from alembic.config import Config | |
| from project.factory import create_app | |
| from project.database import db as _db |
| Some notes on WRTNode setup for USB sticks and python development | |
| https://forum.openwrt.org/viewtopic.php?id=10244 | |
| http://h-wrt.com/en/doc/flash | |
| http://flexget.com/wiki/InstallWizard/OpenWrt | |
| http://www.cnx-software.com/2014/09/18/wrtnode-quick-start-guide/ |
I hereby claim:
To claim this, I am signing this object:
| from UserDict import IterableUserDict | |
| import collections | |
| def tupperware(mapping): | |
| """ Convert mappings to 'tupperwares' recursively. | |
| Lets you use dicts like they're JavaScript Object Literals (~=JSON)... | |
| It recursively turns mappings (dictionaries) into namedtuples. | |
| Thus, you can cheaply create an object whose attributes are accessible |