Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I did not author this code. I came across it and have found it to be useful.
2
1811
posted 17 years ago by gtalmes
This snippet is originally from Tom Carden. All due credit goes to him.
2
2462
posted 17 years ago by Wiederkehr
I was looking for a simple time delay in ActionScript, and I found this one to be useful (and working). The logic is plain simple to understand.
ASv1.
1
1936
posted 17 years ago by webStruck_
Use this API to access names and addresses in a user's webmail (Gmail, AOL, Hotmail, and Yahoo). Make it easy to send friend invites for a social site and import contact lists. Rapleaf maintains up to date code on the importer and never stores passwo...
0
1256
posted 17 years ago by dannymo2
Quick example to show how 'this' depends on how the function in which you called it in was being invoked. From jQuery in Action.
1
1340
posted 17 years ago by 1man
An example of how to extent the jQuery objects to include our own methods.
0
1657
posted 17 years ago by 1man
This is a snippet I did for a project-- it relies on Drupal and the Flickr module for Drupal.
4
1553
posted 17 years ago by dewolfe001
Style External, PDF, and Mailto links using CSS and a background image. For a great set of icons to choose from visit http://www.famfamfam.com/lab/icons/silk/.
3
1983
posted 17 years ago by neal_grosskopf
Stolen from the mentioned URL - this is used to make SPRY Framework work together with MYSQL.
2
1873
posted 17 years ago by Nils
Easy functions, comments in code.
From: http://www.ilovejackdaniels.com/asp/vbscript-regular-expressions/
1
1439
posted 17 years ago by jc001
Usage: onmouseout='if (isMouseLeaveOrEnter(event, this)) YourActionHere();' onmouseover='if (isMouseLeaveOrEnter(event, this)) YourOtherActionHere();'
1
1662
posted 17 years ago by Winkyboy
Para realizar validaciones en Javascript rápidamente. Requiere que en la etiqueta metamos un onSubmit="return checkform(this);" . Este trozo de código es para dos campos input con nombres campo1 y campo2.
0
890
posted 17 years ago by betacontinua
This is a command line parsing routine I found online. Original comments left in tact.
0
1202
posted 17 years ago by jc001
Sure that programmers know this, but me as a sysadmin does not use svn that much.
3
2155
posted 17 years ago by therobot
If you have a complex function you may need to pass it lots of arguments. Instead of having to remember how many you need to pass, and passing 'null' for un needed arguments, pass the function an object.
Now you can set the defaults inside the fun...
0
1487
posted 17 years ago by 1man
Removes diacritics from file name before adding it to the archive. Archive file name retains diacritics.
0
2617
posted 17 years ago by karelklic