Snippets of the day – Tuesday, December 31, 2013

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! Hello World First program in java Open the snippet Author:    jimmy_087 Java: read from USB using RXTX library This is a well-tested class to read from USB device using RXTX library. First of all place rxtxSerial.so (or rxtxSerial.dll) in the classpath. The received bytes are […]

Snippets of the day – Monday, December 30, 2013

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! Java: generate hprof during runtime To generate hprof may be interesting for debug purpose, most of all before an OutOfMemory occurs on production applications! This .ini option halps to create an hprof to be analyzed before the occurrence of memory errors. See http://docs.oracle.com/javase/7/docs/technotes/samples/hprof.html for further details […]

Snippets of the day – Thursday, December 19, 2013

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! Find SQL Queries that can be improved This query makes use of the DMVs in order to find queries that could be tuned for better performance. You can alter the TOP clause to suit your needs. Thanks to Simon Osborne. http://www.sqlservercentral.com/scripts/T-SQL/99611/ Open the snippet Author:    […]

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 […]

Snippets of the day – Monday, December 16, 2013

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! Communication with UTF-8 for MySQL use in Java This is the way to use UTF-8 for the communiocation of a Java application towards a MySQL database Open the snippet Author:    cghersi JQuery DataPicker and TimePicker example JQuery DataPicker and TimePicker example Open the snippet Author: […]