Skip to content

Instantly share code, notes, and snippets.

View sandrokeil's full-sized avatar

Sandro Keil sandrokeil

View GitHub Profile
@sandrokeil
sandrokeil / Dockerfile
Created February 25, 2017 11:38
nginx with lua-resty-auto-ssl - On the fly (and free) SSL registration and renewal inside nginx with Let's Encrypt.
FROM alpine:3.5
ENV NGINX_VERSION 1.11.10
ENV LUAROCKS_VERSION 2.4.2
ENV NGX_DEVEL_KIT_VERSION 0.3.0
ENV LUA_NGINX_MODULE_VERSION 0.10.7
# or tell where to find Lua if using Lua instead:
ENV LUA_LIB /usr/lib
ENV LUA_INC /usr/include
@sandrokeil
sandrokeil / keybase.md
Created September 9, 2019 18:27
keybase.md

Keybase proof

I hereby claim:

  • I am sandrokeil on github.
  • I am sandrokeil (https://keybase.io/sandrokeil) on keybase.
  • I have a public key ASAC4DhmaQ5nvrzUk9a_Niig1k88SzP-lJl8-oBgwUvb8wo

To claim this, I am signing this object:

@sandrokeil
sandrokeil / git-batch-upstream-branch-update
Created January 5, 2016 22:59
git-batch-upstream-branch-update
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "First parameter is a file with a list of repos git-batch-upstream-branch-update repos.txt"
fi
ROOTDIR=$(pwd)
cd $ROOTDIR
cat $1 | while read line