Skip to content

Instantly share code, notes, and snippets.

@roflmao
roflmao / index.pug
Created Sep 9, 2020
Only CSS: Usually Button
View index.pug
a.horizontal
span.text Horizontal
a.vertical
span.text Vertical
View keybase.md

Keybase proof

I hereby claim:

  • I am roflmao on github.
  • I am roflmao (https://keybase.io/roflmao) on keybase.
  • I have a public key ASC3dvuxtu220TjdCKKEa2z7xQYyu-SG5DuN7vMI6-sVwgo

To claim this, I am signing this object:

View gist:c42d5393f4ccb526e86c
if (beresp.ttl <= 0s ||
beresp.http.Set-Cookie ||
beresp.http.Surrogate-control ~ "no-store" ||
(!beresp.http.Surrogate-Control &&
beresp.http.Cache-Control ~ "no-store|private") ||
beresp.http.Vary == "*") {
/*
* Mark as "Hit-For-Pass" for the next 2 minutes
*/
set beresp.ttl = 120s;
View gist:1b615120d6bddbe0821a
#eth0 is manually configured, and slave to the "bond0" bonded NIC
auto eth0
iface eth0 inet manual
bond-master bond0
bond-primary eth0
#eth1 ditto, thus creating a 2-link bond.
auto eth1
iface eth1 inet manual
bond-master bond0
View gist:bd7ea2c936f28f08b8fe
kv {
field_split => ":"
tags => ["deploy"]
add_tag => "deploy-kv"
}
View gist:9c78e5a1ab84a9930a0b
Content-Type: text/html;charset=UTF-8
X-Varnish: 29 98320
Age: 0
Via: 1.1 varnish-v4
X-Grace: none
Accept-Ranges: bytes
Content-Length: 105044
Date: Fri, 01 Aug 2014 08:14:00 GMT
X-Varnish: 1710695096
Age: 0
View gist:7192369
mark_position=0
mark_encrypted=·
View gist:7116338
ub vcl_recv {
if (req.backend.healthy) {
set req.grace = 5m;
} else {
set req.grace = 1h;
}
if ( req.url ~ "/static/" ) {
unset req.http.Cookie;
View gist:6881387
On tap at CROW:
1. Scream Ale
2. India Vienna Lager
3. Dead Canary Lager (Keller/Zwickelbier)
4. Crow Experimental IPA #4 (KIWI HOPS)
5. Last of the Kakako
6. Black CROW lager
7. Flying Couch Bastard (Amber Ale)
8. Red Rice Ale
View gist:6865485
HTTP/1.1 500 Internal Server Error
Vary: Accept-Encoding
Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
Date: Mon, 07 Oct 2013 10:08:29 GMT
Content-Type: text/html
Content-Length: 1009
<html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request:<br><pre>[{webmachine_resource,do,3,[{file,"src/webmachine_resource.erl"},{line,142}]},
{webmachine_decision_core,resource_call,1,
[{file,"src/webmachine_decision_core.erl"},