Skip to content

Instantly share code, notes, and snippets.

View tlemburg's full-sized avatar

Tyler Lemburg tlemburg

View GitHub Profile
#
# It does not do anything by default, delegating control to the
# builtin VCL. The builtin VCL is called when there is no explicit
# return statement.
#
# See the VCL chapters in the Users Guide at https://www.varnish-cache.org/docs/
# and https://www.varnish-cache.org/trac/wiki/VCLExamples for more examples.
# Marker to tell the VCL compiler that this VCL has been adapted to the
# new 4.0 format.
@tlemburg
tlemburg / gist:b07b1f42b0a57a961072
Created March 5, 2015 02:57
Error log for packaged shoes apps not opening
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=10717bb4d, pid=407, tid=140735198561024
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (21.0-b17 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# V [libjvm.dylib+0x3deb4d] SharedRuntime::resolve_sub_helper(JavaThread*, bool, bool, Thread*)+0x1a9
#
@tlemburg
tlemburg / gist:dcb648bb93b07c6f169a
Created October 1, 2014 18:55
Doing the XOR operator in javascript.
Boolean.prototype.xor = function (other) {return (!this && Boolean(other)) || (this && !Boolean(other))}