Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 216 217 218 219 220 ... 553
Taken from http://ubuntuforums.org/showthread.php?t=255556
0 1271 posted 15 years ago by sergeygerasimov
as3query written by nitoyon. http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html Package download: http://bit.ly/as3query
0 1351 posted 15 years ago by adamcoulombe
as3query written by nitoyon. http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html Package download: http://bit.ly/as3query
0 1184 posted 15 years ago by adamcoulombe
I use this to quickly (in one line) copy my own id_rsa.pub to remote server so I can connect w/out using my password.
1 1699 posted 15 years ago by electblake
Simply run the function when the document has loaded and specify setDefault to true.
0 1321 posted 15 years ago by digitalclubb
Very useful line of code that I'm using very often to prevent old and cached CSS file being served to visitors. You just need to use timestamp of the file.
0 1762 posted 15 years ago by vagrantradio
Just the standard Yes/No MessageBox
0 1010 posted 15 years ago by axs221
Originally from: http://wordpress.mfields.org/2010/selective-page-hierarchy-for-wp_list_pages/
0 1338 posted 15 years ago by lawlesscreation
Use this to repair a corrupt table in phpmyadmin
0 1282 posted 15 years ago by howardpanton
How to sort array in smarty template? >> Create sort modifier file and save it in smarty / plugins with modifier.sortby.php name use this modifier in smarty template like... {foreach item=item key=key from=$users|@sortby:"firstname"} {$item.i...
0 3279 posted 15 years ago by aashvi
To enable error reporting for *ALL* error messages including every error level (including E_STRICT, E_NOTICE etc.), simply use:
1 932 posted 15 years ago by Hepamin
Very usefull translation adapter for simple interfaces where creating translation files is just a bit to much.
1 1132 posted 15 years ago by RonXS
Use this to fix Pagination Problem on query posts page. This will fix the problem where clicking on the next page keeps showing same posts
1 1289 posted 15 years ago by Farhan
3 1975 posted 15 years ago by alyssonweb
Nice and short
0 1219 posted 15 years ago by Blerx
This SQL query will find all the SlideDeck related entries in your WordPress database.
0 1221 posted 15 years ago by Jamie
Takes the ID of a page, then displays a list of child pages with thumbnails and page titles. The thumbnail is generated from the 'featured image' of the particular child page.
2 1521 posted 15 years ago by martinlucas
Search SQL Server field names and stored procedure text, based on a keyword.
1 1666 posted 15 years ago by axs221
0 1291 posted 15 years ago by sjacunningham
The most annoying thing I find working with the strict doctype is the inability to send users off to a site in a new window. To combat this, I always use the above snippet. Some people just stick the attribute on the anchors when the page loads...
0 1361 posted 15 years ago by digitalclubb
This extends jQuery.is() so now you can use if ($(element).is())
0 1234 posted 15 years ago by digitalclubb
Great way to check if a node exists before running a piece of code.
2 1526 posted 15 years ago by digitalclubb
0 1571 posted 15 years ago by rliverman
This is some very basic jQuery to post from a comment form on a website. I would probably change the .click to .bind("click",) and for different sites I add a success message. This code works with a basic form with text inputs named #name and #email...
3 1532 posted 15 years ago by creativeboulder
2 1327 posted 15 years ago by tylerlin
0 1240 posted 15 years ago by rliverman
1 ... 216 217 218 219 220 ... 553