Snippets of the day – Thursday, January 30, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! linux bash while statement script This is a very simple example of while statement in linux bin bash console. The while condition terminates after N iterations, printing a counter for each loop. Open the snippet Author:    lbottaro Transpose Query Output in SQL Server This script […]

Snippets of the day – Sunday, December 29, 2013

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! Bash command to zip some content This command will zip the file file.txt and all the sh files contained in setup folder in a zip named myzip.zip. Then adds the file Third/otherfile.txt in then same archive with the last command Open the snippet Author:    cghersi […]

Snippets of the day – Saturday, December 28, 2013

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! C#: Get Enum from Description attribute This is a generic extension method which gets the Description attribute from an Enum Open the snippet Author:    lucky80 Bash command to remove CVS folders from a tree folder Removes all the folders named “CVS” from the tree folder […]