Below are the top ranked snippets.
5
A sipmle tag that masks email addresses from spambots or email harvesters.
5
Optimized way to calculate age from timestamp,
the idea is not to use date() call at all if possible.
the idea is not to use date() call at all if possible.
5
With this simple class you can run som code with others user accounts.
How to use:
// ...some code
using(Impersonator user = new Impersonator("domain", "user", "pswd"))
{
// This run with new credentials.
}
// ... more code
How to use:
// ...some code
using(Impersonator user = new Impersonator("domain", "user", "pswd"))
{
// This run with new credentials.
}
// ... more code
5
I'm in the process of writing test fixtures for our rails site. A lot of my tests require authentication, so I've had to port our permissions system into a fixture. Rather than type out all of the information for the fixture, I decided to create a nested loop that will take care of this for me.
There's probably a rake task for this, but I wasn't able to find it, so I came up with my own solution. You'll have to do a little cleanup when it's done, however some slight mods to this loop could even eliminate that.
There's probably a rake task for this, but I wasn't able to find it, so I came up with my own solution. You'll have to do a little cleanup when it's done, however some slight mods to this loop could even eliminate that.
5
We Just released Shine Live Help. It has integration with SugarCRM. As part of the release we are having a Code Contest with $10,000 in cash prizes. We hope to attract coders to improve the usability, and interoperability with other open source applications.
You can download it here and register for the contest: http://www.iradeon.com/codeprix.html
I have posted the CRM integration piece.
You can download it here and register for the contest: http://www.iradeon.com/codeprix.html
I have posted the CRM integration piece.
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.
5
BerndSchiffer
Ein Kilometerfresser mit Groovy Console, Inlinetests, Groovy Beans, der Meta-Objekt-Programmierung, Swing, GStrings, Regulären Ausdrücken und Closures gebaut. Läuft mit Groovy 1.0 in der Groovy Console.
A Mile-Eater build with Groovy Console, inline tests, Groovy Beans, Meta-Object-Programming, Swing, GStrings, regular expressions und closures. Runs with Groovy 1.0 in the Groovy Console.
A Mile-Eater build with Groovy Console, inline tests, Groovy Beans, Meta-Object-Programming, Swing, GStrings, regular expressions und closures. Runs with Groovy 1.0 in the Groovy Console.
5
How to connect to your mysql serve
5
Function to search in files
5
This script demonstrates the use of the Speech API via VBScript. Simply type in the word or phrase that you want to the computer to speak and click OK. Useful for vocalizing the results of a function or literally reading a text file to the user.
Note: To successfully run this code you MUST have the Speech API installed. The Speech API is installed during a complete Office install. If the required libraries are not present on your system, search Microsoft.com for the speech API SDK download. See this page for help on setting up Text To Speech: http://support.microsoft.com/kb/306902/
Note: To successfully run this code you MUST have the Speech API installed. The Speech API is installed during a complete Office install. If the required libraries are not present on your system, search Microsoft.com for the speech API SDK download. See this page for help on setting up Text To Speech: http://support.microsoft.com/kb/306902/









