Skip to content

Instantly share code, notes, and snippets.

@johnmales
johnmales / Setup Rasbpian Jesse Lite instance
Created September 13, 2016 12:17
oref0-setup.sh script
After installing Raspbian Jesse Lite I ran the following commands to setup OpenAPS:
```
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install npm
sudo apt-get install python python-dev python-setuptools python-software-properties python-numpy
sudo apt-get -y install python python-setuptools git curl
wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
cd && cd src
git clone https://github.com/bewest/decoding-carelink.git
@johnmales
johnmales / Console Errors.md
Last active September 14, 2016 10:36
oref0-setup.sh Script Installation

Getting some console errors when running openaps pump-loop

Starting pump-loop at Tue 13 Sep 11:43:40 UTC 2016:
Listening: .....................................................................................No comms detected
Old pumphistory: 
Error, retrying
Listening: ..........No comms detected
mmtune: bash: json: command not found
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
@johnmales
johnmales / index.html
Created April 24, 2018 07:55
Display Two Nightscout Instances Side By Side
Place this in the "pretty obvious to everyone but me camp":
The index.html file here will display two side by side views of nightscout sites, for exmaple of two different people.
Replace "NAME1" with the name of the left hand nightscout site
Replace "NAME2" with the name of the right hand nightscout site
Replace "https://1st-nightscout-site.com" with the website for the left hand nightscout site
Replace "https://2nd-nightscout-site.com" with the website for the right hand nightscout site
Point your web browser to where you are hosting the index.html site and you will see a side-by-side view of two nightscout sites.
You should be able to display two aribtrary pages in this manner as well, not tested.