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 / HOWTO.md
Last active April 19, 2026 07:12
Python Virtual Environment Workflow

Python Virtual Environment Workflow

mkvenv              # create + activate venv named after current dir
mkvenv my-name      # create + activate venv with explicit name
workon my-project   # activate existing venv
deactivate          # deactivate current venv
rmvenv              # deactivate + remove current venv
rmvenv my-name      # deactivate (if active) + remove named venv
lsvenv              # list all venvs with linked project paths
@zirkuswurstikus
zirkuswurstikus / timemachine-smb-nas-repair.md
Last active April 17, 2026 02:26
Time Machine over SMB on Synology NAS — Repair Guide

Time Machine over SMB on Synology NAS — Repair Guide

A complete walkthrough of diagnosing and fixing a broken Time Machine backup to a Synology DS218j NAS over SMB. Every problem encountered, root cause, and fix is documented with explanation of terms and config options.


Setup

Component Details
@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 March 29, 2026 05:48
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