Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 439 440 441 442 443 ... 553
0 1305 posted 16 years ago by oli
3 1550 posted 16 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 1908 posted 16 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 1336 posted 16 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 1109 posted 16 years ago by lexx
Fix the background at the NSF
0 1275 posted 16 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 1403 posted 16 years ago by narkisr
0 1322 posted 16 years ago by stavelin
1 1248 posted 16 years ago by fackz
0 1210 posted 16 years ago by tibormiklos
my take on an xhtml skeleton
3 1995 posted 16 years ago by rwczippy
here's the suckerfish dropdown menu for Joomla 1.5 that written by tbianco. It's extremely easy and here's what you need to do: 1) Create the main menu module and add a suffix to it of '_topmenu'. I use the underscore to so that the class name in...
4 1840 posted 16 years ago by jitendraweb
An example of how to write your own navigation with dynamic "active" classes.
3 1883 posted 16 years ago by kristarella
I currently have project_issue nodes set for replacement pattern issues/issue[nid] in Drupal 5.x PathAuto. This query fixes all of the URL aliases for entries created before this was set correctly.
0 1400 posted 16 years ago by tgbdad
this function formats a web address for use in a link
2 1591 posted 16 years ago by jlvallelonga
This snippet assumes that you have a container `div` with an id of "images". It also assumes that each img element inside your container div has the CSS property `visibility: hidden`
0 1038 posted 16 years ago by username
This snippet contains a text input field called 'abc' and we calling the checkNum function as the onclick action of a button 'btn'
0 1566 posted 16 years ago by juzerali
this will give you a lovely RSS. Im sure you will need to edit the database stuff and row names
5 2034 posted 16 years ago by antpaw
1 ... 439 440 441 442 443 ... 553