All posts274

Linux - Generate documentation from Bash scripts →
Learn to auto-generate documentation for your Bash scripts on Linux. This guide provides a custom script to parse function doc blocks and create structured Markdown files automatically.
July 29, 2024 · 3 min read

Linux - Compare two versions of the same script →
Use a simple Linux command-line trick with diff, grep, and awk to compare two versions of the same Bash script. Quickly identify missing or new functions across file versions or entire folders.
July 28, 2024 · 7 min read

Linux - Sort functions in a Bash script →
Learn how to use diff and sort in Bash to check if functions in your shell scripts are defined in alphabetical order. Includes a script to scan an entire directory.
July 28, 2024 · 5 min read

Let's revisit the ls command thanks to eza →
Tired of typing ls -alh? Discover eza, the modern, feature-rich replacement for the basic Linux ls command. Learn how to install it and set up a powerful new alias for a better command-line experience.
July 23, 2024 · 4 min read

Linux - Comparing two folders/files in the console →
Efficiently compare two files or entire folders in Linux using the diff command. Get advanced bash scripts for industrial-level comparison.
July 19, 2024 · 2 min read

SQL - Formatting tool →
Easily clean up unreadable, legacy SQL code with a simple formatting tool. Make your SQL queries instantly readable and kickstart your code review process.
July 17, 2024 · 2 min read

Makefile - Tutorial and Tips & Tricks →
Essential Makefile tips and tricks for automation. Learn to check file existence, run dependent targets, use conditional logic, suppress errors, and integrate with Docker in your scripts.
July 16, 2024 · 13 min read

Microsoft Outlook - VBA - Save emails as PDF →
Learn how to implement a VBA macro in Microsoft Outlook to easily save selected emails as PDF files to your hard drive, complete with step-by-step installation and usage instructions.
July 10, 2024 · 3 min read

Clean code - Linux Bash - Keep the number of function parameters as small as possible →
Apply Clean Code to your Linux Bash scripts. Discover how to avoid too many function parameters by using a simple, robust associative array solution.
June 28, 2024 · 2 min read

Introduction to Behat →
Learn how to use Behat, the open-source Behavior-Driven Development (BDD) framework for PHP. This introduction covers writing powerful functional tests in plain language and setting up your first project.
June 24, 2024 · 16 min read

PHP Getter and Setter in VSCode →
Implement secure PHP Getters and Setters in VSCode effortlessly. Learn the best practices for private class properties and use the recommended extension to generate them instantly.
June 16, 2024 · 3 min read

How to generate a graph from compose.yaml →
Instantly visualize your Docker Compose architecture. Use `compose-viz` to generate a clear graph of services, dependencies, and exposed ports from your `compose.yaml` file.
June 8, 2024 · 4 min read