Skip to content

Instantly share code, notes, and snippets.

🌊
ride the wave

Harper Reed harperreed

🌊
ride the wave
Block or report user

Report or block harperreed

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@harperreed
harperreed / peter-thiels-cs183-startup-class-01-notes-essay.md
Created Jul 29, 2012
Notes Essays—Peter Thiel’s CS183: Startup—Stanford, Spring 2012
View peter-thiels-cs183-startup-class-01-notes-essay.md

Peter Thiel's CS183: Startup - Class 1 Notes Essay

Here is an essay version of my class notes from Class 1 of CS183: Startup. Errors and omissions are my own. Credit for good stuff is Peter’s entirely.

CS183: Startup—Notes Essay—The Challenge of the Future

Purpose and Preamble

@harperreed
harperreed / s3_mirror_site.sh
Created Jul 10, 2012
Create an static S3 bucket to mirror a site
View s3_mirror_site.sh
#!/bin/bash
#this will mirror a website, upload to s3, and make it publically available.
#install s3cmd. install wget. (i use homebrew).
#configure s3cmd (s3cmd --configure)
# run this by doing: mirror_site.sh www.example.org
wget --mirror -p --html-extension --convert-links -e robots=off -P . $1
s3cmd mb s3://$1
@harperreed
harperreed / If-you-can.md
Created Jan 8, 2016
If You Can - How Millennials Can Get Rich Slowly
View If-you-can.md
@harperreed
harperreed / emfitqs-local-api.md
Created Feb 17, 2018
EMFIT QS Sleep tracker location API
View emfitqs-local-api.md

EMFIT Local API

There is a functional http server running on the device that can be crawled for realtime data. It runs on port 80 and uses plain http.

You will need to know the IP address if your emfit device.

shortdvm.htm

For demoing / testing with a web browser there is an auto-refreshing page that contains only HR and RR values, it’s name is shortdvm.htm

@harperreed
harperreed / how-to-buy-a-domain.md
Last active Feb 1, 2019
how-to-buy-a-domain.md
View how-to-buy-a-domain.md
@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, ):
@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 / DownloadStationAPI.py
Last active Oct 25, 2018
example script to sync/download/etc put.io downloads to your synology download station
View DownloadStationAPI.py
import time
import requests
import json
class DownloadStationAPI():
def __init__(self, host=None, username=None, password=None):
self.name = 'DownloadStation'
@harperreed
harperreed / how-we-might.md
Last active Aug 14, 2018
#MLBerlin - Communication and deaf track
View how-we-might.md

How might we?

Standard and Guidelines


In this cluster we are talking about design principles and guidelines for anything from products to spaces to ads

we have mentioned already airport scenario, a lot of culture is visual and ads make visual space polluted and idea of algorithm device to work out accessible value.

a design system to help people more easily get into the mentality for design for and with deaf people

@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:"
}
You can’t perform that action at this time.