Skip to content

Instantly share code, notes, and snippets.

View samshull's full-sized avatar
🎯
Focusing

Sam Shull samshull

🎯
Focusing
View GitHub Profile
@samshull
samshull / api.md
Last active January 24, 2020 23:24 — forked from AdamMagaluk/api.md
EpicMix Mobile API
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/mountains.ashx
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/weather.ashx
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/terrain.ashx
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/lifts.ashx
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/mountaincams.ashx
http://www.epicmix.com/vailresorts/sites/epicmix/api/mobile/roadconditions.ashx
@samshull
samshull / robot.js
Created December 3, 2012 17:37 — forked from cezarsa/robot.js
Simple Wall Robot
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
robot.turnGunRight(90);
robot.clone();
this.direction = 1;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(1);
if (robot.parentId) {
@samshull
samshull / robot.js
Created December 3, 2012 17:36
W00t #1 YEAH!!!! (Zolmesiter)
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
//robot.turnGunRight(90);
robot.clone();
this.direction = 1;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(1);
if (robot.parentId) {
@samshull
samshull / hack.sh
Created November 6, 2012 17:37 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@samshull
samshull / gist:1169764
Created August 25, 2011 01:36 — forked from tjh/gist:1051092
Watchr script for Cucumber, Rspec, and Evergreen
system('clear')
ENV["WATCHR"] = "1"
$spec_cmd = "rspec --colour --format nested -d"
$evergreen_cmd = "evergreen run ."
GROWL = `which growlnotify`.chomp
if GROWL.empty?
puts "Missing growlnotify command for growl notifications"
@samshull
samshull / proxy_memleak.js
Created June 24, 2011 18:37 — forked from richardms/proxy_memleak.js
Possible memory leak in node-proxy
// Run with:
// node --trace-gc proxy_memleak.js
var Proxy = require("/Users/brickysam26/Projects/node-proxy/lib/node-proxy"),
// fs = require('fs'),
util = require("util") ;
var count = 100000 ;