Skip to content

Instantly share code, notes, and snippets.

View nrobinson2000's full-sized avatar

Nate Robinson nrobinson2000

View GitHub Profile
@nrobinson2000
nrobinson2000 / update.md
Last active September 29, 2017 07:56
Particle Offline Utility: A handy script for installing and using the Particle Toolchain on Ubuntu-based Distros and OSX
@nrobinson2000
nrobinson2000 / bitcoinclassic-install.sh
Last active August 23, 2016 21:11
bitcoinclassic-install.sh
#bitcoinclassic-install.sh
#!/bin/bash
echo "Please run this script with sudo."
cd ~
git clone https://github.com/bitcoinclassic/bitcoinclassic.git
git pull
@nrobinson2000
nrobinson2000 / LCD-Bitcoin-Monitor.ino
Last active April 2, 2016 20:03
Display the price of Bitcoin with a Photon.
/*
Bitcoin Monitor:
This sketch shows the current Bitcoin price
on an LCD.
The circuit:
* LCD RS pin to digital pin D0
* LCD EN pin to digital pin D1
* LCD D4 pin to digital pin D2
@nrobinson2000
nrobinson2000 / bitcoin-converter.py
Last active February 22, 2016 12:58
bitcoin-converter.py
#!/usr/bin/env python
import urllib2
def turnFloat(x):
result = ""
for i in range(len(x)):
if str(x[i]).isdigit():
result = result + x[i]
if x[i] == ".":
result = result + x[i]
@nrobinson2000
nrobinson2000 / bitcoin_price.py
Last active December 31, 2015 15:28
bitcoin_price.py
#!/usr/bin/env python
#Bitcoin price Monitor by Nathan Robinson. GPL3 2015
import urllib2
import time
import os
refresh_rate = 5
def isInt(s):