Advanced Search
Search Results
83 total results found
EditorConfig Guide
General Code Style # SPDX-License-Identifier: 0BSD # SPDX-FileCopyrightText: none root = true [*] charset = utf-8 end_of_line = lf indent_size = 4 indent_style = space insert_final_newline = true tab_width = 4 trim_trailing_whitespace = true [*.md] # Trailing ...
Git Client Guide
Installation sudo apt install git git-lfs Initial Client Setup git config --global user.name "[NAME]" git config --global user.email "[EMAIL]" git config --global init.defaultBranch "main" git config --global core.excludesFile "~/.gitignore" git lfs install te...
Setup an ACME DNS with Knot
Installation export KNOT_ZONED="/etc/knot/zone.d/" sudo apt-get -y install knot sudo mkdir -p "$KNOT_ZONED" sudo chmod 0750 "$KNOT_ZONED" sudo chown root:knot "$KNOT_ZONED" cat << EOF | sudo tee /var/lib/knot/acmeauth.havlas.me.zone > /dev/null acmeauth.hav...
LXC Cheat Sheet
Create a New Machine export VM_NAME="acmeauth" sudo lxc launch images:debian/13 "$VM_NAME" Static IP export VM_NAME="acmeauth" export VM_IP4ADDR="10.27.27.20" lxc stop "$VM_NAME" lxc network attach lxd0 "$VM_NAME" eth0 eth0 lxc config device set "$VM_NAME" eth...
Install ownCloud on Debian Machine
Installation export OWNCLOUD_URL="https://data.havlas.me" sudo wget -O /usr/local/bin/owncloud https://github.com/owncloud/ocis/releases/download/v8.0.0/ocis-8.0.0-linux-amd64 sudo chmod 0755 /usr/local/bin/owncloud sudo mkdir -p /etc/owncloud sudo mkdir -p...
TanStack’s Routing
https://tanstack.com/router/latest
Install and Setup Tailwind CSS
yarn add --dev tailwindcss @tailwindcss/vite // SPDX-FileCopyrightText: None // SPDX-License-Identifier: 0BSD import {defineConfig} from 'vite' import tailwindcss from '@tailwindcss/vite' export default defineConfig({ plugins: [ tailwindcss(), ], ...
Install and Setup Vitest Framework
yarn add --dev vitest jsdom @testing-library/dom @testing-library/jest-dom @testing-library/react // SPDX-FileCopyrightText: None // SPDX-License-Identifier: 0BSD import {defineConfig} from 'vite' export default defineConfig({ test: { environment: '...
NPM/YARN Security Notice
NPM Supply Chain Attack Mitigation yarn config set ignore-scripts true -g # [!] NPM Supply Chain Attack Mitigation enableScripts: false
Installing the Semaphore UI
Installation sudo apt install ansible python3-jmespath yq sudo wget "https://github.com/semaphoreui/semaphore/releases/download/v2.19.12/semaphore_2.19.12_linux_amd64.deb" -O "/usr/local/src/semaphore_2.19.12_linux_amd64.deb" sudo apt install "/usr/local/src/s...
Setup Agent on Client Node
groupadd -g 2042 ansible-agent useradd --create-home --home /var/lib/ansible --shell /bin/bash -u 2042 -g 2042 ansible-agent passwd -l ansible-agent mkdir -p /var/lib/ansible/.ssh touch /var/lib/ansible/.ssh/authorized_keys chown ansible-agent /var/lib/ansible...
Commitizen Guide
Installation pipx install commitizen Auto-Check Commits via Git Hooks #!/usr/bin/env bash # SPDX-License-Identifier: Apache-2.0 # SPDX-FileCopyrightText: 2026 Tomáš Havlas <tomas@havlas.me> # # Enforce the Conventional Commits format with Commitizen. set -euo ...
Git Repository Guide
Exclude Files from Version Tracking # SPDX-License-Identifier: 0BSD # SPDX-FileCopyrightText: none *.backup *.bak *.key *.local *.log *.pem *.sqlite* *.swp *.tmp *~ Keep Git Hooks in Project Git Hooks Initialization Recipe # SPDX-License-Identifier: 0BSD # SPD...
Ansible Authoring Guide
EditorConfig Code Style [{*.yml,*.yaml}] indent_size = 2 #indent_style = space
Shields.io Templates
Copy & Paste Templates [](https://www.example.com/) [](https://www.example.com/) [![downloads](https://img.s...
PHP Tooling Guide
EditorConfig Code Style # SPDX-License-Identifier: 0BSD # SPDX-FileCopyrightText: none [*.html] indent_size = 2 tab_width = 2 [*.js] indent_size = 2 tab_width = 2 ij_continuation_indent_size = 4 ij_javascript_enforce_trailing_comma = whenmultiline [*.php] inde...
Justfile Guide
Installation curl --proto '=https' --tlsv1.2 -sSf "https://just.systems/install.sh" | sudo bash -s -- --to "/usr/local/bin" Usage Show Help Recipe # SPDX-License-Identifier: 0BSD # SPDX-FileCopyrightText: none # # Default the `just` invocation to an overview o...
Python Tooling Guide
Python Code Style # SPDX-License-Identifier: 0BSD # SPDX-FileCopyrightText: none [*.py] indent_size = 4 indent_style = space Exclude Files from Version Tracking # SPDX-FileCopyrightText: None # # SPDX-License-Identifier: 0BSD .env .env.production .env.staging ...