Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
from this page: http://dreaminginjavascript.wordpress.com/2008/08/22/eliminating-duplicates/
0
1113
posted 15 years ago by keith
A way to do 100% DIVs that adjust to content and center themselves both vertically and horizontally automatically. Tested for all browsers at 1920X1080 resolution. The 96% body height fixes Firefox and IE scrollbars that appear without reason and mig...
1
1109
posted 15 years ago by bryanlyman
Set the default timezone for date/time functions to use if none is set on the server.
0
1091
posted 15 years ago by AzizLight
The code is run in [LINQPad](http://www.google.com/url?sa=t&source=web&ct=res&cd=1&ved=0CAsQFjAA&url=http%3A%2F%2Fwww.linqpad.net%2F&ei=exUgS-a-KZOotgOs39T9CQ&usg=AFQjCNFw-ZpPkP4je7u9udiur5Wg5us7tQ&sig2=gA-_2y2xnTKzK2A9CVxXfg), which is where the Dum...
1
1195
posted 15 years ago by pckujawa
C#
Persisting data using XML config files in WinForms (saving and restoring user and application data)
References: [msdn blog](http://blogs.msdn.com/youssefm/archive/2010/01/21/how-to-change-net-configuration-files-at-runtime-including-for-wcf.aspx), [devX](http://www.devx.com/dotnet/Article/41639/0/page/1)
The .NET framework provides XML configura...
2
10483
posted 15 years ago by pckujawa
url: http://www.example.com/?foo=bar
usage: $_GET['foo'] // 'bar'
0
832
posted 15 years ago by nate63179
Internet Explorer does not support a standards compliant way to create text shadows. Learn how to emulate the CSS3 feature with this jQuery plugin.
3
1526
posted 15 years ago by neal_grosskopf
Of course the Plugin from wpml.org has to be installed, the file "wpml-integration.php" from docs/theme-integration has to be copied into your theme-directory and the call include "wpml-integration.php"; has to be copied to your functions.php. After...
0
835
posted 15 years ago by zartgesotten