The Locate command (Linux)

If there is something that is quite vital, on Linux systems in CLI mode (no GUIs, no KDE or Gnome), is to have a simple way to search for specific files/folders on the filesystem. To do this we can install and use the locate utility, on Linux systems. Read More …

Rename an existing PostgreSQL Database

Renaming a PostgreSQL is one of the activities that could be necessary during a normal database lifecycle, sometimes due to testing or development related activities linked to a pre-existing database. Let’s see which PL/pgSQL statement we can use to rename a database. Read More …

Nginx – How to disable access (http and https) to a website using IP address [New Question]

A quick question, answered on Heelpbook, about how to “Disable access (http and https) to a website using IP address”, on Linux platforms using Nginx web/reverse proxy server . This will help forcing access to web sites and applications using only FQDNs. Read More …

WordPress – Disabling XML-RPC and Rest API to improve security

In WordPress we have always had inbuilt features that let us remotely interact with our site. We have two different approaches available: XML-RPC, a legacy method, or the newer Wordpress REST API that simplifies the remote interactivity and development of external apps. We can disable both of them if we do not need any remote access to the site and/or we do not use any app for the Wordpress resource. Read More …

Powershell – Test URL “ping” from command line

The following scenario could be useful for those that need to regularly monitor the response type of specifc URL or URLs; this can be done quite easily by using Powershell. The approach can be easily integrated in functions and automated/scheduled scripts to get a periodic status of the URLs monitored. Read More …