All posts in nodejs

  • FOSDEM 2012 – hotels and useful info.

    December 29, 2011

    If you are going to Fosdem 2012, here is some useful hotel info. Hotels near to Grand Place and to the Delirium Cafe (yes, the party is there). This location is near to all sights and it’s good idea to stay here instead near to the FOSDEM venue; Cheapest hotels in Brussels. Hotels near to

  • Put some Agile into your community

    December 2, 2011

    Finding a way to stimulate/encourage your community to do stuff can be a very difficult task.  I will show you an Agile-like approach to do that and actually it works pretty well, but remember: Don’t try to control your community, try to manage it. Create the infrastructure Get an account in Trello. Define your basic

  • Face Recognition with Node.js

    August 11, 2011

    It’s pretty simple to have a basic face recognition in Node.js using the API. Pre-Requirements : 0. You will need apikey and api-secret from You can obtain them by clicking here. 1. I am using a package called restler to handle REST requests. npm install restler Here is the code: var sys =

  • MongoDB, Node.js and admin auth

    July 20, 2011

    There is a big challenge to make MongoDB driver to work with Node.js, but here is an cool and working example to do that: Require: var mongodb = require("mongodb"); //require node-mongodb-native var settings = require('./mconfig'); //for settings Connect to the admin database: var mongoserver = new mongodb.Server(settings.mongo_host, settings.mongo_port, {}); admindb = new mongodb.Db('admin', mongoserver); Try

  • Full HTTPS REST server in Node.js

    July 20, 2011

    I will show you now, how to write a simple HTTPS JSON REST server using node.js components. Grab a beer, open your IDE and let’s start hacking. 0. Create certificates. If you don’t have valid https certificates, you can generate one for testing purposes. If you need one cool certificate, you can join cacert community.