↓ Skip to Main Content

Secondary Navigation

Dan Martin

Main Navigation

  • Home
  • Blog
  • Dan Martin Home
  • Welcome
  • About Me
  • Contact Me
  • The Animal House

Category: Code Garage

Angular JS – Combining two http requests into one promise

By Dan Martin Posted on September 21, 2017 Posted in Code Garage No Comments

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 …

Angular JS – Combining two http requests into one promise Read more »

PHP remove all occurrences of string except last with preg_replace

By Dan Martin Posted on November 18, 2014 Posted in Code Garage No Comments

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.

Read more ›

MailCatcher Suddenly Not Working In Vagrant

By Dan Martin Posted on August 5, 2014 Posted in Code Garage

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 …

MailCatcher Suddenly Not Working In Vagrant Read more »

Code Garage

By Dan Martin Posted on December 25, 2013 Posted in Code Garage No Comments

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. …

Code Garage Read more »

Categories

  • Code Garage (4)
  • General (1)
  • Home Office (1)
  • PhotoLab (4)
  • Recent Work (3)

Archives

  • March 2019
  • September 2017
  • May 2017
  • August 2016
  • November 2014
  • August 2014
  • January 2014
  • December 2013
  • July 2012

Categories

  • Code Garage
  • General
  • Home Office
  • PhotoLab
  • Recent Work
  • RSS - Posts
  • RSS - Comments
Copyright © 2025 Dan Martin | Powered by Responsive Theme