Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
It's easy to find the categories used on one item, but find all categories NOT used on current item?
This snippet stores a "NOT IN" query.
This is used with PHP & mySQL. The query can be written differently on other databases, but this seems to w...
0
1889
posted 17 years ago by stavelin
https://www.chrisjmendez.com/2008/09/21/jquery-ensure-that-at-least-one-checkbox-is-selected/
4
2037
posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2008/08/09/python-basic-feedparser-example/
1
2239
posted 17 years ago by chrisaiv
Creates a MySQL table with all 50 states + Washington D.C. in alphabetical order.
1
1661
posted 18 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
1825
posted 18 years ago by DesTincT
Sniff and disable Firebug. Not sure why you'd need it though. Firebug is just great.
4
1897
posted 18 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
2933
posted 18 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
1568
posted 18 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
2512
posted 18 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
4234
posted 18 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
4557
posted 18 years ago by stews
Basic web.xml setup for using Spring MVC, Sitemesh, and Hibernate (using hibernate filter for lazy loading)
2
2216
posted 18 years ago by jcblitz