Welcome To Snipplr


Everyone's Recent Snippets



1 ... 467 468 469 470 471 ... 554
secure and stable
1 633 posted 16 years ago by leferreyra
0 1283 posted 16 years ago by ezerick
Example: ln -s /usr/local/apache/logs ./logs
3 1516 posted 16 years ago by jonhenshaw
Creates a MySQL table with all 50 states + Washington D.C. in alphabetical order.
1 938 posted 16 years ago by simplistik
For user-friendly animations on hover event. Prevents repeating animations when hovering object many many times. Example needs "jquery.color" plugin for color animations. But you can use any animations you want.
0 951 posted 16 years ago by DesTincT
Sniff and disable Firebug. Not sure why you'd need it though. Firebug is just great.
4 1075 posted 16 years ago by zerolab
This example shows how to clone an object from an existing one by using MOP in Groovy, first we find all the writable properties of the cloned object class, secondly we traverse them and on each iteration we copy the value from the current object i...
2 1725 posted 16 years ago by narkisr
Tracy from FlexCoders advises against using lastResult. This property is intended for use in binding expressions, and you cannot depend on its value when you access it in AS code (though it usually works). Note that if you ever decide to use bi...
0 837 posted 16 years ago by nextstep
Nothing amazing here, just an efficient way to get the first row. Be sure to set your ORDER BY clause properly.
0 1436 posted 16 years ago by stews
I often need to know if a record exists in a table. This method is probably the most efficient. Too many people don't use the exceptions that Oracle provides, which is a shame. I think I got it from Tom Kyte's site? Or Steven Feuerstein?
0 1328 posted 16 years ago by stews
This compares selected columns between 2 tables that you think might have differences. It lists the rows and values that are different between the two sources You can add WHERE clauses as appropriate. You could also use this to compare the resul...
0 1480 posted 16 years ago by stews
I can never remember the syntax on the "FOR UPDATE OF" clause!
0 1114 posted 16 years ago by stews
0 753 posted 16 years ago by djiao
Remove *.LCK for any other extension you want to remove.
0 1089 posted 16 years ago by luizlopes
0 909 posted 16 years ago by Anthony
1 1216 posted 16 years ago by tonic
Basic web.xml setup for using Spring MVC, Sitemesh, and Hibernate (using hibernate filter for lazy loading)
2 1259 posted 16 years ago by jcblitz
2 1306 posted 16 years ago by tclancy
Used for converting, compiling, and reversing tiff files from the Book Center's digital library.
0 809 posted 16 years ago by rubinsta
0 747 posted 16 years ago by pmaciver
2 897 posted 16 years ago by tonic
Pre 1.6 git has some annoying whitespace checking in it's pre-commit hook. Rather than turn it off I decided to have a go at an automated method to fix the issue. Running the first line lists the files that have problems. The second just adds a se...
0 1775 posted 16 years ago by benpjohnson
1 ... 467 468 469 470 471 ... 554