Skip to content

Instantly share code, notes, and snippets.

View byronhulcher's full-sized avatar

Byron Hulcher byronhulcher

View GitHub Profile
[
"Is that you, Lady Maria? No, you're someone else.",
"Well, perhaps you could help me all the same? I can't move at all, I'm afraid. But I need Brain Fluid. Murky, mushy Brain Fluid. Help me hear the sticky sound, I've gone so long without it...",
"Please, could you do something for me? I need Brain Fluid. Murky, mushy Brain Fluid...",
"Oh, thank you, you're terribly kind.",
"Ohh... it's wonderful. And, oh! I hear the sticky sound. Do you hear it, too?",
"Oh, I know. Will you have my blood, as thanks? I'll have you know. I was once a Blood Saint, too. So, do come back, if you ever run dry of Saint's Blood.",
"That makes me happy. But I cannot move. Look, on my right arm.",
"I'm sorry to trouble you, but you don't mind, do you?",
"Oh, I'm sorry... Do come back if it please you. I am in your debt.",
@byronhulcher
byronhulcher / compile-node-hid-for-t2.MD
Last active May 1, 2017 16:16
How to compile node-hid for Tessel 2
  • run git clone https://github.com/tessel/t2-compiler.git
  • run cd t2-compiler
  • have docker and docker-machine up and running (sorry I am not sure sure about this)
  • run docker-machine start default
  • run docker-machine env default
  • run the eval command that spits out (likely eval $(docker-machine env default))
  • run docker run -it --entrypoint bash tessel/t2-compiler
  • Now you're inside the t2-compiler VM
  • you should be in ~/ your home directory but just in case, run cd ~
  • if you want, you can copy and run the file compile-node-hid.sh from this gist, or follow the below instructions:
@byronhulcher
byronhulcher / starter.lua
Last active April 7, 2017 05:36
PICO-8 Starter LUA code (save this as starter.p8)
-- pico-8 starter code
-- by @hypirlink
-- _init() is called when
-- you 'run' the program
function _init()
-- states: menu, game, end
state = "menu"
end
@byronhulcher
byronhulcher / pico8.csv
Created August 27, 2016 03:22
Pico-8 palette for make8bitart.com
BLACK 000000
DARK_BLUE 1D2B53
DARK_PURPLE 7E2553
DARK_GREEN 008751
BROWN AB5236
DARK-GRAY 5F574F
LIGHT-GRAY C2C3C7
WHITE FFF1E8
RED FF004D
ORANGE FFA300
pico-8 cartridge // http://www.pico-8.com
version 8
__lua__
-- mondrian art v.1
-- by hypirlink
r1 = {}
r1.clr = 8
r2 = {}
@byronhulcher
byronhulcher / test.txt
Created April 22, 2016 19:15
Test gist for NYMAg
hm
@byronhulcher
byronhulcher / cascadia-pokemon.md
Last active May 22, 2023 06:17
You Teach Me And I'll Teach You (JavaScript)

You Teach Me And I'll Teach You (Javascript)

##Abstract Pokémon celebrates its 20th anniversary this year, so why not take some time off from getting fatigued over JavaScript to relax with one of the world's most popular games. Every developer starts their journey with a single framework, like the protagonist of Red and Blue started out with their first companion. But the path to becoming a champion involves exploring new frontiers, meeting new people, and learning that no option comes without weaknesses. Have you mastered 150+ JavaScript modules? There's lots to learn from Pokemon for those new and old to the series.

##Details The not-so-subtle metaphor of this talk is getting people to consider Javascript frameworks/libraries/tools/modules as individual Pokémon. Each one presents its own situational advantages and disadvantages. Specializing in a single type in the game series can be fatal if you don't have enough options to deal with the myriad obstacles you'll face. Like frameworks, no one Pokemon is

@byronhulcher
byronhulcher / index.js
Created March 25, 2016 20:29
requirebin sketch
var yo = require('yo-yo')
var numbers = [] // start empty
var el = list(numbers, update)
document.getElementById('container').appendChild(el)
var input = document.getElementById('to-do')
function list (items) {
return yo`<ul>
${items.map(function (item) {
@byronhulcher
byronhulcher / index.js
Created March 25, 2016 20:29
requirebin sketch
var yo = require('yo-yo')
var numbers = [] // start empty
var el = list(numbers, update)
document.getElementById('container').appendChild(el)
var input = document.getElementById('to-do')
function list (items) {
return yo`<ul>
${items.map(function (item) {