Engineering

Setup MongoDB in Node.js Azure VM with attached Data Disk as DB storage. · April 15, 2015 · Engineering NodeJS

To set up Node.js on Azure VM ckeckout the blog Create Azure Virtual Machine and Setup Node.js. So now moving forward, lets start with attaching a Data Disk to your previously set up Azure Virtual Machine. Attach a Data Disk to Azure Virtual Machine : 1. In the left…


Google Cloud Storage Quick Help: Serving gzipped content and preserving ACLs · January 26, 2015 · Engineering Google Compute Engine Google Cloud Storage

In case you are new to Google Storage and are using it to serve your static content, you may find these tips handy. For these you will need to obtain the utility provided by Google called gsutil. If you haven't installed it already you can do it from here. Serving…


Deleting a key in MongoDB document while using Mongoose · January 1, 2015 · Engineering NodeJS Mongoose Baucis

If you are using Mongoose as a layer to manage your MongoDB documents, you may have notices it acts weird when you try to delete a key from a document. As an example lets say you start off with the following document {a: X, b: Y, c: Z} and then…


NodeJS & Express - How to set multiple cookies in the same response object? · December 28, 2014 · Engineering NodeJS Express Cookie

If you are working in NodeJS platform and using Express framework, you may have come across this problem. Express 4.x’s style of setting multiple cookies multiple cookies for the same response object can run into incompatibilities with certain browsers. So, for example: var setMultipleCookies = function(res) { res.cookie…


Google Compute Engine: How to Launch an Instance · August 25, 2014 · Engineering Google Compute Engine

Launching an instance via the web interface To launch an instance in Google Cloud Engine, first go to your Google Cloud Console and then go to Compute > VM Instances You will now see a screen with choices related to a new machine. Mainly you have to choose the region where…


3 Reasons to choose Logic Less templates like Mustache · August 12, 2014 · Engineering Mustache Templates

Templating systems come in many tastes and sizes. However, the first distinction that a user needs to make is whether to allow logic in templates or not. Templating engines range from almost no logic to a fair amount of logic. As a startup, we have learnt after making mistakes that…