Friday, 20 January 2017

Source Control Branching and Structure

Trunk
  •          This is the master from which all feature branches are created.
  •          Only check in to Trunk when a feature has been tested in RC and LIVE change request has been created and approved. 

Branches Folder
  •          This folder contains multiple feature branches created from the trunk.
  •          Once your branch is ready then merge it into RC if it’s going to be released next.
  •          If it’s not going to be released next, then don’t merge it. Park it there.
  •         Once the feature is merged and tested in RC and live release approved, then merge it with trunk.

Releases Folder
  •          RC branch. This is the upcoming release candidate
  •     Once RC gone live, create a new branch from it and put it under the Releases folder and name it like Release2.6 

Teamcity
·         Trunk
·         RC

·         Feature (optional for when a feature branch has a different release schedule but still needs to be tested)

Tuesday, 20 December 2016

Tuesday, 11 October 2016

Angular 2

Proxy: https://jjasonclark.com/how-to-setup-node-behind-web-proxy

Disable SSL:
npm config set strict-ssl false

Set Registry
npm config set registry "http://registry.npmjs.org/"

Proxy
npm config set proxy http://localhost:53128
npm config set https-proxy http://localhost:53128
npm config set registry http://registry.npmjs.org
Angular with TypeScript
https://angular.io/docs/ts/latest/quickstart.html

WebPack:

  • https://github.com/AngularClass/angular2-webpack-starter
  • https://github.com/preboot/angular2-webpack



Angular 2

Proxy: https://jjasonclark.com/how-to-setup-node-behind-web-proxy

Disable SSL:
npm config set strict-ssl false

Set Registry
npm config set registry "http://registry.npmjs.org/"

Proxy
npm config set proxy http://localhost:53128
npm config set https-proxy http://localhost:53128
npm config set registry http://registry.npmjs.org

Angular 2

Proxy: https://jjasonclark.com/how-to-setup-node-behind-web-proxy

Disable SSL:
npm config set strict-ssl false

Proxy
npm config set proxy http://localhost:53128
npm config set https-proxy http://localhost:53128
npm config set registry http://registry.npmjs.org

Sunday, 21 August 2016

Custom Shadowbox Modal

The below code shows the Processing Image as a Modal.

You can close it by setting the processing property on the angular $scope.

 .customModal {

            position: fixed; /* Stay in place */

            z-index: 1; /* Sit on top */

            padding-top: 100px; /* Location of the box */

            left: 0;

            top: 0;

            width: 100%; /* Full width */

            height: 100%; /* Full height */

            text-align: center;

            background-color: rgb(0, 0, 0); /* Fallback color */

            background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */

        }



        /* Modal Content */

        .customModal-content {

            margin: auto;

            width: 220px;

            height: 183px;

        }
    
   

Tuesday, 9 August 2016

SMS Gateway Providers


·         TextLocal
o   They provide an API to use http://www.textlocal.com/sms-api-integrations
o   Commercial – PAYG (2.4p per text) or Monthly payments
·         ClickATell
o   Commercial (2.9p per message)
·         Twilio:
o   Commercial
·         Email to SMS Gateway (doesn’t seem to be reliable):

Dynmark:


·         There seems to be a way also with pure .NET but need to look into it if it has any drawbacks: http://www.codeproject.com/Articles/19023/Sending-SMS-using-NET

Sinch
Nexmo
Plivo