Azure Tip - create a Docker VM in 5 minutes or less

There are a number of ways to create a new Docker VM in Azure, but by far the easiest appears to be the simple docker ARM template at this GitHub repo. Though the mileage of the Deploy to Azure button varies depending on the implementation, in this case it works…

Azure Tip - just a Web App with redirect please

Did you know you could have an Azure web site with nothing but a web.config for redirecting traffic to another location? For example, if you previously had a beta version of your site, and you want to retire it for a period of time and send everyone to the…

Angular Tip: date and time locale formatting

Angular docs have a link that gives a summary of date formatting functions here: https://docs.angularjs.org/api/ng/filter/date It's pretty easy to format date in the UI with the following filter syntax: {{dateValue | date:'fullDate'}} Saturday, August 30, 2014 {{dateValue | date:'shortTime'}} 5:31 PM {{dateValue…

The Little Things #5: initialize a local mongo db

I usually test my MongoDB projects using a cloud instance of the database - such as ClearDB through Azure. However, if you have to work offline at some point, it can be important to have a local testing ground; not to mention a place to test your initialization scripts. I…

The Little Things #4: find deleted files from git repo

I'm really starting to like this git command line experience. Some files were deleted during a project check in and from Visual Studio Online I couldn't see how to show a list of deleted files so I could figure out which check in deleted them. Enter git, since the Visual…

The Little Things #3 - updating your git push password to Azure

I've been deploying one of my node.js projects from my git repository to an Azure web site for some time now and fortunately the git push command does not require me to enter my credentials every time. I did it once after setting up the remote to Azure, and…