Change SSH Port in Linux Safely: AlmaLinux, Rocky, Debian and Ubuntu (Tested)
Change the SSH port from 22 without locking yourself out: firewall first (CSF, firewalld, UFW), SELinux label, both ports during the switch, Ubuntu 24.04 ssh.socket, fail2ban and clients. Tested on our lab servers.
October 9, 2026
Block AI Crawlers Without Leaving AI Search: robots.txt, .htaccess and IP Checks
Block AI training crawlers like GPTBot and ClaudeBot while keeping Google, ChatGPT search, Claude and Perplexity able to find you, with a tested robots.txt, an .htaccess rule and an IP check.
October 9, 2026
Automate SSL Certificate Renewal for 45-Day Certificates: certbot, cPanel and DirectAdmin
Set up SSL certificate renewal that survives 45-day certificates: certbot with ARI and a deploy hook, cPanel AutoSSL, DirectAdmin's lifetime-based renewal, and an expiry check from outside.
October 9, 2026
Verilog and SystemVerilog Cheat Sheet for Sim and Synthesis
A compact Verilog and SystemVerilog reference for writing synthesisable RTL and simple testbenches, with the open-source commands to simulate, lint and synthesise.
October 9, 2026
Terminal Shortcuts Cheat Sheet: Bash, Zsh and tmux
Keyboard shortcuts and shell features for Bash and Zsh: line editing, history, job control, redirection, globbing, tmux and terminal apps.
October 9, 2026
TypeScript Cheat Sheet: Types, Generics and tsconfig
A compact TypeScript 7.0 reference covering types, narrowing, generics, utility types and tsconfig, with examples checked by tsc 7.0.2.
October 9, 2026
SQL Cheat Sheet: MySQL, MariaDB and PostgreSQL Syntax
Everyday SQL syntax with the MySQL, MariaDB and PostgreSQL differences that trip people up, plus admin queries for database servers.
October 9, 2026
Swift Cheat Sheet: Syntax, Optionals, Protocols and async
A compact Swift 6.4 reference covering SwiftPM, optionals, collections, closures, types, protocols, error handling and concurrency, on macOS or Linux.
October 9, 2026
Rust Cheat Sheet: Cargo, Ownership, Enums and Errors
A compact reference for current stable Rust covering Cargo, ownership, pattern matching, collections, error handling, traits and threads.
October 9, 2026
Solidity Cheat Sheet: 0.8.x Types, Functions and Errors
A compact Solidity 0.8.x reference covering solc, types, data locations, functions, custom errors, events, inheritance and safe ether transfers.
October 9, 2026
Regex Cheat Sheet: PCRE, JavaScript, Python and grep -E
Regular expression syntax with the differences between PCRE, JavaScript, Python and grep -E, tested on real log lines.
October 9, 2026
Ruby Cheat Sheet: Syntax, Blocks, Hashes and Classes
A compact Ruby 3.3+ reference with tables for strings, collections, blocks, pattern matching, classes, exceptions and file handling.
October 9, 2026
