Welcome To Snipplr


Everyone's Recent Snippets



1 ... 402 403 404 405 406 ... 554
2 976 posted 15 years ago by sveggiani
this is a handy snippet to trace the info about any cuepoints actionscript encounters, embedded in a FLV [flash video]. these traces will display the name, type and time of the cuepoint - in a nicely formatted list
1 1075 posted 15 years ago by stiobhart
Handy when web hosts limit database upload size. Create folder in home directory call "mysql_dump", upload and extract mysql file into this directory. Ask web host to enable SSH.
0 1139 posted 15 years ago by hotdiggity
Creating a vibration is simple as pie - simpler in fact. It just requires one line of code; two if you add the import line. But as simple as a one-liner is it is better to make it into a function. So here is the one liner, followed by the function...
5 1376 posted 15 years ago by KevinBomberry
1 1049 posted 15 years ago by wdso
This is a long over due update to my db insert building function. Please not that the function is the important part the code below is just prove that it works... l:-)
1 790 posted 15 years ago by brownrl
Refer to http://msdn.microsoft.com/en-us/library/aa394512(VS.85).aspx
0 1081 posted 15 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 1253 posted 15 years ago by vinocui
Groovy script that creates an XML file using an XML template containing ${params} and a standard Java Properties file
0 1173 posted 15 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 1424 posted 15 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 914 posted 15 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 949 posted 15 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 1029 posted 15 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 1023 posted 15 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 944 posted 15 years ago by antpaw
2 1269 posted 15 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 1081 posted 15 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 1085 posted 15 years ago by kristarella
2 809 posted 15 years ago by psynaptic
A simple one-liner to resize images from commandline
1 1204 posted 15 years ago by ping_ch
1 868 posted 15 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 1093 posted 15 years ago by brownrl
1 ... 402 403 404 405 406 ... 554