Snippets of the day – Wednesday, March 19, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! C#: How to sanitize a string from unwanted characters This method defines a set of admitted characters (see ‘admtted’ string) and substitute the characters not belonging to admitted string with the ne provided in ‘subchar’ paraemter, or skip it if skip=true Open the snippet Author:    […]

Snippets of the day – Wednesday, February 26, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! How to checkout the latest tag of a Git repository This simple bash script allows to automatically checkout your local git repository on the latest tagged version available on the remote repository. The script assumes to be run from your local repo. The command ‘git rev-list […]