Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 441 442 443 444 445 ... 552
3 1875 posted 17 years ago by kristarella
This shows how to add content (in this case a linked image) to the end of a post using WordPress custom fields and the Thesis theme.
6 2440 posted 17 years ago by kristarella
0 1886 posted 17 years ago by counter202
Install an older version of a gem.
1 1894 posted 17 years ago by twofivethreetwo
0 1460 posted 17 years ago by trey
So. You have some minutes and want a "human readable" version? Sure thing baby!
2 9342 posted 17 years ago by optimal
1 1338 posted 17 years ago by pmd
0 1911 posted 17 years ago by Meestercor
You only use the filename as $value for get_mimetype().
1 1934 posted 17 years ago by fackz
Populate your states table with US States. Easy rake task for it.
2 2142 posted 17 years ago by twofivethreetwo
0 1722 posted 17 years ago by Meestercor
To be placed inside a loop or a query
1 1849 posted 17 years ago by davebowker
0 2158 posted 17 years ago by Wardy
Click on an input field with a prefilled value, if that value equals the default then select it, if not leave it as it was. Relies on jQuery.
2 2718 posted 17 years ago by 1man
Usage: formatDecimals(3.1415926, 3); returns: 3.141. Also adds zeros to end if needed.
0 1513 posted 17 years ago by Mijos
I was having the hardest time getting this to work. It's a collection of various items. For whatever reason, I needed to include the CASE statement due to NULL's coming back. If this helps you out... go for it.
0 1786 posted 17 years ago by gembry
[quote]$_SERVER['HTTP_REFERRER']'s problem is that can be spoofed, but it's better than nothing if you really want that.[/quote]
1 2299 posted 17 years ago by luizlopes
0 1702 posted 17 years ago by rwczippy
0 1786 posted 17 years ago by leonbda
0 2052 posted 17 years ago by leonbda
0 2299 posted 17 years ago by jitendraweb
0 2305 posted 17 years ago by leonbda
1 ... 441 442 443 444 445 ... 552