All posts274

Search and replace (or add) using sed →
Master Linux sed for dynamic file editing. Learn how to search and replace an existing variable or seamlessly add a new line if the variable is not found in your configuration file.
January 25, 2024 · 5 min read

Exterminate them all, fight spam directly at your host company →
Stop email spam at the source! Discover how to use cPanel's SpamAssassin to blacklist and whitelist domains, including an advanced method for directly editing the user_prefs file via FTP.
January 23, 2024 · 3 min read

WinSCP - Retrieve a stored password →
Did you forget a saved WinSCP password? Follow this quick guide to enable logging and retrieve your stored password in plain text from your session log file.
January 21, 2024 · 2 min read

Autosave feature in VSCode →
Tired of forgetting to save files in VS Code? Learn how to easily enable the Autosave feature, set it to onFocusChange, and never lose unsaved changes again!
January 20, 2024 · 2 min read

Rendering a JSON file as a mind map →
Transform complex JSON data into clear, interactive mind maps with JSON Crack. Discover how this powerful tool simplifies data visualization and enhances data understanding.
January 18, 2024 · 2 min read

GitHub - Use Actions to deploy this blog →
Stop manual FTP deployments! Learn how to automate your blog's deployment with GitHub Actions. This step-by-step guide shows you how to set up the workflow and use repository secrets for automatic updates on every push.
January 14, 2024 · 5 min read

Getting the number of published posts →
Learn the quick and easy way to display the total number of published blog posts on your Docusaurus site using custom components and theme API.
January 8, 2024 · 2 min read

Don't query your PostgreSQL db anymore, prefer PostgREST →
Use Docker and PostgREST to instantly turn your PostgreSQL database into a powerful RESTful API. Eliminate SQL queries and complex database models from your application code with this simple setup tutorial.
January 6, 2024 · 10 min read

Play with Microsoft SQL Server 2022 using Docker →
Easily run MSSQL Server 2022 using Docker. This step-by-step guide shows you how to install the container, connect with SSMS, and start querying your database.
January 5, 2024 · 5 min read

Using variables from external file in your Quarto project →
Stop hardcoding! Learn how to easily manage and reuse variables in your Quarto documentation using external YAML files and environment variables.
January 3, 2024 · 5 min read

Some tips and tricks for Quarto when rendering as a reveal.js slideshow →
Elevate your Quarto presentations! Discover essential tips and tricks for rendering stunning reveal.js slideshows, including custom title slides, logo placement, CSS/JS customization, and advanced slide layouts.
January 3, 2024 · 12 min read

Happy New Year 2024 →
Happy New Year 2024! Wish you success, curiosity, and new skills in Docker, Linux, Markdown, and PHP this year.
December 31, 2023 · 1 min read