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

Bootstrapping a Debian Machine

Debian Guides

Installation Clean Up the Standard Installation sudo apt purge debian-faq doc-debian installation-report tasksel sudo apt --purge autoremove Install Essentials sudo apt install bash-completion bind9-dnsutils bzip2 curl ethtool htop iotop screen sudo unzip vim ...

Shell Style Guide

Shell Scripting Guides

Shell Script Heading #!/usr/bin/env bash # SPDX-License-Identifier: Apache-2.0 # SPDX-FileCopyrightText: 2026 Tomáš Havlas <tomas@havlas.me> Bash "Strict Mode" set -euo pipefail Error Log Function with Timestamp function log() { echo "[$(date +'%Y-%m-%dT%H:%...

Shell Snippet Collection

Shell Scripting Guides

Write line same length as variable text head -c "${#VARNAME}" </dev/zero | tr '\0' '-'

Tweaking Bash

Debian Guides Tweaking a Debian Machine

Disable Bash History sudo tee "/etc/bash.bashrc" >/dev/null <<'EOF' unset HISTFILE export HISTSIZE=0 export HISTFILESIZE=0 EOF

Networking Cheat Sheet

Debian Guides

Limitting NIC Auto-Negotiation Cap Auto-Negotiation at 10 Mbps sudo ethtool -s [NIC] autoneg on advertise 0x002 Cap Auto-Negotiation at 100 Mbps sudo ethtool -s [NIC] autoneg on advertise 0x008 Cap Auto-Negotiation at 1000 Mbps sudo ethtool -s [NIC] autoneg on...

Run pygame on raspberry pi without X

Python Guides

sudo apt install screen python3-pygame python3-pygame-sdl2 sudo apt install --reinstall mesa-vulkan-drivers mesa-va-drivers mesa-vdpau-drivers libgl1-mesa-dri sudo apt install --reinstall libgl1-mesa-dri sudo apt install --reinstall libegl1-mesa libgles2-mesa ...

New Page

OpenWRT Admin WireGuard VPN

opkg update opkg install wireguard-tools luci-proto-wireguard

Button / Switch

Raspberry Pi

Set the GPIO to input mode with pull-up. Place 100nF capacitor between GPIO and GND. (Optional) Place 10k resistor between GPIO and 3V3.

WebDAV (Nextcloud) Troubleshooting

Windows Admin

Problem You receive the following error message: Error 0x800700DF: The file size exceeds the limit allowed and cannot be saved. https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html#known-problems Solution Windows limits the maximum ...

Missing Disk Space?

Debian Guides Troubleshooting

Check Deleted but Still Opened Files lsof | grep '(deleted)'

adb cheatsheet

Android Guides adb cheatsheet

Windows Cheatsheet

Windows Admin

Open "Startup" Directory Use the Windows + R keyboard shortcut to open the Run menu. Type shell:startup in the box and press Enter (or click "OK"). Disable "DiagTrack" Service (Causing High Disk Usage) Use the Windows + R keyboard shortcut to open the Run m...

SMB (File Sharing) Troubleshooting

Windows 11 Guides Troubleshooting

Problem You receive the following error message: Error 0x80070035: TODO(error message). Solution AllowInsecureGuestAuth.reg DisableSMBClientSigning.reg Using Command Prompt reg add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" ^ /v Al...

SSH Cheat Sheet

SSH Guides

Set Up a SOCKS Proxy Tunnel ssh -D [PORT] -C -N [HOST] Use 127.0.0.1:[PORT] as a SOCKS5 proxy in your application. (TODO) Accept ssh-rsa ssh -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedKeyTypes=+ssh-rsa [HOST]

wget cheatsheet

How to Clone a Website

Make a "static" copy of website wget -k -K -E -r -l 10 -p -N -F --restrict-file-names=windows -nH http://website.com/

KMS "Screenshot"

Raspberry Pi

ffmpeg -f kmsgrab -i - -vf "hwdownload,format=bgr0" screenshot.png

Makefile Snippets

PHP Guides

Laravel Based Project Install Dependencies .PHONY: local/install local/install: composer install Update Dependencies .PHONY: local/update local/update: composer update Run Local Instance DEVHOST := 127.27.0.1 DEVPORT := 8081 .PHONY: local/up local/up: ph...

Initialize React Project with Vite

JavaScript Guides React Development Guide

Create a New Project export VITE_PROJECT="vite-project" yarn create vite -t react --no-interactive "$VITE_PROJECT" Cleanup Vite Project Template yarn install --immutable --immutable-cache yarn remove @types/react @types/react-dom yarn remove oxlint rm .o...