I swap here some little pieces of code I'd find useful ..