Skip to content

Instantly share code, notes, and snippets.

@moresheth
moresheth / jsonview_twilight_theme.css
Created May 21, 2020 16:03
Twilight Theme for JSON View Chrome extension
body {
white-space: pre;
font-family: Bitstream Vera Sans Mono, monospace;
font-size: 13px;
background: #1D1D1D;
color: #FFFFFF;
}
body li, body div {
border: 1px solid transparent;
@max-mapper
max-mapper / helloworld.js
Created November 27, 2012 06:55
droneduino
var serialport = require('node-serialport')
var sp = new serialport.SerialPort("/dev/ttyO3", {
parser: serialport.parsers.raw,
baud: 9600
})
sp.on('data', function(chunk) {
console.log(chunk.toString('hex'), chunk.toString(), chunk)
})
@remy
remy / nodecopter-tips.md
Created November 12, 2012 23:58
NodeCopter Tips

This is just a holding place for the things I find out until they make up a proper document or separate docs. This is a working doc - but it might be helpful to someone. I'm also trying to approach any changes I make in a non-destructive manner, in that it's easy to reverse out if I make a mistake.

What software is on the drone?

All listed here

What happens when the drone boots?

The script /etc/init.d/rcS is kicked off. This boots up the wifi, and udev for listening to mounting drives.