Skip to content

Instantly share code, notes, and snippets.

View neiser's full-sized avatar

Andreas Grub neiser

View GitHub Profile
@neiser
neiser / setup.md
Last active May 14, 2024 06:30
Ubuntu 24.04 debootstrap cryptsetup

The following is loosely based on

Setup

sudo su -
add-apt-repository universe
apt update && apt install -y debootstrap arch-install-scripts
@neiser
neiser / conventional-commit-regex-for-gitlab.yml
Last active March 27, 2025 13:58
Conventional Commit Regex for GitLab Push Rule
# The regex is split into a YAML sequence for better commenting
# Use
# yq 'join("")' conventional-commit-regex.yml
# to get the actual regex string!
# Test changes using
# https://regex101.com/r/tl6h3n/6 (please update this if you make some changes below)
# See also https://docs.gitlab.com/user/project/repository/push_rules/#validate-commit-messages
# In particular, note that GitLab uses multiline mode by default, so use \A, \z instead of ^ or $