Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 238 239 240 241 242 ... 553
A default HTAccess file. Uncomment any lines that you want to use. http://enarion.net/web/htaccess/trailing-slash/
1 1651 posted 15 years ago by BFTrick
Hay dos maneras, la mejor es usar el script manager, tambien ver la diferencia entre http://forums.asp.net/t/902895.aspx
0 3148 posted 15 years ago by ramirocalero
For several reasons, including portability, reducing download size, and general code neatness, I like to make all links within a website root relative.
0 1573 posted 15 years ago by weboholic
Will help convert string to number OR get number in a selected string.
0 1809 posted 15 years ago by carbonr
Turns /n to <br> and /n/n to </p><p> Usage: echo stripslashes(nl2br(nls2p($text)));
0 1726 posted 15 years ago by jmiller
1 1820 posted 15 years ago by alozuldo
0 1196 posted 15 years ago by Rohits47
0 1826 posted 15 years ago by tcelestino
The script below connects to a MySQL database server on "localhost" using the login name "test" and password "123456" and then connects to the database "test". It then copies the table structure and data from the table "products" to a new table "prod...
4 3616 posted 15 years ago by fackz
This regular expression used in Ruby will extract the characters between single or multi-character delimiters. It helps when you have strange delimiters such as \":delimeter1: text I want to grab goes here :delimiter2:\"
0 2035 posted 15 years ago by webonomic
0 1437 posted 15 years ago by newsok
0 1417 posted 15 years ago by newsok
0 1396 posted 15 years ago by newsok
0 1938 posted 15 years ago by newsok
Open your search.php file and find the the_title() function. Replace it with the following: 1.echo $title; Save the search.php file and open style.css. Append the following line to it: strong.search-excerpt { background: yellow; }
0 1602 posted 15 years ago by newsok
0 1870 posted 15 years ago by newsok
0 1452 posted 15 years ago by dmistriotis
From: http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace
0 1753 posted 15 years ago by edeustace
1 1579 posted 15 years ago by yesraaj
Here is the CSS used for the PDS Office Websites
0 1510 posted 15 years ago by chrislorenz
This is source I created from a project currently in development.
0 1984 posted 15 years ago by chrislorenz
Of course, you don't have to set the width to 50%. Any width less than the containing div will work. The margin: auto is what does the actual centering.
1 2142 posted 15 years ago by alozuldo
1 ... 238 239 240 241 242 ... 553