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
371,380c371,380 | |
< 0001720: a032 1306 c5ec ff3d 0c4d 0192 0100 1cc5 .2.....=.M...... | |
< 0001730: 1099 a029 5928 81c5 efff c8a1 d8b1 0891 ...)Y(.......... | |
< 0001740: 12c1 300d f000 0000 21fd fa12 c1d0 c981 ..0.....!....... | |
< 0001750: d991 e9a1 2802 0971 e832 2812 3d0e 0160 ....(..q.2(.=..` | |
< 0001760: fac0 0000 d2c2 fc22 a370 0107 fbc0 0000 .......".p...... | |
< 0001770: 3d01 cd02 1cc4 3b2d 202e 8201 04fb c000 =.....;- ....... | |
< 0001780: 0042 a370 2201 000c 1320 2393 2241 003d .B.p".... #."A.= | |
< 0001790: 0c2a 2d1b 2220 2e82 01fd fac0 0000 0871 .*-." .........q | |
< 00017a0: d891 2d0c e8a1 c881 12c1 300d f000 0000 ..-.......0..... |
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
/* | |
XChng v0.1 | |
Morgan "ARR!" Allen <morganrallen@gmail.com> | |
</morganrallen@gmail.com> | |
MIT License | |
usage: node xchng.node.js [ value || 1 ] | |
*/ | |
var http = require("http"), |
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
var gist = "just a test, update"; |
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
var gist = "just a test,2"; |
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
/home/morgan/devel/ESP8266/crosstool-NG/builds/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: build/rom0.elf section `.text' will not fit in region `iram1_0_seg' | |
/home/morgan/devel/ESP8266/esp_iot_sdk_v1.4.0//lib/libc.a(mallocr.o):(.literal+0x10): undefined reference to `_sbrk_r' | |
/home/morgan/devel/ESP8266/esp_iot_sdk_v1.4.0//lib/libc.a(mallocr.o): In function `_malloc_r': | |
C:\build\build\RC-2010.1\lxinnovation\delivery\lx106\104196\xbuild\Target-libs\newlib\xtensa-elf\newlib\libc\stdlib/\build\tree\RC-2010.1_kuma\p4root\Xtensa\Target-libs\newlib\newlib\libc\stdlib/mallocr.c:2152: undefined reference to `_sbrk_r' | |
C:\build\build\RC-2010.1\lxinnovation\delivery\lx106\104196\xbuild\Target-libs\newlib\xtensa-elf\newlib\libc\stdlib/\build\tree\RC-2010.1_kuma\p4root\Xtensa\Target-libs\newlib\newlib\libc\stdlib/mallocr.c:2189: undefined reference to `_sbrk_r' | |
/home/morgan/devel/ESP8266/esp_iot_sdk_v1.4.0//lib/libc.a(freer.o): In function `_malloc_trim_r': | |
C:\build\build\RC-2010.1 |
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
var jsdom = require("jsdom"), | |
fs = require("fs"); | |
fs.readFile("test.html", function(err, content) { | |
if(err) throw err; | |
var doc = jsdom.jsdom(content, jsdom.defaultLevel); | |
doc.addEventListener("load", function() { | |
console.log(arguments); |
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
<html> | |
<head> | |
<script type="text/javascript" src="zeroth.js"></script> | |
</head> | |
<body> | |
<script> | |
console.log("First script"); | |
</script> | |
<script> | |
var s = document.createElement("script"); |
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
function RGB2HEX(s) { | |
return [ parseInt(s.substr(0,2), 16), parseInt(s.substr(2,2), 16), parseInt(s.substr(4,2), 16) ]; | |
} | |
function ItoS(i) { | |
return i === 0 ? "00" : i.toString(16); | |
} | |
function HEX2RGB(s) { | |
return ItoS(s[0]) + ItoS(s[1]) + ItoS(s[2]); |
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
info: Welcome to Nodejitsu nko3-derpatron | |
info: jitsu v0.10.5, node v0.8.2 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in node server/server.js | |
warn: Local package version appears to be old | |
warn: The package.json version will be incremented automatically | |
warn: About to write /Users/morganallen/devel/NKO3/derpatron/package.json | |
warn: Using '*' as a version for dependencies may eventually cause issues | |
warn: Use specific versions for dependencies to avoid future problems |
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
#!/usr/bin/env node | |
var udev = require("udev"); | |
var monitor = udev.monitor(); | |
monitor.on("add", function(device) { | |
// change vendor and model IDs to match your device if not Garmin Edge 305 | |
if(device.ID_VENDOR_ID === "091e" && device.ID_MODEL_ID === "0003") { | |
require("child_process").spawn("xdg-open", ["http://app.strava.com/upload/garmin_new"], { | |
env: process.env |