nginx -c `pwd`/nginx.conf
git clone https://github.com/bsingr/teeproxy
package main | |
import ( | |
"log" | |
"net/http" | |
) | |
func main() { | |
_, err := http.Get("https://golang.org/") | |
if err != nil { |
^C | |
failed MSpanList_Insert 0x2d5000 0xa6f03008469 0x0 | |
fatal error: MSpanList_Insert | |
runtime stack: | |
runtime.throw(0x278a4b) | |
/usr/local/Cellar/go/1.4.2/libexec/src/runtime/panic.go:491 +0xad fp=0x7fff5fbff220 sp=0x7fff5fbff1f0 | |
runtime.MSpanList_Insert(0x297e48, 0x2d5000) | |
/usr/local/Cellar/go/1.4.2/libexec/src/runtime/mheap.c:692 +0x8f fp=0x7fff5fbff248 sp=0x7fff5fbff220 | |
MHeap_FreeSpanLocked(0x294a40, 0x2d5000, 0x100) |
Copyright (c) 2016 Jens Bissinger | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all |
daemon off; | |
error_log /dev/stderr warn; | |
worker_processes 4; | |
events { | |
worker_connections 1024; | |
multi_accept on; | |
} |
# Chrome | |
chrome://net-internals/#dns | |
# Firefox | |
about:config |
#!/bin/bash | |
# login user=pi pass=raspberry | |
sudo su | |
# apt-get update | |
# apt-get install -y --no-install-recommends parted | |
parted # resize to full disk |
#!/bin/bash | |
# users | |
find -printf "%u\n" | sort | uniq -c | |
# groups | |
find -printf "%g\n" | sort | uniq -c |
# | |
# This is an example VCL file for Varnish. | |
# | |
# 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 http://varnish-cache.org/trac/wiki/VCLExamples for more examples. |
// call the hibiscus xml rpc from nodejs | |
// see http://www.willuhn.de/wiki/doku.php?id=develop:xmlrpc#xml-rpc-aufrufe_im_detail | |
// install: | |
// npm install --save xmlrpc underscore | |
// run: | |
// node client-example.js | |
var xmlrpc = require('xmlrpc'), |