Welcome To Snipplr


Everyone's Recent Snippets



1 ... 512 513 514 515 516 ... 552
The setTimeout ensures that if there is an issue attaching the link to the bottom of the head (e.g. if the head hasn’t finished loading when the link is trying to be attached) it retries after 100ms. Resetting the css variable to null avoids potent...
1 2859 posted 19 years ago by natalie
How to check if a number is odd or even in PHP. Could also use the MOD (%) function, but apparently this method is better performance-wise.
12 3971 posted 19 years ago by andyhartleeds
One shot verbose expansion.
4 2216 posted 19 years ago by bbhack
-nd do not create a hierarchy of directories (save all recursively retrieved files in the current directory) -r recursive retrieving -l1 set maximum recursion depth to 1 (stay in that folder): set to 2 if necessary --no-parent do not...
3 2824 posted 19 years ago by iblis
If you set the NSObjCMessageLoggingEnabled environment variable to "YES", the Objective-C runtime will log all dispatched Objective-C messages to a file named /tmp/msgSends-.
0 1980 posted 19 years ago by zingo
Drupal snippet: outputs all theming variables of a content type or page. Add to template.php the following function: function _phptemplate_variables($hook, $vars) { return array('vars_data' => $vars); } then add the snippet to the relativ...
5 3252 posted 19 years ago by marcoba
2 2298 posted 19 years ago by therobot
1 1852 posted 19 years ago by therobot
0 1699 posted 19 years ago by therobot
You can also check other kind of perms changing the constant os.R_OK
0 2084 posted 19 years ago by arcturus
This is as small as this can go: 'xs:dateTime(sql:variable("@stringDate"))' It needs to be a literal string for the Value() function. Xml Datatype http://msdn2.microsoft.com/en-us/library/ms189887.aspx Sql:Variable() Function http://ms...
0 2643 posted 19 years ago by rengber
0 1737 posted 19 years ago by vanne
work from content pages or submaster pages
0 2598 posted 19 years ago by cori
0 2009 posted 19 years ago by therobot
1 1823 posted 19 years ago by vanne
some foundation styles used in every sheet (work in progress)
1 1576 posted 19 years ago by marcoba
1 1570 posted 19 years ago by hyperwhat
Good info here too: http://www.ilisys.com.au/support/linux-password-protect/
2 3638 posted 19 years ago by jonhenshaw
JS Fix for IE6 background image flickering on mouseover's
2 2228 posted 19 years ago by brentg
1 ... 512 513 514 515 516 ... 552