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 / 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 / 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
@shipstar
shipstar / anime.md
Last active September 19, 2022 06:18
Anime recommendations / thoughts

This list is like noob anime central. It's basically like saying, "Do you like jazz? I love jazz! Miles Davis is my favorite!"

(I'm not sure that I actually like anime. I just like anime auteurs like Shinichiro Watanabe, Hayao Miyazaki, Satoshi Kon, etc.)

tl;dr: Watch Cowboy Bebop/Samurai Champloo for a series and anything Miyazaki or Grave of the Fireflies for a movie.

Series

  • Cowboy Bebop (One of the greatest things ever, although the movie was meh. Also one of the only ones I can safely reocmmend in English.)
  • Samurai Champloo
  • Kids on the Slope (I generally don't like "slice-of-life," but I love jazz and Yoko Kanno and Shinichiro Watanabe, so I loved this.)
@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 / services.md
Last active May 6, 2019 05:10
GitHub + Kanban

Spent a couple minutes poking around at kanban-like alternatives/supplements to labeling:

GitHub uses this and Huboard internally for some projects. Supported by Rally, so probably not going away anytime soon.

GitHub uses this and Waffle internally for some projects.

Looks interesting. (Marking issues from the command-line? Sweet!) It's also pricey.

@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