GNU/Linux
Last updated:
Turn off swap
Learn how to turn off swap in Bash, because when a swap partition is enabled Linux starts swapping, which may degrade (MySQL) system performance
GNU/Linux
Last updated:
Learn how to turn off swap in Bash, because when a swap partition is enabled Linux starts swapping, which may degrade (MySQL) system performance
Windows Server
Last updated:
Here is how to install software packages during a Windows Deployment Services (WDS) deployment, without Microsoft Deployment Workbench (available in the Microsoft Deployment Toolkit, or MDT).
Windows Server
Last updated:
Easily setting up a monitoring service for websites and services using Monit on Ubuntu/Hyper-V, following these steps.
Useful
Last updated:
Relive the golden age of PC gaming. Learn how to configure DOSBox on Windows 11 to run classic MS-DOS titles, optimize CPU cycles for period-accurate speed, and set up a custom autoexec.bat menu for easy launching.
Codebase
Last updated:
Sometimes you need to find all files owned by a specific user, recursively on your Windows Server NTFS file system. PowerShell has some neat cmdlets to automate this task for you and here is how.
WordPress
Last updated:
With thousands spam reactions, disabling (and removing) WordPress comments is often the only way to go. Here is how to disable WordPress comments in both the WordPress Dashboard interface and in your MySQL / MariaDB database.
Windows Server
Last updated:
Utilize your cmd.exe or PowerShell command-line and use Deployment Image Servicing and Management (DISM) to clean up the Windows Component Store (WinSxS) in Windows Server.
Windows Server
Last updated:
ECN is an optional feature that may be used between two ECN-enabled endpoints when the underlying network infrastructure also supports it. Unfortunately, having one ECN Capability enabled endpoint may slow down outbound network connections to outdated network equipment.
Windows Server
Last updated:
The other day, when I attempted to add a newly installed Active Directory to become the slave domain controller of a master, the error message “A domain rename operation is already in progress” was displayed. Promoting the Windows Server 2012 R2 server to a Domain Controller failed.
GNU/Linux
Last updated:
Cconvert decimal to hex hexadecimal to decimal and Unix timestamps in Linux Bash. A quicky for my archives.
Web applications
Last updated:
How to set up a global Geolocation DNS load balancing Varnish Cache Content Delivery Network with Bind9, geo-ip database, Varnish Cache and DigtalOcean. DIY High-Availability for your website!
Web applications
Last updated:
Learn how to optimize PHP performance by checking and setting PHP realpath_cache_size. The realpath_cache_size size represents the total number of bytes in the path strings stored, plus the size of the data associated with the cache entry
Web applications
Last updated:
Use a PHP redirect script to redirect old PHP URLs to new ones. This examples uses a 301 Moved Permanently redirect, perfect for SEO.
WordPress
Last updated:
How to display commas in WordPress tags? And why have commas in WP taxonomies?
Windows Server
Last updated:
In this article you’ll learn how to start all stopped application pools that have the ApplicationPool.AutoStart property set to $True using AppCmd.exe or PowerShell. This is something you often or occasionally have to perform on various servers, for example when an application pool hangs.
Useful
Last updated:
A useful PHP script to check if your website is up and online available. It uses PHP and cURL. This script comes in handy because website uptime and availability is important, and you want your website to be always online available.
Web applications
Last updated:
Exploit PHP’s mail() function for remote code execution. Apparently, if you are able to control the 5th parameter of the mail() function ($options), you have the opportunity to execute arbitrary commands.
Web applications
Last updated:
Outdated but fun: PHP 7 with OPcache in IIS Express for Microsoft WebMatrix 3: create your DevOps with Microsoft WebMatrix and IIS Express
WordPress
Last updated:
Learn how to override wp-mail() and send secure email using authenticated SMTP and StartTLS from WordPress.
WordPress
Last updated:
How to identify, block, mitigate and leverage xmlrpc.php scans, brute-force, and user enumeration attacks on WordPress sites… Secure WordPress xmlprc.php interface and reduce service disruption.