Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Ruby provides a platform independent way of displaying file paths. Here are a few common ways to show absolute and relative paths.
0
1098
posted 15 years ago by chrisaiv
This javascript greets visitors to your website depending on where they come from. There are messages for visitors coming from Entrecard, Twitter, and search engines. It should be easy to adapt the code to include other referral sites as well.
In...
0
935
posted 15 years ago by benjamin
Summary
@font-face allows authors to specify online fonts to display text on their webpages. By allowing authors to provide their own fonts, @font-face eliminates the need to depend on the limited number of fonts users have installed on their comput...
3
1021
posted 15 years ago by rwczippy
A Temp table is great for combining multiple SELECT statements in a Sproc and outputting as just one table.
Don't forget to Drop the table after the SELECT * FROM #TempTableName at the end.
2
1344
posted 15 years ago by highlyevolved
Do you every wanted to clean and perfectly intent your xhtml document?
1
959
posted 15 years ago by tillkruess
the user sees the confirmation page immedeateley. this is helpful if the mail() function takes some time
0
1048
posted 15 years ago by miebach
This can be tested using the following piece of code
var a = [1, 2, 3, 4, 5];
alert(a.size());
0
927
posted 15 years ago by arunpjohny
This function is add 'each' function to the javascript Array object.
1
806
posted 15 years ago by arunpjohny
Do not use this php file exactly as it is.
It's only to demonstrate the basics of the api.
You *must* do form checking to ensure safe values are passed.
Also, it's a really bad and very insecure practice to put a form like this publicly on your w...
1
1675
posted 15 years ago by shaunjanssens