Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Use this when you want to serve a domain from the document root of another domain on the same box. Along with this config, you will want to replace the httpdocs directory with a symlink to the other domains doc root. (Don't forget to change ownership...
1
1796
posted 17 years ago by zachharkey
this function tells you whether or not the passed value is in the passed array
1
2081
posted 17 years ago by jlvallelonga
this funciton returns an XMLHttpRequest object for use in ajax pages
1
2136
posted 17 years ago by jlvallelonga
get_the_author_email outputs the post author’s email and the “80†is the size of the avatar image in pixels & it has to be in the loop!
0
2669
posted 17 years ago by selfmadepsyche
Here's a simple one liner you can use to syntax check all php files in your working directory.
0
1664
posted 17 years ago by endorfin
Find out how to retrieve a count of the total times users have bookmarked your web site or web page on Delicious by using JQuery and JSON.
The code is pretty simple and can be done in under 18 lines of code.
1
2322
posted 17 years ago by neal_grosskopf
In my app, we have to auto-generate usernames for our users, here is the code I did.
2
2266
posted 17 years ago by luctus
This is a script that can parse a URL string, and return all components in a systematic way via an object.
This script is very useful in places where you want to link to a page "dynamically" generated by javascript. This is usually done by adding GE...
2
2193
posted 17 years ago by jrharshath