This file contains hidden or 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
| (let [c (om/get-props owner) | |
| v (deref c)] | |
| (log v)) | |
| ; Uncaught Error: Cannot manipulate cursor outside of render phase, only om.core/transact!, om.core/update!, and cljs.core/deref operations allowed | |
| ; from line 2 |
This file contains hidden or 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
| echo substr(hash('sha256', time()), 0, 32); |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |