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 – Monday, January 13, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! writeDump writeDump Open the snippet Author:    ybuiller BATCH MS-DOS: Simulate network disconnection This command can be used to simulate a broken network connection towards a particular IP. In the example, 10.0.2.4 is the IP that we want to break the connection with; 10.0.3.52 is another […]

Snippets of the day – Thursday, January 9, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! How to view active SQL sessions onto a MS SQL Server This script lets the sysadmin check the active SQL session on a server. Thanks to David Kranes, original post can be found here: http://www.sqlservercentral.com/scripts/Administration/88041/ Open the snippet Author:    cghersi Safe conversion of string to […]

Snippets of the day – Monday, January 6, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! How to programmatically convert the Visual Studio coverage file to coveragexml by command line tool in csharp This code shows how to programmatically export and convert the coverage data ( .coverage) generated by Visual Studio into a readable xml file (.coveragexml). The xml file can be […]

Snippets of the day – Sunday, January 5, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! Detect and received deadlock info on SQL Server The first requirement is to turn on the appropriate Trace Flags: DBCC TRACEON (3605,1204,1222,-1) The second requirement is to ensure you have DB Mail setup and working (optional). Many thanks to Geoff Albin: http://www.sqlservercentral.com/articles/deadlock/71374/ Open the snippet Author: […]