Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 357 358 359 360 361 ... 552
I added this code in the ModuleNews.php file on line 310 - 314.
0 1881 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 2005 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 1721 posted 16 years ago by czapata
Allows downloading of sequential files
0 2150 posted 16 years ago by nate63179
Let you fire click events on any html element.
1 2696 posted 16 years ago by ginoplusio
OSX 10.6 adds exchange support , but breaks if you use jewish calendar , this will fix it.
0 1775 posted 16 years ago by yisreldov
A Swing ActionListener that opens a JFileChooser and returns the selected file.
1 2712 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 3774 posted 16 years ago by mahalie
display: block; needed for IE7 to enable the negative text-indent.
2 2714 posted 16 years ago by adambundy
0 1772 posted 16 years ago by kerpunk
Test controller for custom Form_validation class
0 1683 posted 16 years ago by djenniex
Custom CodeIgniter form_validation class to validate uploaded files.
1 1803 posted 16 years ago by djenniex
0 1849 posted 16 years ago by vas3k
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 2382 posted 16 years ago by leonelsantos
0 1574 posted 16 years ago by kerpunk
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 2063 posted 16 years ago by ginoplusio
0 1963 posted 16 years ago by rccc
Rounded corners for mozilla & webkit
2 1391 posted 16 years ago by kerpunk
0 1612 posted 16 years ago by kerpunk
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 2657 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 2306 posted 16 years ago by loucypher
Move form element into category. Helper for organizing the form
0 1511 posted 16 years ago by kosmikko
Don't forget to use require 'directory/name_of_class'
0 2694 posted 16 years ago by chrisaiv
Just the basic Wordpress comments loop.
1 3935 posted 16 years ago by warrenonline
A function i made for running trim on all elements in an array
1 2230 posted 16 years ago by Knarf
1 ... 357 358 359 360 361 ... 552