Skip to content

Instantly share code, notes, and snippets.

View shipstar's full-sized avatar

Kyle Shipley shipstar

  • Fishers, IN
View GitHub Profile
@shipstar
shipstar / links.txt
Created May 11, 2014 13:16
Lean Workshop
@shipstar
shipstar / npm list
Last active August 29, 2015 14:02
node modules
generic-rpg@0.0.0 /Users/kshipley/Programming/games/generic-rpg
├─┬ aliasify@1.4.0
│ └─┬ browserify-transform-tools@1.2.1
│ ├─┬ falafel@0.3.1
│ │ └── esprima@1.1.0-dev (git://github.com/substack/esprima#0a7f8489a11b44b019ce168506f535f22d0be290)
│ └── through@2.3.4
├─┬ browserify@4.1.2
│ ├─┬ assert@1.1.1
│ │ └── util@0.10.2
│ ├─┬ browser-pack@2.0.1
@shipstar
shipstar / games.md
Last active August 29, 2015 14:05
Toumey's Games We Don't Own

SNES

  • Bubsy 2
  • Contra 3
  • Earthworm Jim
  • Fatal Fury
  • Super Gameboy?
  • Super R-Type
  • Turtles in Time

N64

@shipstar
shipstar / examples.txt
Created September 7, 2015 12:17
Falcor + React Examples I've found
https://github.com/ekosz/postcard-sender
- Incorporated with React router
- Parent needs to know all fields children will use
https://gist.github.com/btholt/a5908e50eec2941ae6d7
- Does some light query consolidation (see `_.union(Plot.queries.movie(), Title.queries.movie(), Year.queries.movie())`)
- Doesn't use Flux, but I can see how it could be adapted
@shipstar
shipstar / test-stub.rb
Created March 5, 2012 21:48 — forked from swanson/test-stub.rb
Toy stub framework with Ruby
# Playing around with a Toy Stubbing "framework"
class Statistics
def initialize(nums)
@nums = nums
end
def compute_average
sum = 0;
@nums.each do |num|
sum += num
body{
margin: 0 auto;
font-family: Georgia, Palatino, serif;
color: #444444;
line-height: 1;
max-width: 960px;
padding: 30px;
}
h1, h2, h3, h4 {
color: #111111;
@shipstar
shipstar / cipher.md
Last active October 4, 2015 18:28
Vigenere Cipher Example -- Landsliders puzzle

You'll need to use the Vigenère table to calculate the encrypted text.

I'll walk through the encryption first; decryption just involves working backwards.

WARNING: There are spoilers below about the outcome of the Landsliders puzzle.

  1. Write the phrase you want to encrypt:
WWWWHATHAPPENEDINLANDSLIDERSCOM
@shipstar
shipstar / gist:5016267
Last active December 14, 2015 02:49
when_constant
# usage:
# when_constant "Foo::BAR", 'baz' do
# # do something
# end
def when_constant(constant_string, new_value)
class_or_module = nil
constant_name = nil
if constant_string =~ /::/
@shipstar
shipstar / gist:7650584
Created November 25, 2013 23:09
Super hacky Turntable --> Plug.dj importer
require 'youtube_it'
PLAYLIST_TITLE = "Turntable to Plug"
auth = {
dev_key: <your key>,
username: <your Youtube username>,
password: <your Youtube password>
}
@shipstar
shipstar / 0_reuse_code.js
Created January 23, 2014 22:01
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console