Skip to content

Instantly share code, notes, and snippets.

View zirkuswurstikus's full-sized avatar

Christian Degen zirkuswurstikus

  • Stuttgart, Germany
View GitHub Profile
@zirkuswurstikus
zirkuswurstikus / Lua_postgres_example.adoc
Last active May 29, 2024 04:18
An example on how to install luasql-postgres using luarockt on macOS to query a public database
@zirkuswurstikus
zirkuswurstikus / lua_build_macos.sh
Last active June 21, 2025 23:16
A step by step guide on how to install lua, luajit and luarocks from sources on macOS.
# Build & install Lua on macOS
# We will compile Lua 5.1 because it is compatible with openresty/lapis.
# Replace the variables from line 30 ff to install a diffrent version.
# See: https://www.lua.org/manual/5.1/
# NOTE:
# We create a dedicated directory for the Lua stuff to putt all the stuff in.
@zirkuswurstikus
zirkuswurstikus / vagrant_smb_credentials_windows.adoc
Last active May 28, 2024 20:50
Vagrant Windows: Create vagrant user on host to access smb shares

Vagrant Windows: Create vagrant user on host to access smb shares

Create user vagrant

Powershell as Administrator
# Create user vagrant with password vagrant
$username = "vagrant"
$password = ConvertTo-SecureString "vagrant" -AsPlainText -Force