Gulp simplest local server ever

I search a lot of things to simply run a local server using gulp and finally I found BrowserSync. This is the simplest way I found to run a local server using gulp. var gulp = require('gulp'); var browserSync = require('browser-sync'); // Static server. gulp.task('browser-sync', function() { browserSync({ server: { baseDir…

Give away 6 free betacoins for Mailbox for Mac

I am happy to give you betacoins for the new Mailbox app for Mac. I hope that you will enjoy! First come, first served! …

  • free , mailbox , betacoin

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…