Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 451 452 453 454 455 ... 553
2 1785 posted 17 years ago by iTony
3 1405 posted 17 years ago by iTony
A simple line of code to apply to attributes that need to be toggled on and off.
0 1312 posted 17 years ago by cessnajumpin
I did not write the script, a friend did.
0 1672 posted 17 years ago by garretjames
1 1659 posted 17 years ago by ginoplusio
3 2072 posted 17 years ago by the_coder
See [Raise and Handle Events Generically](http://snipplr.com/view/15033/raise-and-handle-events-generically/) for a better way to use events (generically) and links to best practices in .NET events. This example should be used as a Console program...
0 1687 posted 17 years ago by pckujawa
This takes a very readable date, such as "Fri, 4 Dec 2008 15:13:00 +0000", and outputs it as a relative date (such as "1 hour ago").
1 1713 posted 17 years ago by bjarkebech
0 993 posted 17 years ago by IJajan
First Remove all capital letters, then capitalise the first ones in each word.
1 1589 posted 17 years ago by Wardy
Use this command to prevent seeing ....68 more type stack trace message in Grails output.
0 1354 posted 17 years ago by kouphax
wordpress in subcategory
2 1779 posted 17 years ago by Ashung
1 1426 posted 17 years ago by turkeypants
Here's how I was able to capture the HREF of a page using actionscript
3 1566 posted 17 years ago by chrisaiv
0 1249 posted 17 years ago by calvin
1 1476 posted 17 years ago by tgbdad
reference: http://codex.wordpress.org/Template_Tags/wp_list_categories
1 1257 posted 17 years ago by Ashung
1. Edit the html form 'action' to point to your PHP page that handles the upload. 2. Create the php page with the code below 3. Define Paths in PHP lines: 3 , 4 of php file 4. Create matching folder to paths in #3 on server. 5. chmod that folder...
4 2079 posted 17 years ago by jadedbat
This uses the concatenation operator "##" to insert a comment "//"
0 6503 posted 17 years ago by jimfred
Should also work in IE6 because of the filter
5 2102 posted 17 years ago by 1man
Using Groovy you can extend the Sql, DataSet and GroovyResultSet objects present in the language to do simple object mapping similar to iBatis et al. An example of using the code below /* POGO used in the mapping */ class BranchFax {...
0 1952 posted 17 years ago by kouphax
I thought I would share this simple username password PHP auth script. It leans on HTTP to secure a page.. not bulletproof but quick and painless.
3 1699 posted 17 years ago by jadedbat
This is simply to serve as a reminder for me as to Firefox's desired font size based on a 16pt base.
0 1574 posted 17 years ago by conspirator
0 1323 posted 17 years ago by czapata
1 1478 posted 17 years ago by ascarion
1 ... 451 452 453 454 455 ... 553