Merging Branches into Master

So a lot of times in my group projects I make a branch from the origin/master and make a million commit to it and usually, nobody updates the master whilst I'm working on my own branch. This results in my branch being ahead of master by 17 commits and nothing new in master. This is … Continue reading Merging Branches into Master

Advertisements

HackerRank: Compare the Triplets

I'm not a big fan of putting everything in the main function, and I've noticed a lot of solutions floating around the Internet throw the print statements in the main function. I guess for the purpose of a simple exercise it should be fine but here's how I did it.

Updating to PHP7 from PHP5

Really really quick how-to update from PHP7 from PHP5 using homebrew. A little side note: homebrew is a package manager for MacOS. If you don't have it, downloading it will be the best thing you ever do for your developer career: do it now. And voilà: Update: For Windows, try this: http://tektriks.com/how-to-upgrade-php-5-6-to-php-7-in-xampp-on-windows/ Troubleshoot So there's … Continue reading Updating to PHP7 from PHP5