Skip to content

Instantly share code, notes, and snippets.

🐤
building my own birdfeeder on here

Suz Hinton noopkat

🐤
building my own birdfeeder on here
Block or report user

Report or block noopkat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@noopkat
noopkat / meowshoes
Created Feb 10, 2014
meow shoes sample
View meowshoes
// 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),
@noopkat
noopkat / truncated_reveal.js
Last active Aug 29, 2015
fullscreen aspect ratio respecting video in reveal.js [hack]
View truncated_reveal.js
[...]
function startEmbeddedContent( slide ) {
[...]
if( el.hasAttribute( 'data-autoplay' ) ) {
// paste this above el.play()
var nw = el.videoWidth,
@noopkat
noopkat / _meow.md
Last active Aug 29, 2015
Grumpy Cat Login
View _meow.md
@noopkat
noopkat / gist:10506922
Last active Aug 29, 2015
Sass Function extend
View gist:10506922
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
@noopkat
noopkat / test5.js
Last active Oct 18, 2015
OLED-js custom font testing
View test5.js
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
@noopkat
noopkat / foo.sh
Last active Nov 7, 2015
rebuild serialport for nw.js
View foo.sh
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
@noopkat
noopkat / Preferences.sublime-settings
Last active Dec 24, 2015
Sublime Text User Prefs
View Preferences.sublime-settings
{
"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",
@noopkat
noopkat / flash.js
Last active Dec 1, 2016
lilypadUSB custom board flashing example
View flash.js
const Avrgirl = require('avrgirl-arduino');
const lilypad = {
name: 'lilypadUSB',
baud: 57600,
signature: new Buffer([0x43, 0x41, 0x54, 0x45, 0x52, 0x49, 0x4e]),
productId: ['0x9207', '0x9208', '0x1B4F'],
protocol: 'avr109'
};
You can’t perform that action at this time.