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
➜ kong-vagrant git:(master) ✗ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Checking if box 'ubuntu/xenial64' is up to date... | |
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision` | |
==> default: flag to force provisioning. Provisioners marked to run always will still run. | |
➜ kong-vagrant git:(master) ✗ vagrant ssh | |
Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-137-generic x86_64) | |
* Documentation: https://help.ubuntu.com | |
* Management: https://landscape.canonical.com |
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
const crypto = require( 'crypto' ); | |
const hostname = 'localhost'; | |
const proxyPort = '8000'; | |
const http = require( 'http' ); | |
const requestPath = '/v1.0/recognition/public-wall'; | |
const hmacHeaders = ( username, secret ) => { | |
const date = new Date().toUTCString(); | |
const stringToSign = 'date: ' + date; | |
const encodedSignature = crypto.createHmac( 'sha1', secret ).update( stringToSign ).digest( 'base64' ); |
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
2017/01/30 15:25:11 [INFO] Terraform version: 0.8.5 b4d477660b5abd20f2a70175460c9603797fada0 | |
2017/01/30 15:25:11 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"} | |
2017/01/30 15:25:11 [DEBUG] Detected home directory from env var: /Users/dehnel | |
2017/01/30 15:25:11 [DEBUG] Detected home directory from env var: /Users/dehnel | |
2017/01/30 15:25:11 [DEBUG] Attempting to open CLI config file: /Users/dehnel/.terraformrc | |
2017/01/30 15:25:11 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/01/30 15:25:11 [DEBUG] Detected home directory from env var: /Users/dehnel | |
2017/01/30 15:25:11 [TRACE] Preserving existing state lineage "6702bb27-c16d-47e3-8f6f-d58ef5ebf424" | |
2017/01/30 15:25:11 [TRACE] Preserving existing state lineage "6702bb27-c16d-47e3-8f6f-d58ef5ebf424" | |
2017/01/30 15:25:11 [TRACE] Graph after step *terraform.ConfigTransformerOld: |
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
resource "aws_iam_policy" "terraform_create_policy" { | |
name = "terraform_create_policy" | |
path = "/" | |
policy = "${data.aws_iam_policy_document.terraform_create_policy.json}" | |
} | |
data "aws_iam_policy_document" "terraform_create_policy" { | |
statement { | |
sid = "1" | |
actions = [ |
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
{ | |
"people": { | |
"living": [ | |
{ | |
"lat": 42, | |
"long": 59, | |
"length": 10 | |
}, | |
{ | |
"lat": 31, |
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
cassandra: | |
image: mashape/cassandra | |
kong: | |
image: vikingco/kong | |
links: | |
- cassandra | |
ports: | |
- "8001:8001" | |
- "8000:8000" |
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
/* entire container, keeps perspective */ | |
.flip-container { | |
perspective: 1000; | |
} | |
/* flip the pane when the "hover" class is added */ | |
.flip-container.hover .flipper { | |
transform: rotateY(180deg); | |
} |