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
#include <stdint.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <getopt.h> | |
#include <fcntl.h> | |
#include <sys/ioctl.h> | |
#include <linux/types.h> | |
#include <linux/spi/spidev.h> |
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
pre.code { background: #181818; padding: 16px; color: #F8F8F8; font-family: Consolas, Monaco,"Lucida Console"; } | |
pre.code * { font-family: Consolas, Monaco,"Lucida Console"; } | |
pre.code .hll { background-color: #ffffcc } | |
pre.code .c { color: #5F5A60; font-style: italic } /* Comment */ | |
pre.code .err { border:#B22518; } /* Error */ | |
pre.code .k { color: #CDA869 } /* Keyword */ | |
pre.code .cm { color: #5F5A60; font-style: italic } /* Comment.Multiline */ | |
pre.code .cp { color: #5F5A60 } /* Comment.Preproc */ | |
pre.code .c1 { color: #5F5A60; font-style: italic } /* Comment.Single */ | |
pre.code .cs { color: #5F5A60; font-style: italic } /* Comment.Special */ |
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
UrlEncoder = { | |
/** | |
* Encode a [deeply] nested object for use in a url | |
* Assumes Array.each is defined | |
*/ | |
encode: function(params, prefix) { | |
var items = []; | |
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 'socket' | |
require 'json' | |
class AircraftPositionStream | |
def initialize host, port | |
@host = host | |
@port = port | |
end |
OlderNewer