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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var root = (function(){ return this; })(); | |
function ProxyClass() { | |
if (this === root) throw Error(); | |
var instance = this; | |
return Proxy.create({ | |
get: function(receiver, name) { | |
console.log('get', name); | |
return instance[name] || (instance._get && instance._get(name, receiver)) || undefined; | |
}, |
- http://christophermeiklejohn.com/distributed/systems/2013/07/12/readings-in-distributed-systems.html
- http://michaelrbernste.in/2013/11/06/distributed-systems-archaeology-works-cited.html
- http://dancres.org/reading_list.html
- http://rxin.github.io/db-readings/
- http://research.microsoft.com/en-us/um/people/lamport/pubs/pubs.html
- http://www.eecs.berkeley.edu/GradAffairs/CS/Prelims/db.html
- http://pdos.csail.mit.edu/dsrg/papers/
- http://scalingsystems.com/2011/09/07/reading-list-for-distributed-systems/
- http://courses.engr.illinois.edu/cs525/sp2011/sched.htm
- http://henryr.github.io/distributed-systems-readings/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot; | |
robot = ev.robot; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Metric | |
PREFIXES = { | |
:yotta => 8, | |
:zetta => 7, | |
:exa => 6, | |
:peta => 5, | |
:tera => 4, | |
:giga => 3, | |
:mega => 2, | |
:kilo => 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var StopIterator = this.StopIterator || function() { Error.apply(this, arguments); }; | |
function Range(/*[start, ] stop [, step [, exclusive]]*/) { | |
var args = Array.prototype.slice.call(arguments, 0); | |
if (!(this instanceof Range)) return Range.apply(new Range(1), args); | |
switch(args.length) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
$.fn.$each = function(callback) { | |
var $temp = $([1]); | |
return this.each(function() { | |
$temp[0] = this; | |
return callback.apply($temp, arguments); | |
}); | |
}; |
NewerOlder