Skip to content

Instantly share code, notes, and snippets.

View ryoshu's full-sized avatar

Ricky Bacon ryoshu

View GitHub Profile
@ryoshu
ryoshu / gist:eb9f72767677592260c7
Last active August 29, 2015 14:08
La Aviación
2 oz. Blanco Tequila (Espolon and Avion work very well)
.75 oz fresh lime juice
.25 oz Luxardo maraschino liqueur
Bar spoon of Crème de Violette
Maraschino cherry (Luxardo, not the bright red crap)
Chill martini glass.
Mix the first three ingredients in a shaker, shake well.
Empty martini glass and add cherry.
Strain cocktail into martini glass.
root@quark016df6:~/projects/galileo-test/node_modules/galileo-io# grunt -d -v nodeunit
Initializing
Command-line options: --debug=1, --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK
@ryoshu
ryoshu / gist:b3a59142c46e5081704f
Created October 2, 2014 15:41
Galileo PWM problem steps to reproduce
Downloaded and extracted latest IOTDK - software.intel.com/iot
Imaged a new SD card using Win32 Disk Imager
Unboxed new Galileo Gen 2
Boot up Galileo w/ no SD card
Connect using serial port (iterm)
Log in, everything looks fine
Shutdown
Insert IOTDK SD card
Boot
Hit F7
@ryoshu
ryoshu / gist:3438867682ac41c50dde
Last active August 29, 2015 14:02
How to communicate Galileo <-> Arduino over Serial
- Set your system date if you haven't: date -s "2014-05-15 12:25:00"
- Configure opkg: http://alextgalileo.altervista.org/package-repo-configuration-instructions.html
- Install dev pacakges:
root@clanton:~# opkg install gcc --force-overwrite
root@clanton:~# opkg install gcc-symlinks make g++ g++-symlinks git
root@clanton:~# opkg install packagegroup-core-buildessential
- Connect pin 0 (RX) on the Galileo to pin 11 on the Arduino
- Connect pin 1 (TX) on the Galileo to pin 10 on the Arduino
- From here: http://www.malinov.com/Home/sergey-s-blog/intelgalileo-configuringtheserialportinlinux
You can do each command from the command line or run this bash script: