Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Looked for a simple, efficient cross-fading script that does it properly without fading to the background color. This script uses z-indexes to prevent the background from ever showing, creating a smooth fade.
0
1505
posted 16 years ago by relaxasaurus
Use it on your AreaRegistrationContext via the extension MapRouteLowercase
0
1891
posted 16 years ago by jmcd
Con esta funcion podemos recortar una cadena de texto indicandole cuantos caracteres queremos que tenga y ademas no cortara la ultima palabra.
0
1601
posted 16 years ago by jacinmontava
I was recently faced with the problem of setting focus to the next input field. The challenge was that I didn’t know what that field was. So given an input field, find the next logical (in the order of the DOM) input field and set focus. I came up...
1
2533
posted 16 years ago by Meander365
Place the following code in header.php before the call to wp_head().
(If you do not include the exact version number when calling libraries from Google's AJAX Libraries API, a redirect is used to pull up the most current version. While this is han...
3
2408
posted 16 years ago by chrisdpratt
Full example widget available at [WP Engineer](http://wpengineer.com/wordpress-built-a-widget/ "Build A WordPress 2.8 Widget With The New Widget API").
0
1784
posted 16 years ago by chrisdpratt
With 10.5 Apple deprecated the use of NSMailDelivery – without a replacement. So the questions comes up regulary – how does one send emails from Cocoa? Turns out there are couple of frameworks available that can also be used to do the job.
*...
0
3414
posted 16 years ago by zingo
I can't help thinking that good use of jQuery & Javascript must use extensive comments
0
1839
posted 16 years ago by PandaWood
Simple function that sorts a bi-dimensional array by one of it keys.
1
2249
posted 16 years ago by AlejoLuc
please let me know if you know of some others... just to complete the collection.
1
1736
posted 16 years ago by c4ptivate
C#
Generic list wrapper returns a smaller strongly typed sub-list which modifies the parent-list when changed (without events)
A class which wraps a parent list containing mixed object types, to provide smaller strongly typed sub-lists of objects. These sub-lists can be modified, which then modifies the parent list concurrently (without events being triggered). Supports the...
0
1905
posted 16 years ago by bryanlyman
This script pulls in files with [rsync](http://samba.anu.edu.au/rsync/), storing them locally with hardlinks for unchanged, and real files for changed -files.
* KEY=$HOME/.ssh/id_dsa_passwdless -- an id_rtsa key without a password. --adding this t...
0
2005
posted 16 years ago by berkes
Uses JSON Lite SWC/Class from http://thanksmister.com/?p=40
0
1893
posted 16 years ago by allnatural
This is how to use the $sf_request in a view to build the current base url, including the application file used to build the script.
0
1937
posted 16 years ago by cburyta