Skip to content

Instantly share code, notes, and snippets.

View keithnorm's full-sized avatar

Keith Norman keithnorm

View GitHub Profile
@chiefy
chiefy / github_buttons.rb
Last active August 29, 2015 14:03
Jekyll tag plugin for creating GitHub style social buttons: https://github.com/ntkme/github-buttons
# Jekyll tags to support GitHub buttons on your site
#
# For more info: https://github.com/ntkme/github-buttons
#
# Installation:
# 1. Copy this gist to Jekyll's `_plugins` folder
# 2. Include the following script tag in your default template:
# <script async defer id="github-bjs" src="//buttons.github.io/buttons.js"></script>
#
# Usage:
@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)
})
@ded
ded / app.js
Created October 21, 2011 23:14
Rails-like routes for Express
var express = require('express')
, app = express.createServer()
require('./config/routes').initialize(app)