|
|
|
Below are the top ranked snippets.
3
This function loads an File into an String.
3
create a random string of 16 chars
3
When you need to perform an action on a single row of data, many people turn to cursors. Cursors come with a lot of overhead in the database engine and can be confusing. Here's a way to get the same results without the overhead in a much simplier way.
3
Try to create a DSL for a finite state machine.
Inspired by Chris vanBuskirk version on this site and the Ruby article at
http://www-128.ibm.com/developerworks/java/library/j-cb03137/index.html
Inspired by Chris vanBuskirk version on this site and the Ruby article at
http://www-128.ibm.com/developerworks/java/library/j-cb03137/index.html
3
A possible implementation of the Sieve of Eratosthenes for generating prime numbers below some limit.
3
Generate prime numbers below some limit. This snippet incorporates some DSL like keywords to describe the prime algorithm.
3
The tests for the Sieve of Eratosthenes snippets.
3
If you want to create a shortcut programatically use the code below. Found somewhere on net
3
To create a shortcut to an url you can do as follows
3
To get the name of the computer/host







