Snippets of the day – Tuesday, February 18, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! Email Utilities in Java SWT environment This class provides some utilities for the management of email dispatch on client side for SWT environment, like opening an email client. Open the snippet Author:    cghersi Java Program to simultaneously execute 2 threds Open the snippet Author:    […]

Snippets of the day – Tuesday, February 11, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! Connecting to MySQL database using JAVA Works only after you add java mysql driver jar into your library Open the snippet Author:    Mk47 Sending multiple email using Java ( Using Gmail SMTP ) Open the snippet Author:    Mk47 Dalekjs – Simple automated web test […]

Snippets of the day – Sunday, February 09, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! C#: Prepare a string of comma-separated values from a collection. This method prepares a comma-separated (or any other character specified as ‘separator’ input) from the given list. It can also remove zero or negative inputs if explicitly required by setting removeZerosOrNegatives=true Open the snippet Author:    […]

Snippets of the day – Friday, February 3, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! How to encrypt and decrypt strings in C# This class can be used to encrypt and decrypt the given string. In the current implementation the passwrod is directly saved inside the code; depending on the infrastructure and architecture of the code sometimes it can be passed […]

Snippets of the day – Tuesday, December 17, 2013

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! How to use AND/OR in IF/ELSE PHP statement Syntax for AND/OR in IF/ELSE PHP statement Open the snippet Author:    fabio.nosenzo DirectoryStream – list all the contents of a directory You can list all the contents of a directory by using the newDirectoryStream(Path) method. Added a […]