Welcome To Snipplr


Everyone's Recent Snippets



1 ... 474 475 476 477 478 ... 554
3 1136 posted 16 years ago by benphelps
3 1181 posted 16 years ago by benphelps
remove the www usually located at the beginning of the url : www.url.com -> url.com http://www.url.com/file.html -> http://url.com/file.html http://www.url.com/directory/file.html -> http://url.com/directory/file.html etc...
1 1168 posted 16 years ago by bbnnt
How to align floating images in wordpress posts and add captions.
2 833 posted 16 years ago by j_junyent
Starting from here: http://snipplr.com/view/2534/update-copyright-date-in-php/ I made one that is a little more sussinct (sp?)
0 742 posted 16 years ago by SeanJA
A good CSS example of how to style Horizontal Rule (HR) elements. It's also Internet Explorer (IE) friendly.
3 1425 posted 16 years ago by jonhenshaw
what more can i say?! Just a small Regular expression...
1 976 posted 16 years ago by FlashJunior
When you klick a link in Firefox... there is a dotted outline. Hide it with outline:none.
0 827 posted 16 years ago by FlashJunior
A cool script for fixed Footers. Works with i6,i67,all mozilla browsers and safari.
1 986 posted 16 years ago by FlashJunior
You can use this command to convert your properties file to ASCII encoded file. Normally you'll need it to convert your language.properties file.
0 1435 posted 16 years ago by Uzbekjon
My personal Reset CSS: a mixt of YUI, Eric Meyer and others
3 949 posted 16 years ago by Eloi
2 1056 posted 16 years ago by iTony
2 1091 posted 16 years ago by crazylion
Assumes logs are in /var/log/sshd/* and makes a few text format assumptions that probably make this specific to OpenSSH. Simple, but more than you can see from a quick less.
3 1211 posted 16 years ago by scarfboy
PACKAGE replace -> com.yourdomain.control CLASSFILENAME replace -> com.yourdomain.control - folder > MyCustomEvent.as
0 690 posted 16 years ago by t3flexdev
Drupal helper function to debug a table. Returns the contents and some explanation of a database table in a rendered format (HTML table). **NOTE** You REALLY do not want to put this function behind any kind of menu_callback and/or on other pages....
1 1679 posted 16 years ago by berkes
(Created for JavaScript) These are rather forgiving. Spaces, dashes, or periods are allowed as separators. Extensions can be recognized by several strings (#, x, x., ext, ext., extension). Area code: $1$2 Exchange code: $3 Station code: $...
1 1511 posted 16 years ago by wizard04
For when I catch a bad case of stupid and forget how to write simple php and I need to put the training wheels back on. Drop this in before the closing body tag on a php page to see a list some of what is happening when the page loads.
0 785 posted 16 years ago by inkdeep
This function takes a string containing a date in "mm/dd/yyyy" or "m/d/yyyy" format and converts it to a date object in AS2.
0 1417 posted 16 years ago by Winkyboy
When there's a URL on a page that's not a link, just highlight it and click this bookmarklet. The URL will open in a new window. If there are multiple selections (e.g., if you've selected something in each of two frames on the page), they will eac...
1 1019 posted 16 years ago by wizard04
Python make url address to Tinyurl in article content like Twitter message
1 1219 posted 16 years ago by huacnlee
This script downloads all mp3 links from given rss/atom feeds. I wrote this to learn python so I'm sure there are better ways to do this. Depends on wget.
1 1016 posted 16 years ago by panquetofobia
Internet Explorer (IE) 6 Bug
3 1120 posted 16 years ago by bassdas
This Oracle SQL snippet converts an Oracle SQL DATE to a STRING in the form CCYYMMDD.
0 1714 posted 16 years ago by retry
This Perl one-liner will remove all newline characters from a text file, replacing them with a space. In the source, all newline characters in the file gear_list.xml are replaced with spaces, and the original file is saved as gear_list.xml.bak
0 1157 posted 16 years ago by retry
1 ... 474 475 476 477 478 ... 554