As developers we often find ourselves doing things we shouldn’t be doing, and putting best practices aside for the sake of a “solution.” In my case I found myself needing data that was not in our API end point, because it was customized to suit another application’s needs. So I had to make another APIContinue reading “Angular JS – Combining two http requests into one promise”
Category Archives: Code Garage
PHP remove all occurrences of string except last with preg_replace
While trying to manipulate a string in PHP, I ran into a road block trying to remove all instances of “.” and replace with a comma with the exception of the last instance of the period.
MailCatcher Suddenly Not Working In Vagrant
Mailcatcher fails enough for me to be a pain, but not frequently enough to remember what the fix is. It is enough to bring the development process to a screeching halt until I google the correct search string to bring me the results I am looking for. Which bring me to this post, a simpleContinue reading “MailCatcher Suddenly Not Working In Vagrant”
Code Garage
Test of the garage. Taking a simple category in the blog and filtering out future code snippets, projects and tutorials to share. Hopefully once again encouraging me to post/share what I know or what I am learning at the moment. Below is my first javascript application attempted a few years ago. A rudimentary calculator toContinue reading “Code Garage”