Skip to content

Instantly share code, notes, and snippets.

View vaijab's full-sized avatar

Vaidas Jablonskis vaijab

View GitHub Profile
@oroce
oroce / nginx.conf
Created January 31, 2014 20:40
nginx config for using grafana, elasticsearch and graphite with authentication.
user www-data;
worker_processes 1;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
sendfile on;
@wallrat
wallrat / proxy.go
Created July 6, 2012 11:25
Simple GO TCP proxy
package main
import (
"net"
"fmt"
"io"
"os"
)
func main() {
if len(os.Args) != 3 {
fatal("usage: netfwd local remote")