DIJKSTRA ALGORITHM IN JAVA
9
Function that splits a given string into sections based on the allowed length for a section. Does not split words up. Splits string on Space character (can be set to another character)
3
create a random string of 16 chars
10
This simple function simply removes the character at the given index from a string.
NOTE: The count starts from 0
NOTE: The count starts from 0
10
Adds any character at the given index of a string.
NOTE: Count starts from 0
NOTE: Count starts from 0
9
This is a very convenient way to remove all doubles from a List in Java. The only prerequisite is that the elements in the list have proper equals and hashCode methods.
It work by using the constructor of a Set that takes a Collection as an argument.
I poured the snippet in a little program so can run it straight away.
It work by using the constructor of a Set that takes a Collection as an argument.
I poured the snippet in a little program so can run it straight away.
6
Gives factorials for a given value.
7
This little number will allow the contents of other pages to be included or embedded into the rendered HTML of an aspx page. Using the WebClient class from the .NET framework, you can conditionally load pages, even manipulate the HTML before it is rendered and in this example, fill in forms and execute javascript actions.
The following example shows how to auto-login to an Exchange Server - this was something requested for inclusion into our portal, but I left out the logic that pulls/decrypts the real password - for obvious reasons.
Enjoy!
~Jeremy
The following example shows how to auto-login to an Exchange Server - this was something requested for inclusion into our portal, but I left out the logic that pulls/decrypts the real password - for obvious reasons.
Enjoy!
~Jeremy
8
Use this utility to grab lines from a file. Arguments are the input file, starting ling number and ending line number.
5
It is a simple converter which converts your number into roman number.
Due to roman numbers it can converts 4 digits.
Due to roman numbers it can converts 4 digits.
9
This is a Tiny PHP Uploading script. It SHOULD be safe from both really large files and non-image files.









