Vinayak Mishra

Life Runs on Code

all articles

categorized in technicals

Phabricator - Automate Data Backup using Dropbox2014.05.09

Phabricator does not currently have a comprehensive backup system, but creating backups is not particularly difficult. We will share an approach to automate backups and save them onto Dropbox. We don't like to think about what might happen, but its always good to have some backups.

Diffusion - Phabricator Repository Browser2014.05.07

Phabricator can host Git, Mercurial and Subversion repositories. It also works well with existing repositories (like GitHub, Bitbucket, or other repositories you already have elsewhere) without needing to host them itself.

Node.js on a Raspberry Pi2014.01.05

A bell cannot tell time, but it can be moved in just such a way as to say twelve o’clock – similarly, a man cannot calculate infinite numbers, but he can be moved in just such a way as to say pi. Hello Pi!

Express routes middleware chains2013.07.02

I have worked with node.js for two years now, and have enjoyed every bit of it. It wasn't an easy switch from Java but with help available in plenty, I wasn't going to be worried at all. Here's an article from Tomas "wereHamster" Carnecky that helped me learn middlewares in express apps.

How to sort an array of objects by multiple fields2013.06.28

How would you apply a sort on array of objects by multiple fields? This article offers an elegant solution.

10 Steps to nodejs nirvana in production2013.05.29

We have been using node.js in production environments since a few years now, back when it was still in 0.4. Node.js has sure come a long way since.

Running mysql on a separate XFS volume2013.04.11

This article explains setting up mysql on a separate XFS volume.

Node.js Code & Style Guide2013.02.20

There is no official document that governs the style of node.js applications. This guide is my opinionated attempt to bring you a good set of instructions that will allow you to create beautiful and consistent software. You are free to adapt to your own code style and practice, and stick to it.

Effective Git Work flow2013.02.18

Linus Torvalds has quipped about the name git, which is Irish slang for a child born out of wedlock, and British English slang for a stupid or unpleasant person. Torvalds said: "I'm an egotistical bastard, and I name all my projects after myself. First Linux, now git." The man page describes git as "the stupid content tracker".

Use Phabricator for Code Reviews2013.02.14

Phabricator is an open source collection of web applications which makes it easier to scale software companies. It is currently available as a continuous release.

Getting Started with Node.js2013.02.12

The secret of getting ahead is getting started. The secret of getting started is breaking your complex overwhelming tasks into small manageable tasks, and then starting on the first one.

How to Design a Search Engine to Actually Search2011.07.26

There are several simple techniques to develop a search-engine that actually finds information, rather than just millions of matching pages. Searches should default to looking within paragraphs/sections, not across entire pages. Today's popular search-engines are mostly primitive word-scanners, not usually searching for sections of information, nor hunting the exact names being requested, such as with dashes & slashes in ID names.