Given
var countries = [
{
country: "Canada",
capital: {
name: "Ottawa",
population: 883391
}
},
Given
var countries = [
{
country: "Canada",
capital: {
name: "Ottawa",
population: 883391
}
},
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
// ==UserScript== | |
// @name Monster Minigame Auto-script | |
// @namespace https://github.com/wchill/steamSummerMinigame | |
// @description A script that runs the Steam Monster Minigame for you. Modified from mouseas's original version to include autoclick. | |
// @version 1.0 | |
// @match http://steamcommunity.com/minigame/towerattack* | |
// @updateURL https://raw.githubusercontent.com/wchill/steamSummerMinigame/master/autoPlay.js | |
// @downloadURL https://raw.githubusercontent.com/wchill/steamSummerMinigame/master/autoPlay.js | |
// ==/UserScript== |
// require() some stuff from npm (like you were using browserify) | |
// and then hit Run Code to run it on the right | |
var RouteRecognizer = require('route-recognizer'); | |
var router = new RouteRecognizer(); | |
var handler = function () { | |
}; |
import exec from 'promised-exec'; | |
import chalk from 'chalk'; | |
import {argv} from 'yargs'; | |
import rimraf from 'rimraf'; | |
import buildConfig from './build-config.js'; | |
const error = chalk.red; | |
const ok = chalk.green; | |
const yellow = chalk.yellow; |
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
The Swagger specification is licensed under The Apache License, Version 2.0.
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
div { | |
width: calc(100% - 100px); | |
} |
Code review https://gist.github.com/cheapsteak/053085a7174ad988a99e
Flow
blank:
https://cdn.rawgit.com/cheapsteak/3338fc7826f789062c76/raw/588cb3e2a129515e0f7153fc10734584983c6687/benchmark-blank.html
(this is the "control" to see how long it takes just to request an empty js file)