Welcome To Snipplr


Everyone's Recent Snippets



1 ... 467 468 469 470 471 ... 554
secure and stable
1 578 posted 16 years ago by leferreyra
0 1211 posted 16 years ago by ezerick
Example: ln -s /usr/local/apache/logs ./logs
3 1427 posted 16 years ago by jonhenshaw
Creates a MySQL table with all 50 states + Washington D.C. in alphabetical order.
1 856 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 872 posted 16 years ago by DesTincT
Sniff and disable Firebug. Not sure why you'd need it though. Firebug is just great.
4 986 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 1631 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 763 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 1362 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 1237 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 1377 posted 16 years ago by stews
I can never remember the syntax on the "FOR UPDATE OF" clause!
0 1030 posted 16 years ago by stews
0 693 posted 16 years ago by djiao
Remove *.LCK for any other extension you want to remove.
0 991 posted 16 years ago by luizlopes
0 835 posted 16 years ago by Anthony
1 1121 posted 16 years ago by tonic
Basic web.xml setup for using Spring MVC, Sitemesh, and Hibernate (using hibernate filter for lazy loading)
2 1176 posted 16 years ago by jcblitz
2 1210 posted 16 years ago by tclancy
Used for converting, compiling, and reversing tiff files from the Book Center's digital library.
0 734 posted 16 years ago by rubinsta
0 689 posted 16 years ago by pmaciver
2 809 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 1638 posted 16 years ago by benpjohnson
1 ... 467 468 469 470 471 ... 554