Monthly Archives: May 2016

Recording Sound in JavaScript with MediaRecorder

The JavaScript program below, when run, presents an interface that allows the user to record an audio clip and play it back. To see it in action, copy it into an .html file and open that file in a web … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Downloading Tiles from a Larger Image as a TAR in JavaScript

The JavaScript code below, when run, will present an interface that allows the user to select an image file, specify its size in smaller tiles, and download all of those tiles as a single TAR file. This program makes use … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Adding New Models, Controllers and Routes in Express.js

Follow the steps below to create a new model, controller, and route for an Express application installed through MEAN.JS. These instructions are adapted from a tutorial found at the URL “http://www.bradoncode.com/tutorials/mean-stack-tutorial-part-2-server-side/”. 1. If you have not already done so, follow … Continue reading

Posted in Uncategorized | Tagged , , , | 1 Comment

Getting Started with MEAN.JS

Follow the steps below to create and run the default web application using MEAN.JS. MEAN is a “solution stack”, a collection of software packages commonly used to provide an infrastructure on which to run web applications. In this case, the … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Getting Started with Express.js

Follow the steps below to create and run a default web application using Express.js. 1. If you have not already done so, download and install Node.js. As of this writing, the latest version is available for download at the URL … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

A Sample Application in Angular.JS

The code below uses the Angular.JS library to present a simple application for adding and removing animals from the roster of a zoo. To see it in action, copy it into an .html file and open that file in a … Continue reading

Posted in Uncategorized | Tagged , , | 1 Comment

Creating and Referencing a NuGet Package in Visual Studio

Follow the instructions below to package a .NET assembly with NuGet and reference that package in another assembly. 1. Start Microsoft Visual Studio. 2. In Visual Studio, select the item “File – New – Project…” from the main menu bar. … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Digest Authentication in Node.js with Http-Auth

Follow the instructions below to run a simple web server that requires a test user to log in using a password, which is then checked against a text file that contains encrypted password hashes for each user of the system. … Continue reading

Posted in Uncategorized | Tagged , , , , | 3 Comments

Basic Authentication in Node.js with Http-Auth

Follow the instructions below to run a simple web server that requires a test user to log in using a password, which is then checked against a text file that contains encrypted passwords for each user of the system. This … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Building a Java Program with Gradle

Follow the steps below to create and run a Java application in Gradle. These instructions assume a computer running Microsoft Windows. 1. If you have not already done so, download Java and a Java Development Kit. 2. In any convenient … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment