Saturday, April 16, 2016

Angular Logic

Anglar JS

Check if null

  app.controller('myController', function(){
    this.current = 0;
    this.setCurrent = function(newValue){
      this.current = newValue || 0;    < - this checks for null

Tuesday, April 12, 2016

Useful Docer Commands

Delete all old containers

1. List them

sudo docker ps -a

2. remove all exited

sudo docker rm $(sudo docker ps -aq -f status=exited)

3. remove all created

sudo docker rm $(sudo docker ps -aq -f status=created)

Docker and Node.JS

My First Node.JS sever in Docker

Docker is a way to quickly deploy code in Linux that allows a repeatable process for automation at scale.    Please visit the Docker web site for more information:

At this time I was running Hyper-V on Windows 10 64 bit with Intel i7 processor and a newly upgraded 500GB SSD from Samsung.

 The Linux VM I created was Ubuntu server 14.04 LTS

Dockerizing a Node.js web app





GitHub The Basics

The Basics of Git using GitHub

1. Setup a GitHub account:
2. Setup a new project repository:
3. Setup a local repository


How to push local changes to a remote git repository