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
[ | |
{ | |
"indentLevel": 0, | |
"selector": "body", | |
"declarations": [ | |
" margin: auto", | |
" width: 1000px" | |
], | |
"children": [] | |
}, |
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
[ | |
{ | |
"indentLevel": 0, | |
"selector": "body", | |
"declarations": [ | |
" margin: auto", | |
" width: 1000px" | |
], | |
"children": [] | |
}, |
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
from fabric.api import * | |
from fabric.colors import green as _green, yellow as _yellow | |
import boto | |
import boto.ec2 | |
from config import * | |
import time | |
def create_server(): | |
""" | |
Creates EC2 Instance |
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
/* | |
* Variables declared with var are hoisted and initialized to undefined. | |
* Variables declared with let, const, are hoisted but remain uninitialized. | |
*/ | |
function letsFigureOutHoisting() { | |
// VARIABLE NAMES ARE HOISTED PHYSICALLY HERE, AT THE TOP OF THE FUNCTION | |
// we're referencing these variables BEFORE they are assigned values! | |
console.log(cat); // will throw a ReferenceError | |
console.log(dog); // will evaluate to undefined |