Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I added this code in the ModuleNews.php file on line 310 - 314.
0
1778
posted 16 years ago by kahlil
A script I used for quickly load a file (see line 3) and then make a table which had linenumbers on each line. You may want to add a +1 when its generating the table...
0
1906
posted 16 years ago by Knarf
This was a comment posted by [this person] (http://bit.ly/1o9aIJ) to an article posted [here] (http://bit.ly/7BtLT)
0
1627
posted 16 years ago by czapata
OSX 10.6 adds exchange support , but breaks if you use jewish calendar , this will fix it.
0
1683
posted 16 years ago by yisreldov
A Swing ActionListener that opens a JFileChooser and returns the selected file.
1
2597
posted 16 years ago by liqweed
There are a lot of 'starters' out there but I wanted one with all the things I use to start a new project. I find it easier to remove lines I don't need than to hunt and peck for each item...this also makes the starter serve as a sort of 'checklist'...
2
3630
posted 16 years ago by mahalie
display: block; needed for IE7 to enable the negative text-indent.
2
2596
posted 16 years ago by adambundy
Custom CodeIgniter form_validation class to validate uploaded files.
1
1731
posted 16 years ago by djenniex
For more information, see php.net, under usort
It works with dates
Replace 0 for the array's key you want to sort. For example, if you have a start_date array key you would like to compare, then you would replace 0 for start_date.
If you wan...
0
2254
posted 16 years ago by leonelsantos
When you click on the text box the default value (such as "write here") disappears and you can type in. On blur if the textbox is empty it will appear the default value again.
1
1880
posted 16 years ago by ginoplusio
In v1.6, the Thesis Theme has a bug which removes a necessary space in the HTML body tag if you add a filter targeting the thesis_body_classes hook. To get the native WP body_class function to work, use this code:
2
2536
posted 16 years ago by joelhaus
A short photo id is a base58 conversion of the photo id. Base58 is like base62 [0-9a-zA-Z] with some characters removed to make it less confusing when printed. (namely 0, O, I, and l).
So that leaves an alphabet of: 123456789abcdefghijkmnopqrstuvw...
0
2158
posted 16 years ago by loucypher
Move form element into category. Helper for organizing the form
0
1430
posted 16 years ago by kosmikko