Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

83 total results found

EditorConfig Guide

Tooling Guides

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

Tooling Guides Version Control Guides

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

Let's Encrypt Guides

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

LXC Guides

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

ownCloud Guides

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

JavaScript Guides

https://tanstack.com/router/latest

Install and Setup Tailwind CSS

JavaScript Guides React Development Guide

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

JavaScript Guides React Development Guide

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

JavaScript Guides

NPM Supply Chain Attack Mitigation yarn config set ignore-scripts true -g # [!] NPM Supply Chain Attack Mitigation enableScripts: false

Installing the Semaphore UI

Ansible Guides

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

Ansible Guides

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

Tooling Guides Version Control Guides

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

Tooling Guides Version Control Guides

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

Ansible Guides

EditorConfig Code Style [{*.yml,*.yaml}] indent_size = 2 #indent_style = space

Shields.io Templates

KB Havlas.Me Design Manual

Copy & Paste Templates [![example.com](https://img.shields.io/badge/example.com-0288D1?style=flat)](https://www.example.com/) [![documentation](https://img.shields.io/badge/documentation-077b70?style=flat)](https://www.example.com/) [![downloads](https://img.s...

PHP Tooling Guide

PHP Guides

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

Tooling Guides

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 Guides

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 ...