PHP 7.0.0 is Finally Here!

PHP logo

I’m been waiting for some time for this to be certified as production-ready! It’s like getting an early Christmas present. The Toptal Engineering Blog has an article detailing new and deprecated features in PHP 7.

Renaming Files Containing a Particular Pattern Using PowerShell

PowerShell 5.0 icon

I had mistakenly allowed a string to be appended multiple times on the names of files in a folder on my Windows server by a Python script on which I was working. It was a date string that was applied several times: “_2015-11-04_2015-11-04_2015-11-04_2015-11-04_2015-11-04” I wanted to remove this string from multiple files that were named … Read more

Sending an Email with Attachments using Python – Checks for Attachments Before Sending

Python logo

This is an update to a script I put together several years ago which needed some minor changes to prevent the email from being sent if there were no attachments. Also, there was a bug that would send the email whether attachments were present or not due to the presence of the archive folder in … Read more