Skip to content

Instantly share code, notes, and snippets.

🌊
ride the wave

Harper Reed harperreed

View GitHub Profile
View 11-21-2016-speedtest.txt
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from XFINITY (69.136.181.44)...
Selecting best server based on latency...
Hosted by Comcast (Chicago, IL) [7.27 km]: 20.367 ms
Testing download speed........................................
Download: 489.38 Mbit/s
Testing upload speed..................................................
Upload: 33.93 Mbit/s
@harperreed
harperreed / If-you-can.md
Created Jan 8, 2016
If You Can - How Millennials Can Get Rich Slowly
View If-you-can.md
View pings.txt
64 bytes from 173.194.46.64: icmp_seq=6878 ttl=55 time=1684.976 ms
64 bytes from 173.194.46.64: icmp_seq=6879 ttl=55 time=716.402 ms
64 bytes from 173.194.46.64: icmp_seq=6880 ttl=55 time=6195.602 ms
64 bytes from 173.194.46.64: icmp_seq=6881 ttl=55 time=5191.274 ms
64 bytes from 173.194.46.64: icmp_seq=6882 ttl=55 time=4186.897 ms
64 bytes from 173.194.46.64: icmp_seq=6884 ttl=55 time=2195.624 ms
64 bytes from 173.194.46.64: icmp_seq=6883 ttl=55 time=3196.190 ms
64 bytes from 173.194.46.64: icmp_seq=6885 ttl=55 time=1203.062 ms
64 bytes from 173.194.46.64: icmp_seq=6886 ttl=55 time=199.262 ms
64 bytes from 173.194.46.64: icmp_seq=6888 ttl=55 time=12288.130 ms
@harperreed
harperreed / electric_objects.py
Last active Nov 12, 2018
Electric objects simple API wrapper
View electric_objects.py
import requests
import urllib
import requests
import json
import random
"""
here is a wrapper for the *unreleased* electric objects API
Built by Harper Reed (harper@nata2.org) - @harper
@harperreed
harperreed / Brewfile
Created May 8, 2015
Harper's New Mac Brewfile
View Brewfile
tap 'caskroom/cask'
tap 'homebrew/bundle'
brew 'brew-cask'
brew 'fortune'
brew 'go'
brew 'mobile-shell'
brew 'nmap'
brew 'node'
brew 'openssl'
brew 'pkg-config'
@harperreed
harperreed / config.json
Created Dec 29, 2014
Slack messages from CRON
View config.json
{
"token":"xxxxxxxxxx",
"subdomain":"subdomain",
"username":"Eventbot",
"text":"<!everyone> here is an important link: <https://modest.com/|modest.com>",
"channel":"#general",
"icon": ":ghost:"
}
@harperreed
harperreed / sub.sh
Created Dec 29, 2014
my ghetto hacked vim^H^H^Hsub command
View sub.sh
#!/bin/sh
#
# This shell script passes all its arguments to the binary inside the
# MacVim.app application bundle. If you make links to this script as view,
# gvim, etc., then it will peek at the name used to call it and set options
# appropriately.
#
# Based on a script by Wout Mertens and suggestions from Laurent Bihanic. This
# version is the fault of Benji Fisher, 16 May 2005 (with modifications by Nico
# Weber and Bjorn Winckler, Aug 13 2007).
View Brewfile
# Install Goodies
#
#
install caskroom/cask/brew-cask
install fortune
install go
install mobile-shell
install nmap
install node
@harperreed
harperreed / OAuthGspread.py
Created Sep 23, 2014
easily use access token and refresh token with gspread
View OAuthGspread.py
import gspread
from oauth2client.client import OAuth2Credentials
import datetime
import requests
class OAuthGspread:
scope = ['https://spreadsheets.google.com/feeds', 'https://docs.google.com/feeds']
def __init__(self, client_id, client_secret, access_token, refresh_token, ):
You can’t perform that action at this time.