This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- many tomorrows | |
-- norns study 1 | |
-- | |
-- KEY 2 toggle sound on/off | |
-- KEY 3 toggle octave | |
-- ENC 2 randomize amplitude | |
-- ENC 3 change frequency | |
-- | |
-- first turn on AUX reverb! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- many tomorrows | |
-- norns study 1 | |
-- | |
-- KEY 2 toggle sound on/off | |
-- KEY 3 toggle octave | |
-- ENC 2 randomize amplitude | |
-- ENC 3 change frequency | |
-- | |
-- first turn on AUX reverb! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# bash completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# | |
# *) local and remote branch names |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
URL = '<nightscout url>/api/v1/entries.json'.freeze | |
def index | |
response = JSON.parse(HTTParty.get(URL).body) | |
chart_data = response.map {|r| r["glucose"].to_i} | |
payload = { | |
"frames": [ | |
{ | |
"text": response[0]['glucose'].to_s, | |
"icon": 'i20045', # Blue circle logo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Connect to the Edison | |
sudo screen /dev/tty.usbserial-A900UH7Z 115200 | |
# Jump into the jubilinux directory | |
cd /Users/mwilliams/Downloads/jubilinux | |
# Install the appropriate usb libraries | |
brew update && brew tap jlhonora/lsusb && brew install lsusb | |
# Run flashall from the jubilinux directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cabal update | |
cabal install Cabal | |
cabal install cabal-install | |
cabal sandbox init (in your project workspace) | |
cabal install elm | |
cabal install elm-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdfsdfsdfsdfsadfsdfds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn dispatch-generator | |
"Return a fn to handle a completed response." | |
[feed-key feed-url response-callback] | |
(fn [state] | |
(let [code (-> (c/status state) :code) | |
headers (c/headers state) | |
body (-> (c/body state) .toString)] | |
(response-callback feed-key | |
feed-url | |
code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dsafsdfasdfdas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sunday: | |
- Ignite RailsConf | |
Monday: | |
- Hallway track (no training sessions on my ticket...) | |
Tuesday: | |
- DHH Keynote | |
- Michael Feathers Keynote | |
- Building an API with Rails |
NewerOlder