Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 420 421 422 423 424 ... 553
Just insert it into your .htaccess file to redirect all your 404 error pages to any address
2 1397 posted 16 years ago by caruso_g
1 1649 posted 16 years ago by wdso
This is stupidly simple, but I always forget it.
1 1523 posted 16 years ago by rengber
Use [short] in a post to insert the text from the function.
2 1326 posted 16 years ago by kristarella
Replace and append the following settings in modules/fckeditor/fckeditor.config.js. Has to be re applied after each update.
0 1194 posted 16 years ago by zachharkey
This sql query will select the past version information about a given file from the database. An example would be searching for %ApprovalHistoryVOImpl% would return all past version numbers (in the database) for the ApprovalHistoryVOImpl.class file....
0 1504 posted 16 years ago by theonlyalterego
These are two separate code snippets. One is for a crontab, the other to be run by cron. Together they create a new folder every day and fills it with 240 jpeg images (10 per hour) of whatever it is that you're doing. The next step for me is t...
1 1190 posted 16 years ago by ThomasGHenry
Place the following function in your theme's template.php
5 1671 posted 16 years ago by zachharkey
Only works in new tab, because of limitation of cross-domain AJAX
0 1122 posted 16 years ago by angusdev
1 1319 posted 16 years ago by Uzbekjon
0 1024 posted 16 years ago by edgsv
This snippet is a reemplacement for the parseFloat function of the Javascript language. This new function gets one or two parameters if only one parameter is defined the function is like the original parseFloat. If there are two parameter passed to t...
1 1663 posted 16 years ago by amischol
fond this, and want to try it.
0 1371 posted 16 years ago by stavelin
Put this before the loop in archive.php to have posts in the archive for category '26' sorted by custom field 'date'. Assign sortable values like '090501' or '2009-05-01' to those fields when editing posts and your Upcoming Events will be sorted by...
8 2786 posted 16 years ago by hussong
This is a no-nonsense xHTML 1.1 template for use in a new document. The first head section has the stuff that shouldn't change from project to project. The second head section has the stuff that shouldn't change from page to page. The third has the s...
8 1954 posted 16 years ago by Kerrick
This code can be used for making an external login area on pages other than KickApps powered pages. Please replace ##### with your AS ID. Also, if you've DNS masked you're site, you'll need to replace affiliate.kickapps.com with your domain info.
0 1451 posted 16 years ago by kickjoel
I used this simple snippet to enable users to "View More Info" which was embedded in a div below each of a list of items. This is different from many of the simple jQuery examples that only allow you to show/hide one particular div.
1 1462 posted 16 years ago by aristoworks
1 1658 posted 16 years ago by michaelfox
1 1561 posted 16 years ago by glends
1 1069 posted 16 years ago by lzyy
1 1293 posted 16 years ago by fackz
1 1129 posted 16 years ago by michaelfox
1 ... 420 421 422 423 424 ... 553