Below are the top ranked snippets.
4
Walks every subdirectory starting from [initial_dir] and deletes every file in it that contains in its filename a [string]
4
This is a little script I wrote that copies your database through a cfquery statement
Enjoy,
Ernie
ernest.breau@gmail.com
Enjoy,
Ernie
ernest.breau@gmail.com
4
This is enhanced version of java.util.Properties that:
Preserves order of Properties read from file if LinkedHashMap used.
Preserves comments in header and scattered throughout file.
It's by no means perfect, but a good start for anyone that once the above features.
Preserves order of Properties read from file if LinkedHashMap used.
Preserves comments in header and scattered throughout file.
It's by no means perfect, but a good start for anyone that once the above features.
4
This function provides the reverse of a string. It is constructed using string builder because strings in .NET are immutable, while stringbuilders are not. Therefore large strings could be slow to reverse if a regular string was used for the working value that is returned.
4
Use the below in SSH to move a MySQL database between servers. Super handy if the database is larger than 7MB and you can't use phpMyAdmin.
4
A basic employee class
4
Loading and Saving an ArrayList to/from any given path.
4
This perl subroutine uses the CPAN module Mail::Webmail::Gmail to iterate through a Gmail account searching for a particular string. If a match is found, the sender's name along with his/her email address, the subject, and the "blurb" is printed to standard out. Also, all messages found will be archived automatically within Gmail to clear the message from the inbox folder. The subroutine returns the number of messages found back to the calling environment.
Sample invocation: check_email(username, password);
By default, the subroutine will use encryption to connect to Gmail however, by setting encrypt_session to '0' will disable encryption.
Sample invocation: check_email(username, password);
By default, the subroutine will use encryption to connect to Gmail however, by setting encrypt_session to '0' will disable encryption.
4
This JScript code could be used in HTML applications (HTA) or other user-trusted web applications for saving data into files.
4
This will render a flash div only if there is a message in flash. Also will set the id to the flash key.
flash[:notice] returns
This is the notice
flash[:notice] returns
This is the notice









