JavaScript
node.js run with root privileges on MacOS on start
How long it’s quite easy to setup init.d services on linux boxes, same task on Max OS machines is pretty hard. Especially if you need to run it with root privileges.
Serialize form to object – jQuery
It’s pretty easy to serialise form using jQuery –
$('#formid').serialize();
or by
$('#formid').serializeArray();
But neither of them it’s easy to modify. Really useful snippet – serialise form to object.
AngularJS awesome JavaScript framework
I was looking for easy and nice solution to maintain my growing JavaScript. I tried Backbone.js which is my opinion a little bit “to” complicated. Of course – you can do everything, but.. it was to much hassle with coding in details. Second approach was to KnockoutJS – this one is really nice but from the other hand – I didn’t have much on control on my code and details, but everything was really nice and sleek. So… Quite similar like with choosing PHP Framework. I wanted something which will do some job for me, but I also wanted to have control on everything. That’s why I chose CodeIgniter which was perfect for me. But… with JavaScript – Finally i funded: AngularJS . Made by Google engineers – but super nice and sleek.