Welcome To Snipplr


Everyone's Recent Snippets



1 ... 450 451 452 453 454 ... 553
0 1501 posted 17 years ago by ginoplusio
Pass in text and the maximum allowable length and this snippet will return as many full sentences from the text as it can within that length. If no sentences, it will just trim to the maximum length allowed.
1 1716 posted 17 years ago by DaveChild
0 1141 posted 17 years ago by ginoplusio
The log4j.properties file in Tomcat is called log4j.xml file in JBoss.
0 1117 posted 17 years ago by cimm
Avoid penalties for duplicate content. Also see <a href="http://sitening.com/blog/htaccess-redirects-to-a-single-hostname/">How to Stay Safe from Duplicate Content by Using .htaccess and 301 Redirects</a>.
2 1572 posted 17 years ago by splotchy
Some other alter syntax examples at the URL, which beats the pants off the MySQL manual for some reason.
0 1398 posted 17 years ago by tclancy
0 1392 posted 17 years ago by jimfred
Learn a new and seldom used method of clearing floats in CSS.
3 1560 posted 17 years ago by neal_grosskopf
Original Source from http://support.sas.com/kb/24/590.html
0 3870 posted 17 years ago by webonomic
0 1053 posted 17 years ago by klunkatronic
Activate the server side JavaScript debugger in Alfresco.
0 1012 posted 17 years ago by cimm
1 1590 posted 17 years ago by aemkei
0 917 posted 17 years ago by aemkei
Glossy slide door black menu with blue hover styled which can be used on white backgrounds
1 1516 posted 17 years ago by settysantu
If you have a lot of javascript you need to load to make your page work, but don't want to load all of it before the user sees your page, you can use this handy script to backload it all.
4 1452 posted 17 years ago by garside
みたいなカンジで「保持するmodel名の小文字+"_set"」でぶらさがるEntityのリストを取得できる。この名称はReferencePropertyのコンストラクタのcollection_name引数で指定する事もできる。
0 1065 posted 17 years ago by tamuratetsuya
If you don't have Adobe Acrobat Pro to export a PDF to multiple images, you can use this ImageMagick code. This command will produce the files 'result-0.jpg' , 'result-1.jpg', etc... for each PDF page.
5 2048 posted 17 years ago by webonomic
You can use this code in Bash or Windows CMD / Command prompt (although you'll have the change the comment character from # to :: for the windows prompt)
1 2082 posted 17 years ago by webonomic
A simple but powerful interface for allowing firebug access functions in the jQuery chain. See the link above to check out the functions it accepts.
8 1665 posted 17 years ago by garside
0 1229 posted 17 years ago by lemur
In original Shea Enhancement, image had higher z-index than drop-down menu items. Changing z-index of entire H1 made text appear above image in some browsers. Could not change z-index of menu items. Added an extra span tag and two classes to the m...
0 1398 posted 17 years ago by skylenewman
asp function similar to php one, to truncate long words inside a string
1 1794 posted 17 years ago by ginoplusio
it already exists in php
1 1291 posted 17 years ago by ginoplusio
1 ... 450 451 452 453 454 ... 553