Forget Capistrano and deploy your node.js application using Shipit

Why Shipit? When I worked at Le Monde, our need was simple: deploy an application on multiple servers. For our PHP backend we used a self-made tool written in PHP to deploy them, but it had some flaws (no atomic deployment, no rollback, centralized configuration). For our fresh new node…

  • deployment , node.js , gruntjs , capistrano

Use Docker + Jenkins to run GitHub tests

Why not Travis? Nowadays, having a continous integration platform is a requirement. If you use GitHub, you probably know Travis. Travis is one of the best CI platform. It's free for open source, easy to set-up, for small open sources module, this is definitely my favorite platform. If you are…

  • github , jenkins , docker , ci , travis , test

View Google search queries in Google Analytics

It's been a while now that Google no longer allows to track search keywords. The reason is that when you click on a Google Search result, the referrer no longer contains the keyword. But fortunately, it's always possible to get these essential SEO informations in Google Analytics. There is a…

  • google , analytics , search

Naming functions, yes but not all the time

You've probably heard that using named functions is better in JavaScript, better for stack trace and debugging. In most cases it's true, but sometimes it's better to avoid naming a function. Unreferenced functions The functions that I call unreferenced are functions that are not attach to an object. Some examples…

Cody, my Ghost theme

I have just release my Ghost theme on Gumroad, it's named Cody. Cody is a simple and beautiful responsive theme optimized for developers. This blog is a live demo. Features : Focused on content Fully responsive Easy to configure Perfomance (minification, prefetching, async loading) - Optimize for developers (syntax hightlighting using…

  • ghost , theme

Add node_modules to .gitignore

If like me, you are tired to create .gitignore in your node projects. Just do this: echo "node_modules/\nbower_components/" >> .gitignore You can also add in your ".bashrc" or in your ".zshrc" the alias: alias gitignore='echo "node_modules/\nbower_components/" >> .gitignore' Congratulations! You will…

  • npm , git , node.js