Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 456 457 458 459 460 ... 553
Needs flvttool2 for generating meta info for flv file.
0 1325 posted 17 years ago by Juego
copied straight from the source
1 1619 posted 17 years ago by melvitax
The Visual Studio output window will display "Detected memory leaks!" with a memory allocation number, for example, {145}. See Memory Leak Detection Enabling. Using the debugger (without changing code) see: http://msdn.microsoft.com/en-us/library/...
1 3421 posted 17 years ago by jimfred
0 1210 posted 17 years ago by peteinlux
1 1509 posted 17 years ago by peteinlux
You'll need the latest version of [jQuery](http://www.jquery.com) and the jquery.cookie plugin([Snag it here!](http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/))
1 1747 posted 17 years ago by conspirator
Rake task - Copies files from one directory to another in a batch of 50 files, giving 15 seconds break between each batch.
1 1771 posted 17 years ago by cnicolaou
1 1285 posted 17 years ago by iTony
This is a sample Google Maps API script that shows a base map with city markers, each with a numbered label. The marker is a default, blank red marker with a number label defined by the overlay array. Clicking on a marker takes you to a page define...
1 2015 posted 17 years ago by bcalloway
Sample script to use Google API to display a map with multiple marker layers that can be toggled on/off using checkboxes. The map data is provided using the .kml files provided from "My Maps" on Google, or Google Earth files.
2 2771 posted 17 years ago by bcalloway
An example of creating non-modal dialog boxes which extend the Dialog class is SWT/Eclipse
0 1369 posted 17 years ago by monkey103
make a query and retrieve the first record, if error occurs show it and the query.
0 1094 posted 17 years ago by ginoplusio
retrieve only one value from the query
0 1272 posted 17 years ago by ginoplusio
Escape all special regex characters (.*+?|()[]{}\) from a string. Useful when dynamically building a Regular Expression object based on input text that could hold regex characters.
2 2145 posted 17 years ago by kouphax
similar to php ereg_replace. You can pass this pattern [^A-Za-z0-9] and "" to remove from string non alphanumerical chars: s = ereg_replace("[^A-Za-z0-9]","",s) I use this function to clean input fields...
0 1741 posted 17 years ago by ginoplusio
US phone with or without parentheses
1 1410 posted 17 years ago by binarynomad
Search for Social Security Numbers
1 1304 posted 17 years ago by binarynomad
Based on templates by luxuryluke and Kevin Hale. Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is dis...
8 1988 posted 17 years ago by nighthawk
0 1273 posted 17 years ago by garretjames
Thanks to Matt Farina This snippet is useful for preloading content with media that has been received via an AJAX request. For simple preloading of known images, see similar snippet.
6 1665 posted 17 years ago by nighthawk
Thanks to Matt Farina Also see similar snippet for preloading arbitrary content, e.g. media in content received via AJAX.
14 1802 posted 17 years ago by nighthawk
1 ... 456 457 458 459 460 ... 553