Author: Nic Raboy

Record IP Camera Surveillance Video With A Raspberry Pi

September 5, 2016 Nic Raboy

As some of you may know, I have wireless surveillance cameras around my home. Many years back I even released an Android application called SpyFi to be able to view the video feed from these cameras. Up until recently I would have these cameras upload a sequence of images to a remote FTP server every time there was motion. The problem with this is that these were only a sequence of still-images rather than video, and the server was not free or necessarily cheap.

Being that I own a few Raspberry Pi computers, I figured it might be a good idea to utilize them for surveillance storage. The cool thing about this approach is that it is cheaper and that I can record video rather than pictures.

We’re going to take a look at how I’m recording video on a Raspberry Pi device to keep my home safe.

Read More

TPDP Episode #9: An Ember In The Land Of Web Frameworks

September 3, 2016 Nic Raboy

We’re nearing the end of 2016 and there are many JavaScript frameworks available to choose from, with more on the way. Each framework offers a unique perspective of front-end development that can be very attractive to solo developers or development teams. This brings us to a very popular JavaScript framework called Ember.js. In this episode of The Polyglot Developer Podcast, I have guest speakers Tracy Lee and Taras Mankovski, who are both Ember experts.

Tracy Lee is a very successful JavaScript developer who sold her start-up and now focuses on her web organization Modern Web, which educates people on different development technologies. Taras Mankovski runs a very popular consulting business called Ember Sherpa which also educates businesses on the Ember.js framework. In the ninth episode of this podcast, An Ember in the Land of Web Frameworks, we explore Ember and the conveniences it offers in the realm of JavaScript and front-end development. This exploration includes tooling and comparisons against other popular frameworks like React and Angular.

Read More

Use Mozilla’s LocalForage For Key-Value Storage In Ionic Framework

August 29, 2016 Nic Raboy

A few years ago I wrote an article called Use ngStorage for all Your AngularJS Local Storage Needs, which was intended to be for AngularJS in general. However, I understand many readers were using it in their hybrid Apache Cordova or Ionic Framework applications. There is nothing wrong with this. However, ngStorage is a wrapper for HTML5 local storage which is known to have compatibility issues under certain circumstances. That said, came across localForage, a library by Mozilla, which claims to be a wrapper for local storage, WebSQL, and IndexedDB, offering maximum compatibility.

We’re going to take a look at including localForage in an Ionic Framework Android and iOS application for storing data.

Read More

Build A Time-Based One-Time Password Manager With Ionic 2

August 26, 2016 Nic Raboy

A few years back I created an Android and iOS application called OTP Safe that managed time-based one-time passwords. This application was made with the first version of Ionic Framework and at the time was great because it accomplished more than the Google Authenticator application. Now that Ionic 2 is approaching stable release, it seemed like a cool idea to take this one-time password application and build it with the latest and greatest including Angular.

We’re going to see how to create an iOS and Android time-based one-time password manager using Ionic 2, Angular, and TypeScript.

Read More

Three Simple Ways To Get Online With A Raspberry Pi Zero IoT Device

August 24, 2016 Nic Raboy

As you know from the guides that I put out, I’m a Raspberry Pi collector. I collect the full size units as well as the Pi Zero units. In a previous post I explained how to emulate ethernet over a USB as a way to connect to a Pi Zero that is not using WiFi or ethernet. However, what happens when you decide you’re at a point where you’d like to bring your Pi Zero online?

I’m going to show you three quick, easy, and cheap ways to get WiFi internet on your Raspberry Pi Zero IoT device, none of which will require any soldering or advanced hardware knowledge.

Read More

Test Amazon Alexa Skills Offline With Mocha And Chai For Node.js

August 22, 2016 Nic Raboy

By now you’re probably aware that I’m all about Amazon Alexa skills since I’m a proud owner of an Amazon Echo. I had released a Alexa skill called BART Control and published a guide on creating a simple skill with Node.js and Lambda. If you went through my Node.js and Lambda guide you probably found it pretty painful to test the skill you were working on. The constant building and uploading to Lambda could easily get out of control. What if I told you there was a much simpler way that could save you a ton of time?

We’re going to take a look at adding test cases for testing an Alexa skill offline without ever having to upload the skill to Lambda.

Read More

Unit Testing A NativeScript Angular Android And iOS Mobile Application

August 17, 2016 Nic Raboy

Writing tests is a very important part of mobile application development, but not everyone does it. It could be laziness, it could be because you don’t know how. I fall into the category that I’m often too lazy to write tests. I don’t have time to write tests, I just want my application done. That is probably not a good answer. Unit testing will lead to overall better applications with less problems down the road.

Not too long ago, Ben Elliot wrote a guest post on The Polyglot Developer regarding unit testing a NativeScript mobile application. The thing is, that this was directed towards vanilla NativeScript. While vanilla is a very valid option when it comes to NativeScript, I prefer using Angular which is a bit different.

We’re going to see how to write unit tests for a NativeScript Android and iOS applications that use Angular and TypeScript.

Read More