Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 476 477 478 479 480 ... 554
This command lists all the differences that were made between two revisions in SVN.
2 1136 posted 16 years ago by narkisr
Reset PHP script time limit
4 1908 posted 16 years ago by jdstraughan
This will create a general site blog teaser list at /blog. It requires a cck type named blog. This view also generates an RSS feed for the blog. This is compatible with Views1 for Drupal 5.
2 1056 posted 16 years ago by shrop
1 913 posted 16 years ago by jamesming
A useful AWK one liner, see http://student.northpark.edu/pemente/awk/awk1line.txt for some more
1 1005 posted 16 years ago by narkisr
1 1126 posted 16 years ago by Juego
example code only... save to [path.to.profile]/searchplugins/
1 1053 posted 16 years ago by rwczippy
CSS multi columns layout
3 1279 posted 16 years ago by Ashung
Two functions. 1) Find the string between characters. 2) Create array of strings found between two characters.
1 1137 posted 16 years ago by jamesming
0 832 posted 16 years ago by fredaudet
0 774 posted 16 years ago by fredaudet
9 1256 posted 16 years ago by fredaudet
2 1234 posted 16 years ago by fredaudet
1. Make sure the following environment variable is set: WinXP: HOME=C:\Documents and Settings\*username* Vista: HOME=C:\Users\*username* 2. Create an .irbrc file in %HOME%: $ cd %HOME% $ touch .irbrc If you don't have...
1 1109 posted 16 years ago by charlesroper
Content may disappear on window resize in IE6/Maxthon, when using expressions to set min-width/max-width. To fix it - just remove 'position:relative' in #container.
0 778 posted 16 years ago by DesTincT
The refresh meta-tag for the html header to redirect to another url.
0 1040 posted 16 years ago by Wiederkehr
`Events.add(element, type, handler)` adds a handler to an element `Events.remove(element, type, handler)` removes a handler from an element `Events.getTarget(event)` or `Events.getOrigin(event)` returns the element from which the event originat...
1 1182 posted 16 years ago by wizard04
2 1104 posted 16 years ago by taboularasa
This is useful if you are changing a Drupal site's file upload path and/or changing from a private to a public file store.
3 1961 posted 16 years ago by shrop
Functions to use the clipboard. Requires a Flash file for non-IE browsers: see [http://javascript.internet.com/forms/clipboard-copy.html](http://javascript.internet.com/forms/clipboard-copy.html) Remember to set `config.Clipboard.pathToFlash` a...
1 881 posted 16 years ago by wizard04
Useful when creating canonical forms of strings for indexing.
0 1010 posted 16 years ago by scarfboy
1 ... 476 477 478 479 480 ... 554