Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Refer to http://msdn.microsoft.com/en-us/library/aa394512(VS.85).aspx
0
1508
posted 16 years ago by vinocui
# 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
1780
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
1625
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
2146
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
1293
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
1344
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
1467
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
1395
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
1500
posted 16 years ago by antpaw
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
1575
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
1758
posted 16 years ago by kristarella
This is a good way to validate form input from PHP, in essence this could be a blue print for your forms.
5
1786
posted 16 years ago by brownrl
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
1334
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
2115
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
1345
posted 16 years ago by beneberle