Working on a project today I had a few tasks to accomplish in PHP, specifically WordPress which I love to use for side-project sites due to its flexibility.
Most programmers are familiar with the ternary operators, and while most languages have their own way of performing shorthand conditional ternaries, however since PHP 5.3 supported was added to do this by leaving out the middle part of the condition.
Password hashing algorithms can make or break a database leak. While every endeavour should be made to protect a site database, unfortunately sometimes this has proven unsuccessful for even the largest of sites.
Regardless of what language you use, Bcrypt provides a secure way to store encrypted passwords for just about any online system today.
Recently I had a use case where we need to log in to a third-party site and fetch protected CSV files.
When using Google Chrome in Headless mode to scrape websites it can often be faster to prototype interaction and data extraction commands via Developer tools. Here is a quick tutorial showing how to get started with talking to your NodeJS script.
Here at Sumo we use Amazon ECS containers for a variety of different micro-tasks because being standard Docker containers they are very easy to develop and test with locally then simply use Docker push to run in the Amazon Cloud.