Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 351 352 353 354 355 ... 553
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 1849 posted 16 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 1459 posted 16 years ago by blackf0rk
0 1094 posted 16 years ago by arpit
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 1640 posted 16 years ago by kencyber
0 815 posted 16 years ago by tenpaiyomi
0 1115 posted 16 years ago by rvachere
How to setup a remote git repository via SSH.
0 1542 posted 16 years ago by narkisr
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 1188 posted 16 years ago by stephanepericat
0 831 posted 16 years ago by enjoydoingitwrong
1 1187 posted 16 years ago by arpit
prop(obj); //usually use "$(str).appendTo(''#ul")
0 1050 posted 16 years ago by anobre
0 1214 posted 16 years ago by cavi21
0 1267 posted 16 years ago by gd6d
This is the code to make a simple gallery really fast, with php, jquery and a dir full of pictures.
2 2278 posted 16 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 1238 posted 16 years ago by Oldarney
Some code I found for calculating and determining a persons age
1 1109 posted 16 years ago by mpcircuitry
0 1036 posted 16 years ago by magicrebirth
2 1688 posted 16 years ago by rabc
Will disable the button and still allow the postback event
0 1283 posted 16 years ago by derekholmes
1 ... 351 352 353 354 355 ... 553