This file contains hidden or 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
#include <NewSoftSerial.h> | |
#include <TinyGPS.h> | |
TinyGPS gps; | |
NewSoftSerial nss(2, 3); | |
int year, month, day, hour, minutes, second, hundredths; | |
unsigned long fix_age; | |
void gpsdump(TinyGPS &gps); | |
bool feedgps(); | |
void printFloat(double f, int digits = 2); |
This file contains hidden or 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
touch /etc/opkg/ninja.conf; | |
echo 'src/gz angstrom-base http://us.feeds.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/base' > /etc/opkg/ninja.conf; | |
opkg update; | |
opkg install ca-certificates; | |
opkg install libncurses5; | |
opkg install ncurses-dev; | |
opkg install tk-dev; | |
opkg install tcl-dev; | |
opkg install libssl1.0.0; | |
opkg install libcrypto1.0.0; |
This file contains hidden or 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
{"menu": { | |
"id": "file", | |
"value": "File", | |
"popup": { | |
"menuitem": [ | |
{"value": "New", "onclick": "CreateNewDoc()"}, | |
{"value": "Open", "onclick": "OpenDoc()"}, | |
{"value": "Close", "onclick": "CloseDoc()"} | |
] | |
} |
This file contains hidden or 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
/usr/bin/setgpio; | |
sleep 2; | |
/usr/bin/setserial; | |
sleep 2; | |
echo "38" > /sys/class/gpio/export; | |
sleep 2; | |
echo "out" > /sys/class/gpio/gpio38/direction; | |
sleep 2; | |
sudo echo "1" > /sys/class/gpio/gpio38/value; | |
sleep 2; |
This file contains hidden or 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
:100000000C94B6000C945F250C948C250C94DE00A7 | |
:100010000C94DE000C94DE000C94DE000C94DE00E8 | |
:100020000C94DE000C94DE000C94DE000C94DE00D8 | |
:100030000C94DE000C94DE000C94DE000C94DE00C8 | |
:100040000C94B9250C94DE000C9423280C946A2897 | |
:100050000C94DE000C94DE000C94DE000C94DE00A8 | |
:100060000C9453170C94DE0007634236B79BD8A755 | |
:100070001A39685618AEBAAB558C1D3CB7CC5763CD | |
:10008000BD6DEDFD753EF6177231BF000000803F7B | |
:1000900008000000BE922449123EABAAAA2ABECD97 |
This file contains hidden or 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
Installing RDoc documentation for sinatra-1.3.2... | |
[ 960.810537] INFO: task kworker/0:2:136 blocked for more than 120 seconds. | |
[ 960.817695] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. | |
ubuntu@omap:~/utilities/wifi$ [ 1080.820536] INFO: task kworker/0:2:136 blocked for more than 120 seconds. | |
[ 1080.827813] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. | |
[ 1200.830556] INFO: task kworker/0:2:136 blocked for more than 120 seconds. | |
[ 1200.837780] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. | |
[ 1320.840540] INFO: task kworker/0:2:136 blocked for more than 120 seconds. | |
[ 1320.847769] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. | |
[ 1440.850550] INFO: task kworker/0:2:136 blocked for more than 120 seconds. |
This file contains hidden or 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
something else |
This file contains hidden or 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
:100000000C94B6000C94E2280C940F290C94DE009A | |
:100010000C94DE000C94DE000C94DE000C94DE00E8 | |
:100020000C94DE000C94DE000C94DE000C94DE00D8 | |
:100030000C94DE000C94DE000C94DE000C94DE00C8 | |
:100040000C943C290C94DE000C94A62B0C94ED2B04 | |
:100050000C94DE000C94DE000C94DE000C94DE00A8 | |
:100060000C94CD180C94DE0007634236B79BD8A7DA | |
:100070001A39685618AEBAAB558C1D3CB7CC5763CD | |
:10008000BD6DEDFD753EF6177231BF000000803F7B | |
:1000900008000000BE922449123EABAAAA2ABECD97 |
This file contains hidden or 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
var Inotify = require('inotify-plusplus'), // should be 'inotify++', but npm has issues with the ++ | |
inotify, | |
directive, | |
options; | |
inotify = Inotify.create(true); // stand-alone, persistent mode, runs until you hit ctrl+c | |
//inotify = Inotify.create(); // quits when event queue is empty | |
directive = (function() { |
This file contains hidden or 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
#!/bin/bash | |
# Run this script as root ie: | |
# sudo -s | |
# bash <(wget -q -O - https://raw.github.com/gist/2958054) | |
bold=`tput bold`; | |
normal=`tput sgr0`; | |
# Setup the timezone |