Saturday, January 12, 2013

Snippets in JS

Mainly useful to me, but can also be found useful by others, I'll put here some of the JS snippets I don't want to loose. Some are written by me, some may be found on the internet in which case I'll try my best to give credit to the author(s). This document should be a living document. Feel free to comment and submit new snippets in your comments. Cheers.

Thursday, January 10, 2013

Nodejs in admin land

Today I needed to install a node app on a remote server which uses monit as monitoring facility.

Sending the app over to the remote host was done using the 'git clone' command.
But now that the app is in place I need to monitor it.

Wednesday, January 9, 2013

iOS Provisioning Profile demystified

Ever had to create a new provisioning profile for an iOS app? Or had to deal with not working certificates? In this post - a living document - I will try to explain some of the concepts of Apple's code signing workflow which despite the amount of resources and tech-notes has caused me so many headaches.

Saturday, January 5, 2013

Brewing Nodejs

Lately I ran into an issue while doing a 'brew upgrade' on my mac. Homebrew upgraded nodejs from 0.8.4 to 0.8.16. It was a very bad time for me to do this update since I was pretty much in the middle of a very important nodejs development and all the setup was working well enough... In fact I was willing to do a 'update' of brew and ended up typing 'upgrade' ... !#?@

Friday, December 21, 2012

Coding tip: readability first!

In this 'Coding tip' I'll introduce you to one of the most sustainable coding tip of mine IMO. You may or may not agree with me but this has proven to be a valuable tip for me in terms of coding maintainability.

This one tip is was I call 'put material where the work needs to be done'. It is the opposite of offshoring :)


Coding tip: early exit

In this series of 'coding tips' articles I will show you some of the lesson learned tips I am using on a daily basis during development. They are general purpose tips which can easily be adapted to most development languages.

The first one is what I call Early exit



Saturday, December 1, 2012

Push Notifications to Apple, made... almost reliable!

For one of my projects I need to push informations to iOS devices. Apple has made a great doc on how to implement push notifications but as a matter of fact the ideal world of the documentation is not the one most developers experiment when dealing with push notifications to Apple's servers.

The thing that bothers most of us is the lack, or at least the manner, of feedback when a notification is sent. That is asynchro-loosly ;)