Welcome To Snipplr


Everyone's Recent Snippets



1 ... 493 494 495 496 497 ... 553
Add this arg code plus set first argument as "OG: Group nid(s)"
2 1435 posted 17 years ago by metareason
this is not the ultimate secure way, but it's at least not displaying the email link
3 1346 posted 17 years ago by iTony
1 1325 posted 17 years ago by kangell
It gets images randomly from folder that you've pointed.
4 2552 posted 17 years ago by skywalker
1 1216 posted 17 years ago by imhugo
Useful when trying to cleanup a large repo to see where you've made the most changes
1 2052 posted 17 years ago by JacobSingh
Sometimes i forget to remove firebug console commands when debuging, which makes IE and some other browsers fail / cry. To stop this happening use the below script from firebugx.js on the firebug lite homepage.
3 1469 posted 17 years ago by 1man
I know what you think - no discussion about this needless piece of code to prevent copying texts/images from websites, but there are customers outside that are advising resistant and so I use this code to scare off their potential clienteles.
2 1787 posted 17 years ago by localhorst
I use these main import statements for the begaining of all my Actionscript 3 projects. The last two are custom classes that I use for tweening. One class is called Tweener and the other is called TweenLite.
2 1393 posted 17 years ago by mswallace
The -l switch outputs only the names of files in which the text occurs (instead of each line containing the text), the -i switch ignores the case, and the -r descends into subdirectories.
0 1253 posted 17 years ago by arunpjohny
*"Only the elements which are are selected through the $ selector will get the extra DOMAssistant methods added to it."
0 972 posted 17 years ago by cczona
Are you looking for the RSS feed of your/someone else's DeviantArt Journal? Follow the tutorial on the link above. I used this pattern since the given pattern (above) was linking to a wrong page. Compared to the original pattern extraction, I used...
0 946 posted 17 years ago by webStruck_
This function can validate and parse UK postcode like SW1A 1AA in to formated array.
2 1890 posted 17 years ago by naz
This is a little trick I came up with to add outerHTML functionality in Firefox. For those who aren't familiar with outerHTML, it is an IE addition to the DOM that will return the element's HTML PLUS it's innerHTML. Is it really needed? No, but it ca...
1 2173 posted 17 years ago by localhorst
This spring context configures a simple hibernate session (for annotated classes).
4 1598 posted 17 years ago by narkisr
Often times it is nice to add some text after a link on your website to let your users know whether the link goes to a PDF and how large that PDF file is. I've found that manually doing this works but after awhile when that PDF file get updated, the...
2 1704 posted 17 years ago by neal_grosskopf
0 1147 posted 17 years ago by iTony
Creating a horizontal row of objects that are equidistant from each other is another one of those things in web design that is much more difficult than it should be. This can be a very useful thing to do, especially in fluid width layouts when you ar...
1 1375 posted 17 years ago by localhorst
Following a
2 1187 posted 17 years ago by cczona
This will always show the correct date... so it'll say "Copyright 2008 Comapany Name" now, and at exactly midnight on 1st January 2009, it'll say "Copyright 2009 Company Name". Simple!
2 1557 posted 17 years ago by tigercore
This is handy for testing, when you need to simulate an open file or open URI. Why, and the Pickaxe book, have better examples
1 1227 posted 17 years ago by cczona
1 ... 493 494 495 496 497 ... 553