Powershell – Search and Replace multiple text strings in file/variable

A common, but not so often, requirement in some scenarios is to search and replace one or multiple text strings in variables or files. This can be quite easily achievied by using a bit of Powershell code. Read More …

Read content of compressed file (.zip file) using PowerShell [New Question]

A quick question, answered on Heelpbook, about “Read content of compressed file (.zip file) using PowerShell”, something that could be useful in some scenarios like testing or development to extract programmatically needed files from dev kits. 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 …

Python – What is a Dataframe?

A dataframe is a two-dimensional data structure, i.e., data is aligned in a tabular fashion in rows and columns, exactly as you would see in a classic Excel spreadsheet. In other terms, Pandas DataFrame is nothing but an in-memory representation of an Excel sheet via Python programming language.
Read More …