I hereby claim:
- I am todbot on github.
- I am todbot (https://keybase.io/todbot) on keybase.
- I have a public key whose fingerprint is AAB5 37CE B4D8 4DC1 1571 D47E 74B1 4B82 CFFF 63C5
To claim this, I am signing this object:
hello there | |
how are you | |
i am wonderful. |
#!/bin/sh | |
# play a multi-led pattern on a blink(1) using blink1-tool commandline program | |
blink1-tool --playpattern "3,#ff0000,0.3,1,#000000,0.3,2,#00ff00,0.3,1,#000000,0.3,2,#0000ff,0.3,0,#000000,0.3,0" |
// Listen for favorite events | |
user_stream.on('favorite', function (eventMsg) { | |
if (eventMsg.target.screen_name = screen_name) { | |
console.log('@' + eventMsg.source.screen_name + ' has favorited a Tweet.'); | |
blinkFavorite(); | |
} | |
}); | |
// Listen for follow events | |
user_stream.on('follow', function (eventMsg) { |
// test-rawhid.c -- Demonstrate writing to Teensy running RawHID sketch | |
// On Mac, this will occasionally hang in hid_write() | |
// | |
// Build with: | |
// gcc -I ../hidapi/hidapi -framework IOKit -framework CoreFoundation../hidapi/mac/hid.c rawhid-test.c | |
// | |
// Tod E. Kurt / github.com/todbot | |
// | |
#include <stdio.h> |
bokbokbok% git clone https://github.com/todbot/electron-hid-toy.git | |
Cloning into 'electron-hid-toy'... | |
remote: Counting objects: 29, done. | |
remote: Total 29 (delta 0), reused 0 (delta 0), pack-reused 29 | |
Unpacking objects: 100% (29/29), done. | |
Checking connectivity... done. | |
bokbokbok% cd electron-hid-toy | |
bokbokbok% npm install | |
npm WARN prefer global npm@3.10.9 should be installed with -g |
//: CrashSpace Sign JSON parsing in Swift | |
import Cocoa | |
import Foundation | |
let urlString = "https://crashspacela.com/sign2/json/"; | |
let url = URL(string: urlString) |
//: CrashSpace Sign JSON parsing in Swift, using struct | |
import Cocoa | |
import Foundation | |
struct ButtonPress { | |
let id: String | |
let msg: String | |
let diff_mins: Int | |
let date: String |
//: NEW CrashSpace Sign JSON parsing in Swift, using struct | |
// CrashSpace Sign JSON now returns an 'is_open' flag and a 'minutes_open' value | |
import Cocoa | |
import Foundation | |
struct ButtonPress { | |
let id: String | |
let msg: String | |
let diff_mins: Int |
I hereby claim:
To claim this, I am signing this object: