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
Show hidden characters
{ | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme", | |
"fade_fold_buttons": false, | |
"font_size": 12, | |
"highlight_line": true, | |
"line_padding_bottom": 2, | |
"line_padding_top": 2, | |
"tab_size": 2, | |
"theme": "Flatland Dark.sublime-theme", |
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
npm install serialport | |
npm install -g node-pre-gyp | |
NW_VERSION='0.12.3' | |
cd node_modules/serialport | |
node-pre-gyp configure --runtime=node-webkit --target=$NW_VERSION | |
node-pre-gyp build --runtime=node-webkit --target=$NW_VERSION |
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 five = require('johnny-five'); | |
var board = new five.Board(); | |
var Oled = require('oled-js'); | |
// require your newly made font file | |
var mycoolfont = require('./mycoolfont.js'); | |
// testing features | |
board.on('ready', function() { | |
// I2C va USB or whatever your settings are |
A Pen by Jim Savage on CodePen.
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
module Sass::Script::Functions | |
def getImg(string, url) | |
assert_type string, :String | |
assert_type url, :String | |
manifest = JSON.parse(File.read("manifest.json")) | |
Sass::Script::Value::String.new(url + "/" + manifest["img"][string]) | |
end | |
declare :getImg, [:string] | |
end |
#pixel art in ur bash
Follow these instructions here - use this repo with branch os_x if you're on a mac.
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
[...] | |
function startEmbeddedContent( slide ) { | |
[...] | |
if( el.hasAttribute( 'data-autoplay' ) ) { | |
// paste this above el.play() | |
var nw = el.videoWidth, |
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
// playback object, will contain all sequenced sounds | |
var playback = [] | |
// set up the defaults | |
var freestyle = false, | |
currentVoice = 'meow', | |
bar = 16, | |
tempo = 120, | |
context = new webkitAudioContext(), | |
bopper = require('bopper')(context), |
NewerOlder