Welcome To Snipplr
You searched for: http
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
1079
posted 15 years ago by keith
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
1144
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
10410
posted 15 years ago by pckujawa
url: http://www.example.com/?foo=bar
usage: $_GET['foo'] // 'bar'
0
791
posted 15 years ago by nate63179
Instructions for enabling multiple virtual hosts on Mac OSX. Based on default Apple Apache install. If you don't want to be manually changing these files, checkout the very slick GUI application - VirtualHostX (http://clickontyler.com/virtualhostx/)
3
1082
posted 15 years ago by benjaminpearson
I found the tablesorter - jQuery plugin cool and easy to-be implemented. Plugin is written by Christian Bach and my snippet uses tablesorter version 2.0.3. Images are stored on my server as well as inlcuded .js files in example directory. Project's s...
1
942
posted 15 years ago by lukaz
Great script found on http://www.scrounge.org/linux/rsync.html. Useful for creating boilerplate backup scripts
1
864
posted 15 years ago by nate63179
(Ref: http://yoast.com)
While preparing my previous post on new features in WordPress 2.9, I ran across a ticket in Trac for something I'd been wanting to do for a while: specify a subfolder of the uploads directory for specific plugins, like my B...
0
940
posted 15 years ago by ksantoshp
The following are instructions to "re-post" files that have been already been POSTed to your php script. This can help if you want to have a form (with file upload) that POSTs its data to your own script where the text elements can be handled and the...
2
1219
posted 15 years ago by benjaminpearson
Inspired by http://particletree.com/features/rediscovering-the-button-element/
1
835
posted 15 years ago by cssbutton
This is a simple search function for the [User Groups](http://www.dabbledoo.com/design/docs/User-Groups-Module/) module for ExpressionEngine. It searches groups (names and descriptions) as well as topics and topic replies. It respects group types as...
0
1326
posted 15 years ago by lukemcr
This was a comment posted by [this person] (http://bit.ly/1o9aIJ) to an article posted [here] (http://bit.ly/7BtLT)
0
793
posted 15 years ago by czapata
Via: [http://www.touchdesk.nl/2009/04/full-menu-tree-with-active-trail-in-drupal-6/](http://www.touchdesk.nl/2009/04/full-menu-tree-with-active-trail-in-drupal-6/)
0
948
posted 15 years ago by Ateneatech
I first posted this code on my http://sitefromscratch.com site, but I decided to repost it up here on snipplr.com with some of the most recent modifications I've made. This code validates through W3C Strict XHTML Standards.
14
2223
posted 15 years ago by smoothdzion
This snippet builds on my last snippet regarding [User input validation in Visual Studio .NET using MaskedTextBoxes and an ErrorProvider](http://snipplr.com/view/22419/user-input-validation-in-visual-studio-net-using-maskedtextboxes-and-an-errorprovi...
0
1951
posted 15 years ago by pckujawa
(I am not the author of this script. I suppose the homepage of the author is the following: [http://iyoremo.com/](http://iyoremo.com/))
1
779
posted 15 years ago by AzizLight
This is an AS3 version of the banner template I created a while back in AS2. The code has been placed in the accompanying banner.as file, with the exception of a little bit of code within the dynamically-centering button you'll see placed on the stag...
0
1046
posted 15 years ago by Winkyboy
This is based on the [Sort Gmail Messages By Bookmarklet](http://snipplr.com/view/10432/sort-gmail-messages-by-subject/ "Sort Gmail Messages By Bookmarklet - http://snipplr.com/view/10432/sort-gmail-messages-by-subject/") snippet.
Drag this int...
1
1049
posted 15 years ago by roryok
I rewrote [this snippet](http://snipplr.com/view/15402/php-password-generator/).
Usage:
$password1 = new Password;
$password2 = new Password;
echo '<p>' . $password1->generate() . '</p>';
echo '<p>' . $password2->generate(array('leng...
1
1186
posted 15 years ago by AzizLight
Tested with [ipotpal.bgurl.org](http://ipotpal.bgurl.org/ "ипотпал")
0
808
posted 15 years ago by jommy
This is a script for finding a string in files under a current folder in TextMate. It can be very convenient if you know what you are looking is in a particular folder by saving your time searching each file individually or going through a long list...
0
871
posted 15 years ago by phalkunz
This is inspired by this http://www.cgi101.com/book/ch5/text.html so I'm using a similar example. In PHP you can combine a set of checkboxes into an array using square brackets like this:
<form>
<input> Red<br>
<input> Green<br>...
1
1268
posted 15 years ago by ptepper
I needed a way to show "US States" element whenever the user selected "United States" as their country. Here's a live demo: http://demo.chrisaiv.com/dropdown
0
1215
posted 15 years ago by chrisaiv
and check out http://code.google.com/chrome/chromeframe/developers_guide.html#Detecting_Google_Chrome_Frame
0
907
posted 15 years ago by mware1205
To display "&" character within the string used as error descriptor in ErrorProvidor component in .NET use "&&&" so that it displays as a single "&".
More detail at:
http://www.codeproject.com/Messages/3225091/ErrorProvider-SetError-string-constra...
0
1262
posted 15 years ago by sysdeamon
[Credit - Sam Allen, Dot Net Perls](http://dotnetperls.com/remove-html-tags)
2
1412
posted 15 years ago by jasonseney