Node.js process doesn’t die on exit (ctrl+c)

Hello all,
Back in action with some uber simple node.js suggestions:
I bet that everybody have experimented the frustration of having this error:

The reason is pretty simple, we quitted from the terminal without properly killing the node.js process. Till here everything plain and simple.

Then what to do to avoid this frustrating behavior…

Read more

I think there’s a jQuery plugin for that..

Hi all,
Because of the new job and my relocation to Paris i’ve been too busy to write any article in this period.

But since i don’t want to leave too many months without posts here is a nice picture with much wisdom:

If, for each functions in sass and images naming

Hi all,

This article seems a bit old since SASS is nowadays well-known and it has a lot of great tutorials everywhere, but i really wanted to suggest you to never forget to give your website images a proper naming structure, expecially icons.
I had to deal with a lot of icons during a recent project:

… and after 30 icons the whole _icons.sass would become a whole mess as you can see.
The first thing i thought is to use a common sass for cycle..

Read more

CSS3 transition FadeIn / FadeOut

Hi all,
Project after project i’m finding myself using css3 transition (and animation) more and more, till the point i’m questioning myself if $.animate is still a big deal.
Almost every animation is doable, with a nice retrocompatibility on older browser and awesome performance, today we’ll look at the easiest and most overused one: the Fade!

Read more

Two Years!

Wow! Two years has already passed since i decided to open this blog.
It went better than i expected, i consider this place a small dot on the web, but some people came here and found what they needed and some of them even left a comment and a token of their gratitude.
To all people that came here, expecially to those who found the time to leave a message..

Thank you

I read every comment and every single one made my a little happier :)

It’s nice to help people now and then.

Yours sincerely,


Plupload not uploading video on iPad / iPhone / iOS

So you are trying to chunck uploads or other cool stuff with Plupload?
Maybe you are making a “video uploader” with chuncked file but on iPad, iOS in general, when adding a video file nothing happens, while adding pictures or other files it works?
The problem is that the iOS device try to compress the video before sending it to the server, you aren’t seeing it now because multi_selection is not set to false (default is true)

if you can afford to have only one upload a time, then switch it to false and try.
You’ll understand immediatly what happens on iOS devices after trying to upload a movie and why it wasn’t working before. :)



Low on space: Phone storage space is getting low – Fix without root permissions

Hi all, ok this is a thing that’s been bugging me for a long time.
Finally i’ve found the way to fix it without root permissions, sweet, i’ve been able to free almost 600mb :O

Dial *#9900#
This will bring up the Sysdump

Hit the ‘Delete dumpstate/logcat‘ button. Hit OK on the confirmation dialog.

Scroll to the end of the screen and hit ‘Exit’

All i have to say is: FINALLY!


CSS Rotating with jQuery

CSS transformations give a lot of new fancy and handy animations, but there could be some situations where you want javascript, maybe jQuery trigger them.

How to rotate something with jQuery then?

Here is the answer:

Read more

jQuery animate poor performances

Yeah right, poor performances for out beloved $.animate(), any workaround?
Yes of course, give a look at:

jQuery transit or jQuery animate enhanced

They both are valid plugins that give an alternative (or an override) to the animate method using css transformations if possible.

Read this article to find more about this topic: CSS tricks – Tale of Animation Performance

Foundation Interchange + Lazy Loading

Hello all,
Foundation could be awesome for a lot of things, i love this framework, but still not everything is perfect.
For istance it could happen that we want to use  jQuery Unveil for istance and at the same time Foundation Interchange for the maximum awesomeness!
Still it’s clear that they could not fit together plus foundation has stated that there is no lazy interchange at the moment… so let’s do it :)

Read more