Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 134 135 136 137 138 ... 553
0 1340 posted 14 years ago by amandalaine
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 1536 posted 14 years ago by relish
Retrieves Active Directory distinguished name given user's SAMAccountName
0 1352 posted 14 years ago by lrduncan
0 1619 posted 14 years ago by a1ias
Replace non alpha-numeric characters with PHP
0 1401 posted 14 years ago by plesh
Loops through ASCII characters to display alphabet, useful for alphabetic filtering links. eg: A | B | C | D ...
0 1706 posted 14 years ago by plesh
A really handy snippet that will replace textual URLs with HTML links. Also works for email addresses.
0 2349 posted 14 years ago by plesh
0 1187 posted 14 years ago by KernelPanic
File size validation
0 1593 posted 14 years ago by erraja_07
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 1307 posted 14 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 1409 posted 14 years ago by abstraktor
Useful when managing a bunch of submodules.
0 1212 posted 14 years ago by iloveitaly
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 1777 posted 14 years ago by tcam27
0 1418 posted 14 years ago by jacksaidwhat
0 1693 posted 14 years ago by Alwaison
0 1436 posted 14 years ago by retsub79
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 1561 posted 14 years ago by chrisaiv
this code will show you how to save data from gridview to xml file
1 4108 posted 14 years ago by tabook22
This code will sow you how to create a new datatable
0 3833 posted 14 years ago by tabook22
Create a new xml file and display it in browser
0 4625 posted 14 years ago by tabook22
This code will be used to bind an xml file to gridview
0 3922 posted 14 years ago by tabook22
1 ... 134 135 136 137 138 ... 553