11:21:37 ✔ dan:(master $)~/git/hid-mapper$ node index --vendor 1356 --product 1476 --raw 5 --dump
------------------------------
Calibrating device...
------------------------------
FIRST_FRAMES: [[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,128,130,126,8,0,0,0,0],[1,126,128,129,126,8,0,0,0,0],[1,126,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
| Station Name | Lifeboats (ID: Count) | Total Launches | | |
|-----------------------------|---------------------------------------|----------------| | |
| Aberdeen | D-830: 1, 17-24: 1 | 2 | | |
| Aberdovey | B-896: 1 | 1 | | |
| Aberystwyth | A-78: 1 | 1 | | |
| Aith | 17-14: 1 | 1 | | |
| Amble | D-867: 1, 13-16: 1 | 2 | | |
| Angle | BB-695: 1, 16-11: 1 | 2 | | |
| Appledore | D-729: 1, B-861: 1, 16-16: 1 | 3 | | |
| Aran Islands | 17-06: 2 | 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
1.Install the BEEKs app from the Play store (this is not a Google product) | |
2.Hold the beacon to the back of the phone (most helpful when there are >1 beacons in the room) | |
3.The beacon marked (NEAR) will be at the top, select that | |
4.When connected, a LED will glow inside the beacon | |
5.Scroll down to the Eddystone area | |
6.Two buttons, one to set the URL another to set the power/frequency | |
7.Suggested transmit power is -20dbm at 2 times a second |
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 getUserHome = function(){ | |
return process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME']; | |
}; | |
var HOME = getUserHome() + '/'; |
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
cat statsd.conf | |
[general] | |
enabled = yes ; When set to yes, statsd support is enabled | |
server = 127.0.0.1:8125 ; server[:port] of statsd server to use. | |
; If not specified, the port is 8125 | |
prefix = asterisk ; Prefix to prepend to all metrics | |
;add_newline = no ; Append a newline to every event. This is | |
; useful if you want to run a fake statsd | |
; server using netcat (nc -lu 8125) |
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
hid-mapper --vendor 1356 --product 1476 --buttons l3,r3 | |
Calibrating device... | |
Prompting for | |
buttons: l3, r3 | |
joysticks: | |
Press the l3 button: | |
Added {"pin":2,"value":124,"name":"l3"} |
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
Change {"pin":2,"value":124} | |
Change {"pin":2,"value":123} | |
Change {"pin":2,"value":124} | |
Change {"pin":2,"value":123} | |
Change {"pin":2,"value":124} | |
Change {"pin":2,"value":123} | |
Change {"pin":2,"value":124} | |
Change {"pin":2,"value":123} | |
Change {"pin":2,"value":124} | |
Change {"pin":2,"value":123} |
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
### Keybase proof | |
I hereby claim: | |
* I am danjenkins on github. | |
* I am danjenkins (https://keybase.io/danjenkins) on keybase. | |
* I have a public key whose fingerprint is A66F 1AB9 F107 AED1 A3FD A3DD B99A B132 9F32 A493 | |
To claim this, I am signing this object: |
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
//text is split up to letters | |
$.each(text.split(''), function(i, letter){ | |
//we add 100*i ms delay to each letter | |
setTimeout(function(){ | |
//we add the letter to the container | |
$('#container').html($('#container').html() + letter); | |
}, 100*i); |
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
require 'formula' | |
class Phpunit < Formula | |
homepage 'http://www.phpunit.de/manual/current/en/index.html' | |
url 'http://pear.phpunit.de/get/phpunit.phar' | |
sha1 'de677ba60b2ccd135002d02501cde16a471503f5' | |
version 'HEAD' | |
def install | |
bin.install "phpunit.phar" => "phpunit" |
NewerOlder