I hereby claim:
- I am loopj on github.
- I am loopj (https://keybase.io/loopj) on keybase.
- I have a public key whose fingerprint is 0934 A3F0 929C 1EA3 520B 853E 7C99 463C 46ED 627C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def hodor(hodor): | |
return { | |
0: "Hodor", | |
1: "Hodor Hodor" | |
}[hodor] |
"use strict"; | |
var Promise = require("bluebird"); | |
describe("ES7 async functions in Mocha", function() { | |
it("are really cool!", async function(){ | |
console.log("waiting..."); | |
await Promise.delay(1000); |
#!/usr/bin/env bash | |
AZ_PATH=$HOME | |
AZ_CONTAINER_NAME=azure-cli | |
AZ_IMAGE_TAG=azure-cli | |
az() { | |
docker exec -it $AZ_CONTAINER_NAME az "${@}" | |
} |
/** | |
* JS scoping, and this property resolutions rules in ES7/ES8. | |
* | |
* Quiz: x is gone, and x is everywhere! | |
* | |
* Help find Xs! What's the output? | |
*/ | |
let x = 1; |
// Created by Max Luster (@maxluster) | |
// Usage instructions at https://bugsnag.com/blog/responsive-typography-with-chained-media-queries | |
// Requires SASS >= 3.3 | |
// Enhanced by Breakpoint 2.4.x and Compass 1.0 (alpha) | |
// For SASS 3.2.x support, use https://gist.github.com/maxluster/c9ecc6e4a6770e507c2c | |
// Provides a simplified syntax for chaining media queries across named or numeric breakpoints | |
@mixin responsive($properties, $default-value, $responsive-values){ | |
// No named breakpoints by default |
################################## INSTRUCTIONS ################################## | |
# 1. Make sure docker-machine is installed on your machine # | |
# 2. Download the file # | |
# 3. Run using $ . swarm-with-docker-machine.sh so that DOCKER_HOST is exported # | |
################################################################################## | |
# Remove any existing machines | |
docker-machine rm -y manager agent1 agent2 | |
# Create machines |
#!/usr/bin/env bash | |
# Configurable variables | |
database='vagrant' | |
username='vagrant' | |
password='vagrant' | |
echo '' | |
echo ' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~' | |
echo ' Bootstrapping Ubuntu Precise 32bit for Laravel 4' |
thanks to @neurodyne and this link for updated instructions
This works with the following versions of termsrv.dll
x64 - termsrv.dll - 6.3.9600.17095
Find | Replace |
---|---|
39813C0600000F849E310500 | B80001000089813806000090 |
090085C07F078BD8 | 090085C090908BD8 |
package main | |
import ( | |
"log" | |
"net/http" | |
"net/http/httputil" | |
) | |
func main() { | |
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { |