- [R] = Reservation
- [QS] = Quick Service
Magic Kingdom:
- [R] Crystal Palace (Character Dining!!)
- [QS] Main Street Bakery (grab some coffee, pastries, and a bench to enjoy the Main Street entertainment as the park opens)
# usage: load your local environment with a .env file or point to another file | |
# dotenv // load .env by default | |
# dotenv .env.staging // load the environment variables in .env.staging | |
dotenv() { | |
export $(cat ${1:-.env} | xargs); | |
} | |
# dynamically generate branch completion list | |
_list_branch_completions() { | |
COMPREPLY=($(compgen -W "$(git branch --list --sort=refname | tr -d '*')" "${COMP_WORDS[1]}")) |
node_modules/ | |
dist/ |
const HID = require('node-hid') | |
const robot = require('robotjs') | |
const throttle = require('lodash.throttle') | |
const devices = HID.devices() | |
const emptyBuffer = Buffer.allocUnsafe(17).fill(0) | |
const toggleMap = new Map([['LU', false], ['LR', false], ['LD', false], ['LL', false], ['RU', false], ['RR', false], ['RD', false], ['RL', false]]) | |
const nimbusData = devices.filter(({ product }) => product === 'Nimbus')[0] |
'use strict'; | |
const { Transform } = require('stream'); | |
const eachBlockRegex = /{{\s*#each\s*(.*)}}([\S\s]*?){{\s*\/each\s*}}/g; | |
module.exports = (data = {}) => ( | |
new Transform({ | |
writableObjectMode: true, | |
transform(chunk, encoding, callback) { |
<!doctype html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Tessel-Cam</title> | |
<style> | |
body { | |
font-family: Helvetica, sans-serif; | |
text-align: center; | |
} |
Magic Kingdom:
scp -i ~/.tessel/id_rsa node/tessel-export.js root@oogie_boogie.local:/usr/lib/node |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var browserSync = require('browser-sync'); | |
// Asset Server | |
var bsAssets = browserSync.create('assets'); | |
// Rails Views Proxy Server | |
var bsRails = browserSync.create('rails'); | |
gulp.task('serve', function() { |
function scrollTo() { | |
var steps = this.endPos - this.windowTop; | |
var total = (this.options.speed / 1000) * 60; | |
this.currentVal = steps * this.count / total + this.windowTop; | |
window.scrollBy(0, this.currentVal); | |
if(this.count < total) { | |
this.count++; |