For Developers

230 posts

Ideas, findings, thoughts and discussion focused on the technology and how to make things work.

Common Swift string extensions

String Extension import Foundation extension String { var length: Int { get { return countElements(self) } } func contains(s: String) -> Bool { return self.rangeOfString(s) ? true : false } func replace(...

How to install SailsJS

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...

Tools for making ePub 3 books

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...

NodeJS + Forever Scripts

Install Forever package Download and install forever package/ npm install --save forever Create two files Create a start file. nano /app_dir/start.sh Create a stop file....

Simple NodeJS Server

This is the simplest NodeJS server you can create. var port = 8080; var server = "localhost" var http = require('http').createServer( onServerCreatedHandler ); http.listen( port,...

You’ve successfully subscribed to Chris Mendez
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.