Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Matches the word starting with si or Si and containing : in the word also as an optional. The expression can be tested here http://rejex.heroku.com/
0
1090
posted 13 years ago by punuhan
Ensures the admin scripts or styles will load only on your wordpress plugin settings page:
- add_options_page returns a hook_suffix for the settings page of your plugin.
- append this value prefixed with a dash (-) to the end of the action you ar...
0
1035
posted 13 years ago by relish
Retrieves Active Directory distinguished name given user's SAMAccountName
0
914
posted 13 years ago by lrduncan
Loops through ASCII characters to display alphabet, useful for alphabetic filtering links.
eg: A | B | C | D ...
0
1166
posted 13 years ago by plesh
A really handy snippet that will replace textual URLs with HTML links.
Also works for email addresses.
0
1801
posted 13 years ago by plesh
to make use of this snippet you have to update the jquery.js file in your ndxz-studio/site/js folder to a new version.
0
847
posted 13 years ago by G470
use flatten to reduce a given list to non-list elements. All elements that are no list will be kept and the lists will be expanded...
0
888
posted 13 years ago by abstraktor
Since forms only read the name of the element and not the id, this could be helpful since it makes each each element's name its id and its id the name.
0
1132
posted 13 years ago by tcam27
I always have trouble preparing JSON to work nicely with as3corelib. Here's an example of what I do whenever the array I'm looking for is nested within more JSON. This really isn't for anyone other than myself.
0
983
posted 13 years ago by chrisaiv
this code will show you how to save data from gridview to xml file
1
1489
posted 13 years ago by tabook22