Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 153 154 155 156 157 ... 554
Add draggable markers on a Google map with a click, remove marker on click
0 1013 posted 14 years ago by marzsman
0 905 posted 14 years ago by greeneggs614
This post will show you how to make your theme generate thumbnails automatically, based on your post’s first image. Uses timthumb to resize
0 1048 posted 14 years ago by dnnsldr
Replace standard query_posts with the snippet to enable pagination on pages with a custom loop. Be sure to change out "somecat" with your category or add additional query arguments.
0 776 posted 14 years ago by rickfu
This rule allows you to embed fonts cross domain. Especially good when you are serving your fonts from a CDN.
0 1286 posted 14 years ago by demwunz
0 845 posted 14 years ago by screamwork
0 898 posted 14 years ago by screamwork
0 704 posted 14 years ago by screamwork
For example: search_value = 3, column_value = 1,2,3,4,5,6
0 931 posted 14 years ago by dsoms
0 928 posted 14 years ago by dubogii
0 992 posted 14 years ago by dubogii
0 1166 posted 14 years ago by dubogii
the POSIX Regex functions are deprecated in PHP 5.3.0 and removed in PHP 6. http://us2.php.net/manual/en/function.eregi-replace.php
0 1128 posted 14 years ago by dubogii
Still problematic... 1. The source of the iframe content must reside on the same domain 2. if the content inside the iframe changes height, this won't adapt 3. I left Google Analytics code off the demo above, as when I added it in it seems to in...
1 1289 posted 14 years ago by dubogii
0 1073 posted 14 years ago by dubogii
0 1246 posted 14 years ago by dubogii
0 1153 posted 14 years ago by dubogii
Ever wanted to execute remote commands with sudo while redirecting output to a file that doesn't belong to the user you login with? Combine single quotes with double quotes!
0 907 posted 14 years ago by nohn
compress & combine CSS files and param theme with PHP vars
0 1287 posted 14 years ago by giak
1 ... 153 154 155 156 157 ... 554