Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1736
posted 16 years ago by selfmadepsyche
Here's a simple one liner you can use to syntax check all php files in your working directory.
0
999
posted 16 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
1472
posted 16 years ago by neal_grosskopf
In my app, we have to auto-generate usernames for our users, here is the code I did.
2
1540
posted 16 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
1392
posted 16 years ago by jrharshath
Here’s a snippet that can help you to remove a non-empty directory from the server. It’s a recursive function that deletes the directory with its files, folders and sub-folders.
2
1302
posted 16 years ago by fackz
Removed a certain word from a list of links (purely for design reasons). Link length way to long with the link included.
1
1864
posted 16 years ago by 1man
This gets me every time. Why doesn't my blog work?! Oh yeah, that's why.
0
930
posted 16 years ago by jaspertandy
For expression engine, I placed with with the main set of .htaccess rules in the root
1
1154
posted 16 years ago by joeymarchy