JS: Turn image into Vector art silhouette
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...
Javascript, jQuery, NodeJS, Angular
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...
It's not a good idea to use global variables but if you do, this technique is probably the safest. // Global Object #1. Type: Object. function setData(...
Dev Environment Install SailsJS npm install sailsjs Install Chrome Postman [https://chrome.google.com/webstore/detail/postman-rest-client-short/mkhojklkhkdaghjjfdnphfphiaiohkef] Content-Type application/json Quickly get started Create a new sails...
This demo shows you how to use a ArcGIS map and ESRI data using jQuery. At this point, it's probably best to learn the DOJO framework...
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....
Common @ApacheCordova commands Build a project /path/to/my_new_cordova_project/cordova/debug Launch emulator /path/to/my_new_cordova_project/cordova/emulate Start Logging /path/to/...
I have a few ExpressJS applications that use Forever [https://www.npmjs.com/package/forever] to keep things always moving. The scripts below are what I use invoke...
Boilerplate * Boilerplate Code [http://javierarce.github.com/epub-boilerplate/] * CSS Starter Kit [https://github.com/mattharrison/epub-css-starter-kit] * UUID Generator [http://www.famkruithof.net/uuid/uuidgen] Metadata * BISAC Subject Headings...
This is the simplest NodeJS server you can create. var port = 8080; var server = "localhost" var http = require('http').createServer( onServerCreatedHandler ); http.listen( port,...
Palm Inc's [https://en.wikipedia.org/wiki/Palm,_Inc.] vision of the future was a mobile web where users could experience an "app" without...
This single-page web app shows you how to publish a map using ArcGIS for mapping, ESRI for publishable data, and a JSON file for custom data. I took...
Usually, I use jQuery framework for Javascript development, but I recently worked on a project that required to make a website using ArcGIS for map visualization. ArcGIS requires...
Here's how to use Google Maps API to get the elevation of a specific location. /** Use Google maps API to return the elevation of a given...
CouchDB starting guide [http://www.andyjarrett.co.uk/blog/index.cfm/2010/3/29/CouchDB-quick-refstarting-guide] GUI (Futon). From the browser go to http://127.0.0.1:5984/...
Deprecated Openshift v2.0 has now reached End of Life [https://blog.openshift.com/migrate-to-v3-v2-eol/] and will be replaced by v3.0. -------------------------------------------------------------------------------- Step 1 index.js exports....
This is such a great idea. I've got to make this one day. Headless Spotify player [http://tapmantwo.blogspot.com/2013/04/building-headless-spotify-player-using.html]...
I doubt anyone will ever need this but just in case. I had a scenario where I needed to deliver the hostname (without the port) through an .ejs...
Pull cached Twitter data from http://socialproxy.classicalkusc.org [http://socialproxy.classicalkusc.org/] and present it as HTML. /** * ------------------------------------------------------- * KUSC.org Twitter Feed * ------------------------------------------------------- * * Modified: 6/12/2012...
Deprecated Openshift v2.0 has now reached End of Life [https://blog.openshift.com/migrate-to-v3-v2-eol/] and will be replaced by v3.0. -------------------------------------------------------------------------------- Here's how to...
This Internet Timestamp tool makes it possible for me to pull out data from within a specific range. It follows RF3339 Google Calendar Specifications: /* Internet Timestamp Generator Copyright...
This tool pulls, parses, and presents data from a Google Spreadsheet. This index.html file simply loads a public Google Spreadsheet [https://spreadsheets.google.com/feeds/list/0AuI2UhLz5jk7dERELVBDcUZQU3UzMnVNSVgzSUZCakE/...
This is a tool that pulls, parses, and presents "now playing" data from Classical KUSC. <!-- #whats_playing_now starts --> <div id=...