Simple Socket.io Example
If you're ever working with real-time javascript, try Socket.io. <!DOCTYPE html> <html> <head> <title>My App<...
If you're ever working with real-time javascript, try Socket.io. <!DOCTYPE html> <html> <head> <title>My App<...
I use Geohash all the time to store latitude and longitude inside a MySQL or SQLite database. If I'm using Postgres, Couch, or MongoDB, latitude, and...
How to calculate Present and Future value using ES6.
This lambda will trigger the second lambda. Step 1 - Configure IAM First create an IAM role that will allow you to not only trigger a lambda but...
If you're using NodeJS, sometimes you'll get an error like this: Error: listen EADDRINUSE :::5000 at Object.exports._errnoException at exports._exceptionWithHostPort at Server....
So far I've discovered three different ways to create a Launch Image (aka Splash Screens) for iPhone and iPad. The first two methods are for designers...
There are many good reasons to use a closure but I often forget it's syntax. Below are a few common use cases and examples. Counting Numbers...
Names of Famous Composers:...
Photographs courtesy of:...
I wanted to download 100 files but I did not want to do it manually so I created a simple script instead. var files = [ "http://www.patatap....
I was recently asked to turn a bitmap image (.bmp) into a vector graphic and I wanted to do it using Javascript. NodeJS did the trick. The first...
This is a generic AJAX class that can be reused throughout your app. I normally place this within a single file like com.chrisjmendez.AjaxRequest.js, load the...
Tools * NodeJS + NPM [http://nodejs.org/] * Apple Developer Account [http://developer.apple.com] * xCode [https://developer.apple.com/xcode/] You will need a few raw materials to make...
Scripts used to record whenever users click an external link. New Google Analytics gtag Tracker <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3....