Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This will reset your style properties to the default values, specific to an element and its children.
Here are the all the properties that need to be set to default that also don't break modern browsers.... or less then modern, like IE 4/5.
0
10541
posted 18 years ago by marcusrosentrater
This command lists all the differences that were made between two revisions in SVN.
2
2298
posted 18 years ago by narkisr
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
1918
posted 18 years ago by shrop
A useful AWK one liner, see http://student.northpark.edu/pemente/awk/awk1line.txt for some more
1
1852
posted 18 years ago by narkisr
example code only... save to [path.to.profile]/searchplugins/
1
1778
posted 18 years ago by rwczippy
Two functions. 1) Find the string between characters. 2) Create array of strings found between two characters.
1
1980
posted 18 years ago by jamesming
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
2017
posted 18 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
1551
posted 18 years ago by DesTincT
The refresh meta-tag for the html header to redirect to another url.
0
1966
posted 18 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
2173
posted 18 years ago by wizard04
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
3183
posted 18 years ago by shrop