Skip to content

Instantly share code, notes, and snippets.

Go
----
go-plus
Python
----
yapf
#!/bin/env bash
set -e -o pipefail
latest_nginx=$(curl -L http://nginx.org/en/download.html | egrep -o "nginx\-[0-9.]+\.tar[.a-z]*" | head -n 1)
cd /tmp
git clone --depth=1 https://boringssl.googlesource.com/boringssl &
(curl -fLRO "http://nginx.org/download/${latest_nginx}" && tar -xaf "${latest_nginx}") &
wait

Keybase proof

I hereby claim:

  • I am mikecb on github.
  • I am mikecb (https://keybase.io/mikecb) on keybase.
  • I have a public key whose fingerprint is 0CC0 04C2 E899 37FC 5E75 1933 49E6 6316 33D6 86FB

To claim this, I am signing this object:

@mikecb
mikecb / nginx.conf
Last active December 19, 2015 06:29
mikecb.cc nginx config
user www-data;
worker_processes 4;
worker_priority 15;
pid /var/run/nginx.pid;
events {
worker_connections 512;
}
http {
default_type application/octet-stream;
include /etc/nginx/mime.types;