PHP Get the First of Next Month

While having fun with dates, I needed to get the timestamp for the first of the next month, here’s how I did it with PHP. strtotime(date(‘m’, strtotime(‘+1 month’)) . ‘/01/’ . date(‘Y’, strtotime(‘+1 month’))); I then used that to create a PHP DateTime object like this. $date = new DateTime(); $date->setTimestamp(strtotime(date(‘m’, strtotime(‘+1 month’)) . ‘/01/’ PHP Get the First of Next Month

Create SVN Branch with Copy Command

I create SVN branches all the time. If I get a few tickets to work on, I create a SVN branch and work there. Once the changes are done and tested, I roll the changes into trunk. Here’s how to SVN branch. svn copy https://mysvnrepositoryserver.com/dept/IS/MyProjectNameGoesHere/trunk \ https://mysvnrepositoryserver.com/dept/IS/MyProjectNameGoesHere/branches/NomeOfBranch \ -m “Creating branch for some reason.”

MariaDB Corp. Slaps Open Source Community in the Face

A few years ago, Oracle acquired MySQL, the open source community supporting MySQL proverbially self-evacuated, forked MySQL and start MariaDB. The heroes saved MySQL from the death of then-CEO Larry Ellison. Now MariaDB has gone commercial. On Auguest 15, Michael Widenius announced the next version of the MaxScale would not be open source. Widenius, creator MariaDB Corp. Slaps Open Source Community in the Face