There comes a time when you need to access the MongoDB database associated with your remote MUP (Meteor Up) deployment. According to their docs the only way you can do this is to SSH in and access it from there. That's fine (and technically accurate) except that leaves you only with a console interface via meteor mongo which isn't . . .

Client side generation of PDF using jsPDF, HTML, DataURIs, and Cordova on iOS8+ and Android in MeteorJS

We want to be able to generate an PDF document from HTML without needing direct processing by the server such that it is presented to the client in the Cordova app with a done button. This allows the user to generate a pdf, view it, and then close it and return to the app. I'll take a MeteorJS specific approach but it's very . . .

Quick examples of using bluebird with mongoose in node. I just want to show you a couple common use cases to help you recognize how to use promises.

We are going to take common Mongoose use cases for finding and creating documents and going to use Bluebird (or more generally, any promise library that follows Promises/A+) to migrate from the typical callback method to promises.

There are many sites that show you simple examples of promises but sometimes you just:

A common use case is to use Dokku without an actual domain. I address how to use a consistent external port with an ip address since the docs don't.

Dokku isn't clear how to host a server when you don't have a domain you want to use. If you don't enable their vhost by default then the external port of your app CHANGES EVERY DEPLOY. They only describe in detail their http://subdomain.domain.com deploy. Here I show you how to use the http://ipaddress:port deploy in a consistent . . .

Dependencies

Learn the basic idea of promises in Javascript by listening to this story.

What is this about?

Any language/concept/idea is easier to learn when you come up with a relatable real life situation or metaphor. Programming is no different. I'll use the next few minutes to build up a simple promise example that you can run and play with while telling a memorable and relatable story.
My purpose here is to . . .