Skip to content

Instantly share code, notes, and snippets.

View kodewulf's full-sized avatar

Kodewulf kodewulf

  • Kodewulf.Com
  • Melbourne, Australia
View GitHub Profile
@paulmoore
paulmoore / base64.lua
Created May 1, 2012 00:28
URL safe Base64 in Lua
--- base64.lua
--
-- https://gist.github.com/2563975
--
-- V0.3 for Lua 5.1
--
-- A simple Base64 encoder/decoder that uses a URL safe variant of the standard.
-- This implementation encodes character 62 as '-' (instead of '+') and character 63 as '_' (instead of '/').
-- In addition, padding is not used by default.
-- A full description of the specification can be found here: http://tools.ietf.org/html/rfc4648
@Thermionix
Thermionix / auth-basic.conf
Last active November 4, 2021 00:56
nginx reverse proxy for sickbeard, couchpotato etc.
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;