Mark Coleman

Running script forever with foreverjs

Reboot! C_LOG_26

My next challenge is to figure out how to make sure our node script is running on boot of the raspberry pi.

Simplified Script
This is our simplified script we want to run at system boot.

var wpi = require('wiring-pi');

var express = require('express');
var app = express();

wpi. . . .

Read More

December 26, 2015

Programming Resources

Brain dump

Two weeks ago an associate requested to shadow myself and the development team to learn more about what we do as they are interested in development. I unfortunately only had two hours with them to dump tons of information into their brain which most likely resulted in overload. To help combat this I provided a list of random topics to help . . .

Read More

April 25, 2015

Alter scope via Console

angular.element() is your friend

Yesterday I was tasked with changing some verbiage inside of an AngularJs application that is only displayed under a certain condition via ngIf. How can I validate the changes to the application without mucking up the boolean logic to display the div?

Given the following

<div ng-if="isNewUser">
Welcome . . .

Read More

April 11, 2015