Welcome To Snipplr


Everyone's Recent Snippets



1 ... 402 403 404 405 406 ... 553
# useful links: # (WMI space definition) http://msdn.microsoft.com/en-us/library/aa394084(VS.85).aspx # (OLE usage on CPAN) http://cpan.uwinnipeg.ca/htdocs/Win32-OLE/Win32/OLE.html#Object_methods_and_properties
1 1905 posted 16 years ago by vinocui
Groovy script that creates an XML file using an XML template containing ${params} and a standard Java Properties file
0 1749 posted 16 years ago by gripnrip
Some PHP code that can be used to get formatted HTML containing N number of tweets for a given twitter user.
5 2292 posted 16 years ago by gripnrip
This script shows the top 10 worst indexes (in terms of selectivity %) on the whole MySQL server instance. Selectivity is the percentage of distinct values in an indexed field compared to the number of records in the table. Note that this query can...
1 1402 posted 16 years ago by Eloi
In this Thesis WP tutorial for multiple custom page templates, we find code for making a custom homepage template as well.
2 1439 posted 16 years ago by mlangfeld
Clearfix with 2 different classes: page, section Section: takes up a whole row (much like TR); Page: is the container for each section
0 1569 posted 16 years ago by chrisjlee
This code to be added to custom_functions.php May also need to add to custom.css to style your custom widget. (This code found towards the end of the article).
2 1498 posted 16 years ago by mlangfeld
this script splits the csv file two times (1. on "new line", 2. on ";") and returns a two dem array in the last for loop.
2 1626 posted 16 years ago by antpaw
2 2125 posted 16 years ago by sveggiani
One way to fix many of the issues with IE7 is to dynamically reverse the default z-index stacking order of the elements on your page. This will ensure the elements higher in your HTML source will also have a higher z-index order on your page, solving...
3 1690 posted 16 years ago by justinseiter
This creates a custom HTML header in Thesis with a logo and an advert section (to be used instead of CSS image replacement). Example CSS to use with it: .custom #header:after {content:"."; display:block; height:0; clear:both; visibility:hidden;...
5 1887 posted 16 years ago by kristarella
2 1241 posted 16 years ago by psynaptic
A simple one-liner to resize images from commandline
1 2043 posted 16 years ago by ping_ch
1 1524 posted 16 years ago by websuslik
This is a good way to validate form input from PHP, in essence this could be a blue print for your forms.
5 1906 posted 16 years ago by brownrl
Update a user's status using the Facebook Actionscript API
1 1515 posted 16 years ago by gluecat
This is a short and sweet snippet that will save the users form input after PHP runs validation and returns false. Very good for User Experience!
0 1450 posted 16 years ago by montanaflynn
This will create and then populate a MySQL table with a list of the names for countries in existence. Country names are in Turkish language.
0 2277 posted 16 years ago by sensimevanidus
- a javascript for alternate row/column table striping - supports row hover, column hover and cell hover effects and click events. demo here: http://www.frequency-decoder.com/demo/table-actions/
0 1452 posted 16 years ago by beneberle
3 1568 posted 16 years ago by beneberle
Eric Meyer's venerable reset css styles.
1 1212 posted 16 years ago by beneberle
I saw this somewhere else, so I can't claim to have come up with it myself. Def life-saver!
0 1370 posted 16 years ago by charmcitycoder
Modified the code very slightly to add in cursor states for when the timeline is grabbed. Also added in (but commented out) the code to make the sliding twice as fast using a multiplier.
0 1370 posted 16 years ago by davebowker
1 ... 402 403 404 405 406 ... 553