Skip to content

Instantly share code, notes, and snippets.

Dana Lewis danamlewis

Block or report user

Report or block danamlewis

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
@danamlewis
danamlewis / master patch test fixes.md
Last active Apr 21, 2019
Clearer instructions for 0.6.3 patch fixes
View master patch test fixes.md

1. Run an edited bootstrap

(Assuming you already have flashed jubilinux recently) Copy and paste this bootstrap script instead of the current one in the docs:

#!/bin/bash
(
dmesg -D
echo Scanning for wifi networks:
@danamlewis
danamlewis / spi_error_fixes.md
Last active Apr 17, 2019
Fixing spi errors in early April 2019
View spi_error_fixes.md

There are different fixes for the master (0.6.2) or dev (0.7.0) branches - make sure to use the solution specific for the branch you want to use.

Master installation

If you're getting spi-related errors, e.g.

Waiting up to 4 minutes for new BG: ls: cannot access '/tmp/pump_loop_completed': No such file or directory
grepImportError: No module named spi_serial
Radio check failed. ImportError: No module named spi_serial
@danamlewis
danamlewis / Tips-To-Unzip-Rename-OpenHumansdata.md
Last active Feb 13, 2017
Unzipping json files from OpenHumans, renaming, and porting over to CSV
View Tips-To-Unzip-Rename-OpenHumansdata.md

If you are running on Nightscout-related data and keep the first for loop, it uses jsonV as a simplistic way to grab ONLY BG and time stamp for the entries.csv creation. If you keep that for loop, you must:

  1. Install jsonV (https://github.com/archan937/jsonv.sh)
  2. Install gawk (http://macappstore.org/gawk/)
  3. (For Mac OS X, I think I also had to install coreutils gnu-sed, and brew install homebrew/dupes/gzip)
  4. Update script:
  • figure out how you want to name/rename
  • figure out the format of your json, and what datums you want to put into csv
  1. Make sure to chmod+x filename the file
You can’t perform that action at this time.