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
echo "Flipping tables! (╯°□°)╯︵ ┻━┻" | |
num_rules=3 | |
real=3 # exposed to the ELB as port 443 | |
test=4 # used to install test certs for domain verification | |
health=5 # used by the ELB healthcheck | |
blue_prefix=855 | |
green_prefix=866 |
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 scheduled = false, | |
_throttleDelay = 200; | |
function ScrollHandler(e) { | |
//throttle event: | |
if (!scheduled) { | |
scheduled = true; | |
setTimeout(function () { | |
console.log('scroll'); |
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 transition = { | |
create: function() { | |
// Assign to self, but this will only be accessible inside the create function. | |
var self = Object.create(this); | |
self.circle = new Kinetic.Circle({ | |
x: 10, | |
y: 10, | |
}); | |
self.start(); |