Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
For .net 2.0+ The one limitation to enumerations is revealed when you try to reverse lookup an enumeration value using Enum.Parse(). The parse function will return an inconsistent enum object if ever there are two or more enumerations with the same...
0
1698
posted 15 years ago by bryanlyman
In order for the code snippet(s) to work, you need to do the following:
1. Go download the EWS API SDK: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1
2. Install the SDK on your machin...
0
1344
posted 15 years ago by blackf0rk
Perform a search of all user tables in the current database to locate a column defined in a user table that matches a certain name. The first query looks for an exact column name and the second one returns all column names which match a keyword (usi...
1
1536
posted 15 years ago by kencyber
an easy-to-use function to connect to your del.icio.us account and perform a query.
query commands can be found on their api help: http://delicious.com/help/api
1
1119
posted 15 years ago by stephanepericat
This is the code to make a simple gallery really fast, with php, jquery and a dir full of pictures.
2
2154
posted 15 years ago by ginoplusio
I whipped this up after finding that my worst fears were true, pathinfo is slow. Top that with in_array and you've got your self some heavy code. Nothing like regex to speed things up.
This little code checks the extension of a path to see if it i...
0
1086
posted 15 years ago by Oldarney
Some code I found for calculating and determining a persons age
1
1032
posted 15 years ago by mpcircuitry
Will disable the button and still allow the postback event
0
1190
posted 15 years ago by derekholmes