Welcome To Snipplr


Everyone's Recent Snippets



1 ... 543 544 545 546 547 ... 553
If you want your pages to be valid XHTML-Strict, but you also wish to open external links in new window, the following snippet is doing just that—sets attribute target=“_blank” to all external links in a document to keep your code valid XHTML-S...
2 2100 posted 19 years ago by zensir
0 1476 posted 19 years ago by soxiam
6 2988 posted 19 years ago by yuconner
1 1335 posted 19 years ago by kkaefer
0 1432 posted 19 years ago by olive
Using CSS is, of course, the preferred method of performing mouseover image swapping, but it's good to have a few tricks up your sleeve. Here's one way of doing it with JS, but the images have to be pre-loaded, or else there'll be a slight lag in the...
1 1356 posted 19 years ago by pckujawa
mysql -u ''adminusername'' -p
0 2283 posted 19 years ago by yuconner
$ mysql -u ''adminusername'' -p
4 3169 posted 19 years ago by yuconner
3 1630 posted 19 years ago by miklophone
Add foreign key support for migration
1 1335 posted 19 years ago by ctran
Add a method to ActiveRecord::Migration to automatically drop created tables/indexes within the current migration file.
1 1214 posted 19 years ago by ctran
#Put into your .vimrc file #The commands to comment a selection of text are as follows, begining with begining-of-line comments: ,# shell, perl, etc ,/ c ,> email quote ," vim ,% latex, prolog ,!...
0 2065 posted 19 years ago by yuconner
hdparm -E [cdspeed] /dev/cdrom
0 1884 posted 19 years ago by yuconner
0 1569 posted 19 years ago by yuconner
Copy the code below and place it in anywhere in your HTML code
3 2161 posted 19 years ago by yuconner
1 1563 posted 19 years ago by sondosia
Embed an mp3 in your website using Odeo's flash player
2 2056 posted 19 years ago by sondosia
Select the last autoincrement index from the last inserted item in a table.
0 2062 posted 19 years ago by arcturus
swfObject in XHTML doc structure.
1 1698 posted 19 years ago by horizens
To check it: hwclock, date
0 1708 posted 19 years ago by yuconner
All information: uname -a Example: Linux hostname 2.6.15-20-k7 #1 SMP PREEMPT Tue Apr 4 19:26:13 UTC 2006 i686 GNU/Linux
0 1566 posted 19 years ago by yuconner
1 ... 543 544 545 546 547 ... 553