Welcome To Snipplr


Everyone's Recent Snippets



1 ... 467 468 469 470 471 ... 553
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 1172 posted 17 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 1935 posted 17 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 3669 posted 17 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 3933 posted 17 years ago by stews
I can never remember the syntax on the "FOR UPDATE OF" clause!
0 3504 posted 17 years ago by stews
0 1124 posted 17 years ago by djiao
Remove *.LCK for any other extension you want to remove.
0 1625 posted 17 years ago by luizlopes
0 1249 posted 17 years ago by Anthony
1 1636 posted 17 years ago by tonic
Basic web.xml setup for using Spring MVC, Sitemesh, and Hibernate (using hibernate filter for lazy loading)
2 1719 posted 17 years ago by jcblitz
2 3683 posted 17 years ago by tclancy
Used for converting, compiling, and reversing tiff files from the Book Center's digital library.
0 1185 posted 17 years ago by rubinsta
0 1089 posted 17 years ago by pmaciver
2 1294 posted 17 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 2349 posted 17 years ago by benpjohnson
Create an xml file with this content to tell Tomcat to use seperate folder (can be any folder, even out of tomcat root) as a root folder of your application. Copy this file into TomcatDir/conf/Catalina/localhost
0 1285 posted 17 years ago by Uzbekjon
1 1146 posted 17 years ago by edwinjanmoss
Description print_r - Prints human-readable information about a variable mixed print_r( mixed expression [, bool return] ) print_r() displays information about a variable in a way that's readable by humans. Parameters * expression...
0 1531 posted 17 years ago by ianmonge
You’ll notice the global classes at the bottom, which cover basic styling, and will remove styling that we intially set. For example, the .nobullet and .noindent work great on an unordered or ordered list. You can add your own classes there that yo...
1 1189 posted 17 years ago by ianmonge
1 1203 posted 17 years ago by ianmonge
This method uses the "min-height" property to give "hasLayout" in IE 7, "height" property for IE 6 and the pseudo-element ":after" and "content" property for Gecko based and IE 8 Beta.
2 1414 posted 17 years ago by kcmr
Active Record ORM implementation in ActionScript 3 for AIR's SQLite DB
0 1095 posted 17 years ago by bendalton
Para validar si son dígitos, letras, números enteros o decimales (se puede seleccionar el separador de decimales). La función esDigito() y esLetra() está basada en otros códigos de Snipplr
1 1200 posted 17 years ago by sulfurito
Gracias a este artículo, pude colocar fondos de imagen a para las filas de una tabla.
1 1646 posted 17 years ago by demixo
1 ... 467 468 469 470 471 ... 553