Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Helps identify correctly the type of whatever you put as an argument. This was adapted from http://www.planetpdf.com/developer/article.asp?ContentID=testing_for_object_types_in_ja
3
1084
posted 18 years ago by rolandog
I got most of these tips out of a great book published by O'Reilly (my favorite web-design publisher): "Programming PHP, 2nd Ed." by Lerdorf, Tatroe, and McIntyre. Another good book is "Essential PHP Security," also published by O...
2
1590
posted 18 years ago by pckujawa
Most of these come from the book "CSS Mastery: Advanced Web Standards Solutions," a must-read by Andy Budd (seriously, even if you've used CSS for years, you'll learn a good deal of new things from this book; beginners should read this imme...
2
707
posted 18 years ago by pckujawa
交互ã«èƒŒæ™¯è‰²ã‚’変ãˆã‚‹ã‚¹ã‚¯ãƒªãƒ—ト.
XHTML basic templateã¨åˆã‚ã›ã¦å‚考ã«ã©ã†ãž.
本当ã¯CSSクラスを振ã£ã¦, スタイルã¯CSSã§ä»˜ã‘ãŸã»ã†ãŒã„ã„ã‘ã©å–り急ãŽ.
1
758
posted 18 years ago by masaya
Usage of Server, Response and Request object with HttpContext declaration from external class
0
888
posted 18 years ago by miziomon
You can use these attributes to format the display of your form bean properties. This works pretty well in displaying currency and date/time values. For example, you can display 1234.567 as $1,234.57 and 08/12/2006 as Aug 12, 2006.
In order to ge...
0
1218
posted 18 years ago by springett
This handy CSS attribute can be used to keep text from wrapping. It can also be used to keep other HTML elements from wrapping. Simply apply the white-space:nowrap attribute to any HTML element to force text and images to not return within a specifie...
5
3704
posted 18 years ago by jonhenshaw
I don't like having the "Open Notebook" text next to the status bar icon of Google Notebook's extension for Firefox. Add this snip to userChrome.css to make it go away!
1
792
posted 18 years ago by CUViper
Counts the total amout of nodeviews between now and a year ago (the last 31536000 seconds).
1
779
posted 18 years ago by berkes
Here's a quick block of code that adds a valid Atom feed to you Grails application. Validate here: http://feedvalidator.org/check?url=http://aboutgroovy.com/item/atom
1
798
posted 18 years ago by scottdavis99
This (almost) one-liner cascades into all subdirectories and deletes the files first, then the directories. Makes deleting a directory really easy. This was originally posted by John Wilson into the Groovy user list.
2
1860
posted 18 years ago by hansamann
IE6 and before doesn't support :hover in CSS (except for anchors). You can use this script to make hovers work in IE. Just add the following line to your stylesheet (this assumes the path of the file -- you may need to change it to reflect your paths...
7
1845
posted 18 years ago by jonhenshaw