Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 502 503 504 505 506 ... 553
Generate the SQL necessary to create sequences for every table. NOTE: This doesn’t create sequences. The results need to be copied and run as a script.
0 1632 posted 17 years ago by thecrumb
Get a list of all the user tables.
0 1817 posted 17 years ago by thecrumb
Get all my columns and comments.
0 1298 posted 17 years ago by thecrumb
Then, your code should look like this ... $(document).ready(function() { $("dt > a").click(function(){ $(this).parent().nextUntil('dt').toggle(); return false; }); });
0 1262 posted 17 years ago by thecrumb
4 1326 posted 17 years ago by catchamonkey
used as "http://www.somesite.com/index.php?xcr=page.php" page.php is plugged into the template index.php which hold the shell of a site.
0 1997 posted 17 years ago by withremote
0 1376 posted 17 years ago by ecavazos
This snippet references the data access class I linked to.
4 1677 posted 17 years ago by ecavazos
This is a simple class to encapsulate CURD functions. This class also includes some simple search methods.
1 1845 posted 17 years ago by ecavazos
Something I use quite often personally
5 2082 posted 17 years ago by B-Tal
This script will setup JBoss 4.2.2 to use null persistence (no DB, see http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQNullPersistence) when handling JMS messages.
1 1263 posted 17 years ago by narkisr
A very simple way of getting bean instances from Spring context without casting returned object, the assumption is that the bean id's are matching the classes names.
0 1558 posted 17 years ago by narkisr
This function will return the height and width of an image that will change if the height/width is greater than the maximum supplied width and height.
2 1515 posted 17 years ago by dmlanger
#modal would be the bodyID of your modal window. I use jqmodal so it strips out all the header tags, and takes your body ID and turns it into a div.
2 1383 posted 17 years ago by kristin
Function to retrieve all image files in a given directory
0 1299 posted 17 years ago by coggla
0 1699 posted 17 years ago by coggla
Macro to give an asl_log-like NSLog.
2 1948 posted 17 years ago by zingo
Noob stuff, but I always end up looking this up.
0 1291 posted 17 years ago by rengber
list the exceptions where you don't want to replace in the rewrite rules before the one that matches the underscore, and finish them with [L], otherwise they'll get replaced too. [N] means rerun the whole replacing stuff once the line matched... c...
0 2345 posted 17 years ago by eszpee
5 1569 posted 17 years ago by tome2k
2 1264 posted 17 years ago by ajbatac
When Apache under OS X throws 'Forbidden' errors on files under the ~/Sites path, and the error log report 'Permission denied: access to /somefile/blah failed because search permissions are missing on a component of the path', check a missing Other E...
1 1848 posted 17 years ago by cczona
En la pagina hay mas info sobre otras funciones de validacion para php5
0 1302 posted 17 years ago by lisandro
Found this quick little bit of code on the Google jQuery discussion group. It simply fades the background image of a link you have hovered over to a certain color, then fades it back to the original color.
4 1481 posted 17 years ago by 1man
1 ... 502 503 504 505 506 ... 553