View bluegreen.tf
1 2 3 4 5 6 7 8 9
provider "aws" {
access_key = "${var.access_key}"
secret_key = "${var.secret_key}"
region = "us-east-1"
}
 
resource "aws_elb" "experiments-main" {
name = "experiments-main"
availability_zones = ["us-east-1c", "us-east-1d"]
View gist:79c8f59b352e4b382f23
1 2 3 4 5 6 7 8 9 10
root@vagrant:~# hhvm hello.hh
 
Fatal error: /root/hello.hh appears to be a Hack file, but you do not appear to be running the Hack typechecker. See the documentation at http://docs.hhvm.com/manual/en/install.hack.bootstrapping.php for information on getting it running. You can also set Hack.Lang.LookForTypechecker=0 to disable this check (not recommended).
root@vagrant:~# mv hello.hh hello.^C
root@vagrant:~# vi ..hhconfig^C
root@vagrant:~# vi .hhconfig
root@vagrant:~# touch .hhconfig
root@vagrant:~# hh_client
Server launched for /root
Spawned hh_server (child pid=22984)
View Vagrantfile
1 2 3 4 5 6 7 8 9 10
Vagrant.configure(2) do |config|
config.vm.box = 'ubuntu/trusty64'
 
config.vm.provider 'virtualbox' do |v|
v.memory = 4096
v.cpus = 8
end
 
config.vm.network 'private_network', ip: '192.168.33.10'
config.vm.hostname = 'build.vagrant.stellar-ops.com'
View gist:8927373
1 2 3 4 5 6 7 8 9 10
> curl -v http://grails.org
* Adding handle: conn: 0x7fcf6b80aa00
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fcf6b80aa00) send_pipe: 1, recv_pipe: 0
* About to connect() to grails.org port 80 (#0)
* Trying 208.91.2.18...
* Connected to grails.org (208.91.2.18) port 80 (#0)
> GET / HTTP/1.1
View output.txt
1 2 3 4 5 6 7 8 9
[info] Compiling 1 Scala source to /Users/matschaffer/code/graphitedemos/demo-app/target/scala-2.10/classes...
[error] /Users/matschaffer/code/graphitedemos/demo-app/src/main/scala/com/devopscasts/demo/DemoServlet.scala:19: type mismatch;
[error] found : Long
[error] required: Int
[error] case requestStart: java.lang.Long => stats.recordExecutionTime("latency", requestEnd - requestStart)
[error] ^
[error] one error found
[error] (compile:compile) Compilation failed
[error] Total time: 1 s, completed Nov 23, 2013 11:04:23 PM
View jacksonsnippet.java
1 2 3
ObjectMapper mapper = new ObjectMapper()
mapper.configure(JsonParser.Feature.ALLOW_COMMENTS, true)
map = mapper.readValue(file, HashMap.class)
View hider.js
1 2 3 4 5 6 7 8 9 10
// ==UserScript==
// @name Hide Amazon Instant Video Purchase
// @namespace http://use.i.E.your.homepage/
// @version 0.1
// @description Hides all purchasing buttons on Amazon Instant Video pages. Helpful if you have kids watching it who like orange buttons better than green ones.
// @match www.amazon.com/*
// @copyright 2012+, You
// ==/UserScript==
 
jQuery(function () {
View core.clj
1 2 3 4 5 6 7 8 9 10
(ns soundscape.core
(:require [leipzig.live :refer :all]
[leipzig.melody :refer :all]
[leipzig.scale :refer :all]
[leipzig.canon :refer :all]
[overtone.live :as overtone]
[overtone.synth.stringed :as strings]
[overtone.at-at :as atat]))
 
(def wind-pool (atat/mk-pool))
View curl.out
1 2
> curl 'http://github.com/bittorrent/bencode.git/info/refs?service=git-upload-pack'
curl: (7) couldn't connect to host
View Jarfile
1
jar 'com.netflix.hystrix:hystrix-core', '~>1.2.16'
Something went wrong with that request. Please try again.