intown.biz
AngularJS Interceptors for logging service calls
http://intown.biz/2015/02/04/angularjs-interceptors
AngularJS Interceptors for logging service calls. I should start a series of angularJS posts called “stupid angularJS tricks”, because I’m always trying to figure out how to do this or that. Thank goodness for other peoples’ blogs! Prior to my discovery of interceptors, I would write an entry similar to this just before every $http.get or $http.post call, similar to this insanely simplified example:. Search on “interceptor”). Design your factory for injection. In this case, I’m just plugging into t...
intown.biz
Why I like WordPress
http://intown.biz/2015/05/15/why-i-like-wordpress
Why I like WordPress. Is it surprising that after years of developing and implementing web sites, that I should be singing the praises of WordPress? I first noticed WordPress as I was seeking information on a content management system I frequently implement, Microsoft SharePoint. I noticed that most of the SharePoint bloggers use WordPress. Of course SharePoint has its own blog features, so why use WP? As it turns out, there’s much to like. Super-simple to deploy and host. Although WP gained its reputati...
intown.biz
Angular Bootstrap Date Picker validation fix
http://intown.biz/2015/05/28/angular-bootstrap-date-picker-validation-fix
Angular Bootstrap Date Picker validation fix. Date picker is very helpful for UI look/feel. But its validation is inadequate. Javascript is used to determine the date. So I enter 1/1/1, it’s parsed as a valid date even though it’s likely a user error. Any errors (for example, the user enters “xyz”) are not reflected in the control $errors, so the form is still considered valid. Fortunately, we can solve both of the above problems with a simple directive. My HTML looks like this:. ReferenceError: model is...
intown.biz
Continuous Integration
http://intown.biz/category/continuous-integration
On 21 March 2015 In Continuous Integration. It’s safe to say I’m a huge proponent of Continuous Integration. I got started with CruiseControl, and moved on to TeamCity a few years ago. Now, in need of a new system, I’ve set my sights on. Building a SharePoint 2010 WSP Using TeamCity. On 11 May 2012 In Continuous Integration. Linux Cheat Sheet – Users. AWS Credential Management .NET Code. Managing AWS Credentials for .NET Developers. Validating Start/End dates in AngularJS. Back to Top ↑.
intown.biz
Waiting indicator using AngularJS interceptors
http://intown.biz/2015/02/05/waiting-indicator
Waiting indicator using AngularJS interceptors. There are a number of needs that routinely come up when putting together a web UI. This indicator notifies the user that action is occurring in the background, and goes away automatically when everything is done. This happens automatically when your AngularJS app is requesting information via http. This is similar to other code on the web, but is modified it to suit the following needs:. Displays wait indicator automatically when http requests are initiated.
intown.biz
Getting started with Git/TFS
http://intown.biz/2015/04/15/git-tfs-1
Getting started with Git/TFS. I recently moved one of my projects to a TFS Git repository. But Git did not start out as a Microsoft product, and Git is a relatively recent addition to TFS. The TFS Visual Studio tools give us some powerful shortcuts, but some things can only be done on the command line. Here’s how to get the best of both worlds. Related: Using Git with Team Foundation Server and Visual Studio 2013. Go to http:/ git-scm.com/download/win. Set up alternate credentials in TFS. Click on your u...
intown.biz
MS Word Basics: Outlining and TOC
http://intown.biz/2015/01/10/ms-word-outlining-toc
MS Word Basics: Outlining and TOC. This might seem like a relatively non-technical topic compared with the other posts on my blog, but I suspect these tips will be useful to somebody! One of my reasons for keeping a blog is to record instructions for processes that I’ve had to explain more than once, and there are a few MS Word tricks which can save you a lot of time. Images are from Word 2013, but the processes are similar with any version of Word. Click on them to see a larger version. On the Home Tab.
intown.biz
Git: Merging changes from one upstream branch into another
http://intown.biz/2015/05/15/git-merging-upstream
Git: Merging changes from one upstream branch into another. Let’s say we have two branches, “Development” and “Testing”, in the upstream repository. Our developers push their changes to the Development branch. Periodically during the development cycle, we’ll need to update our Testing branch to bring it in line with the Development branch. The first thing you’ll need to do is to open a git/bash command line. And did I mention we’re on Windows? Hello, I'm Michael. This is my blog on technical stuff.