20 PHP Features You Should Know in 2023

PHP is always evolving, and it’s important to stay up-to-date with the latest features and improvements. This article introduces 20 PHP features you should know as of 2023, each illustrated with a handy code example. 1. str_contains(): Checks if a string is contained in another string. $sentence = “The quick brown 🦊 jumps over the […]

Setting up MySQL replication without the downtime

This is just a copy from the origin article https://plusbryan.com/mysql-replication-without-downtime Setting up MySQL replication without the downtime I clearly don’t need to expound on the benefits of master-slave replication for your MySQL database. It’s simply a good idea; one nicety I looked forward to was the ability to run backups from the slave without impacting the […]

Resume a large scp transfer

Today I was tyring to transfer a huge file over a ssh connection (scp). Everything was working fine, but at 94% the connection stalled and the transfer has been interrupted. $#!”&%, I thought, but luckily yyab helped me a lot! If you need to resume an scp transfer, try with rsync: rsync –partial –progress –rsh=ssh […]