now browsing by tag


Node.js Search Engine for Github Wikis

I wrote an article on how to create a search engine using Node.js for Github Wikis. The Github wiki uses markdown formatted pages and is very easy to get started with. It isn’t as fully featured as other wikis but it is a good starting point for organizations looking toRead More

node-oauth-libre 0.9.15 ALPHA

I’m very excited. After starting a fork of node-oauth-libre a month ago, I have implemented a feature that many people have wanted for months: Promises instead of callbacks. Promises are a way of escaping from Node’s callback hell. node-oauth-libre now has support for promises thanks to the bluebird library. ThisRead More

Grunt2Gulp.js update: on the way to handling yeoman-generated Gruntfiles

The second ever issue filed for grunt2gulp.js was caused by a Yeoman-generated Gruntfile. It’s a complex file and that’s exactly what I wanted when I first created the project. The example Gruntfiles I came up with were hand-crafted and weren’t very complex. In any case, grab the latest the copyRead More

Using Sequelize with Promises (with and without Q)

Using Sequelize with Promises (with and without Q)

Dimming JavaScript curly braces and brackets in Emacs

When coding in Lisp or Scheme, some Emacs users prefer to have the parenthesis/brackets dimmed. The reason for this is that it makes it easier to see the things that matter like variable names. I’ve been coding more JavaScript lately and wondered if this would work for JS and indeedRead More

Why & How I Write Java

Interesting read, somehow I can’t handle too much Java, I always get tripped up by the primitiveness of it (even when using an IDE like Intellij IDEA which I own a license for). Copying JAR files around or making sure that the XML config files are written correctly is somethingRead More

Restarting an Express web server using grunt-contrib-watch

I found some code for express livereload and for assets that change but I didn’t find anything that was good for restarting the Express webserver whenever a web server file changed. I’m very used to Django’s workflow where you can leave the dev web server running and it will reloadRead More

rant: ugh nodejs and npm and test runners

NPM’s search really is awful. Especially on the command-line, it appears to scrape the website and doesn’t seem to cache much. It’s slower than apt-get. I switched to using the web interface to search for packages but then I realized that it has no way of sorting or filteringRead More

Friends don’t let friends pipe to sh

Friends don’t let friends pipe to sh. Finally, someone else agrees that you shouldn’t be piping to your shell to install anything. NPM uses this method, dislike it.

Writing an AngularJS Tutorial, First Draft is up

The state of the AngularJS tutorials and API docs is not that great. I’ve had to look through two books and many tutorials just to understand the basics and instead of simply complaining, I decided to do something about it. So here it is, my Learning AngularJS tutorial. It showsRead More