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
Web server running on port 62635 | |
Mon Aug 25 21:29:46 CDT 2014 [worker-1] ERROR - GET / | |
javax.script.ScriptException: TypeError: Cannot get property "value" of null in <eval> at line number 52121 | |
at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:586) | |
at jdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:511) | |
at jdk.nashorn.api.scripting.NashornScriptEngine.invokeMethod(NashornScriptEngine.java:236) | |
at omelette.render$render_fn_STAR_$render_to_string__11629.invoke(render.clj:21) | |
at omelette.render$render_fn_STAR_$render__11631.invoke(render.clj:38) | |
at omelette.render$render_fn$render__11670.invoke(render.clj:55) | |
at omelette.route$wildcard_ring_route$fn__11733.invoke(route.clj:163) |
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
readlink: illegal option -- f | |
usage: readlink [-n] [file ...] | |
usage: dirname path | |
2014-07-11 00:08:12.366 node-webkit[20895:507] Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650 | |
LSOpenURLsWithRole() failed for the application /Applications/LightTable/LightTable.app with error -600. |
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
#!/usr/bin/env bash | |
echo "Gracefully reloading haproxy..." | |
sudo haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -sf $(cat /var/run/haproxy.pid) | |
echo "[done]" |
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
CREATE OR REPLACE FUNCTION public.rotate() | |
RETURNS boolean | |
LANGUAGE plv8 | |
AS $function$ | |
var toDegrees = function toDegrees (angle) { | |
return angle * (180 / Math.PI); | |
} | |
var rooms = plv8.execute( |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu-13.10_vmware.box" | |
config.vm.box_url = "http://shopify-vagrant.s3.amazonaws.com/ubuntu-13.10_vmware.box" |
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
global | |
#daemon | |
maxconn 256 | |
defaults | |
mode http | |
timeout connect 5000ms | |
timeout client 50000ms | |
timeout server 50000ms |
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
- name: add docker repository key | |
sudo: yes | |
shell: curl https://get.docker.io/gpg | apt-key add - | |
- name: add docker repository | |
sudo: yes | |
shell: echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list | |
- name: update apt | |
apt: update_cache=yes |
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
vagrant@precise64:~$ sudo docker commit ae7b241 blissdev postgres -run='{"Cmd": ["/bin/su", "postgres", "-c", "/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data"], "PortSpecs": ["5432"]}' | |
unexpected fault address 0x7e12a0 | |
fatal error: fault | |
[signal 0x7 code=0x2 addr=0x7e12a0 pc=0x464076] | |
goroutine 1 [running]: | |
[fp=0x7fbae07e8330] runtime.throw(0x9f9dab) | |
/usr/local/go/src/pkg/runtime/panic.c:473 +0x67 | |
[fp=0x7fbae07e8348] runtime.sigpanic() |
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
var http = require('http'); | |
http.createServer(function(req, res) { | |
res.end(process.env.whoami); | |
}).listen(3000); |