Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 438 439 440 441 442 ... 552
A tutorial showing you how to give your images some style using only CSS rather than using Photoshop to give images a border/frame.
1 2397 posted 17 years ago by neal_grosskopf
One other thing to note, is that the php generated css file can make use of query parameters, for instance: <link rel="stylesheet" href="base.css.php?type=alternate" type="text/css" > in your PHP file you can use the variable: if ($_GE...
2 2548 posted 17 years ago by dbug13
Get Version Number from Info.plist
8 3583 posted 17 years ago by steve918
Grabs the unique device id from the iPhone
3 3340 posted 17 years ago by steve918
iPhone uses [LDML standard](http://unicode.org/reports/tr35/tr35-4.html#DateFormatPatterns) for date formatting
8 3924 posted 17 years ago by steve918
Create theme override file: `upload_attachments.tpl.php` in your theme directory. [CSS styles](http://snipplr.com/view/11848)
2 2061 posted 17 years ago by zachharkey
The following styles are designed to work with the markup from a custom theme override template called [upload_attachments.tpl.php](http://snipplr.com/view/11851)
1 2185 posted 17 years ago by zachharkey
2 1830 posted 17 years ago by zachharkey
Few different ways to output primary links in your page.tpl.php template.
3 2350 posted 17 years ago by zachharkey
Rather than using target="_blank", which is deprecated by the W3C in XHTML, you should use rel="external" for links that you want to pop out in a new window. This is the javascript that makes it happen.
0 2435 posted 17 years ago by chippper
Groovy ranges works on dates also! (http://kousenit.wordpress.com/2009/02/02/groovy-groundhogs/)
2 2349 posted 17 years ago by narkisr
2 1713 posted 17 years ago by aflatter
paste it in wp-config.php and make sure the prefixes are right (wp_* is default) also the blogs must be installed on the same database with different prefixes. For example, you might have a primary blog with the table prefix wp_ on the database...
0 1489 posted 17 years ago by philiph
0 1734 posted 17 years ago by oli
3 2028 posted 17 years ago by oli
Thanx to Guillaume Laforge, who provided this code snippet of Groovy code in a GSP. The snippet below is more or less the same, less the HTML. It will show all future evens and create a eventMap for each event.
0 2472 posted 17 years ago by hansamann
Please, be careful with trailing slash rewrite as post requests without a trailing slash will be ignored. Be sure to test if you plan on using that one. Not compatible with Drupal.
0 1844 posted 17 years ago by troynt
I wanted to show a block of the current taxonomy term info (desc, name, img) in Drupal 6 views 2 Provide default argument
0 1501 posted 17 years ago by lexx
Fix the background at the NSF
0 1679 posted 17 years ago by chablatfriront
Running a btrace script takes two separate steps by default: 1. Running jps to get the Java process ID. 2. Running btrace on the ID. A simple awk script can merge the two into a single step.
0 1877 posted 17 years ago by narkisr
1 ... 438 439 440 441 442 ... 552