Welcome To Snipplr


Everyone's Recent Snippets



1 ... 436 437 438 439 440 ... 553
0 1779 posted 17 years ago by troynt
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 2146 posted 17 years ago by neal_grosskopf
0 1428 posted 17 years ago by troynt
In my app, we have to auto-generate usernames for our users, here is the code I did.
2 2075 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 2014 posted 17 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 1944 posted 17 years ago by fackz
Put this in the template.php within your template directory.
7 2145 posted 17 years ago by troynt
Removed a certain word from a list of links (purely for design reasons). Link length way to long with the link included.
1 2739 posted 17 years ago by 1man
This gets me every time. Why doesn't my blog work?! Oh yeah, that's why.
0 1370 posted 17 years ago by jaspertandy
2 1784 posted 17 years ago by nhutto
For expression engine, I placed with with the main set of .htaccess rules in the root
1 1777 posted 17 years ago by joeymarchy
0 1456 posted 17 years ago by joeymarchy
This is a function that selects files from a directory and orders them by the last time they were changed, in ascending or descending order. The snippet also calculates how much time passed since the file’s content was changed.
2 2809 posted 17 years ago by fackz
To use href.in API to generate a short URL. using php curl
1 1614 posted 17 years ago by nerdsane
3 2061 posted 17 years ago by troynt
Figure out if the string possesses only hexadecimal characters in the string. If not, fail. Remember, white spaces are not hexadecimal, so make sure you trim() your strings before you send it in or explode your string.
0 1987 posted 17 years ago by duniyadnd
cross-browser document.getElementById, should be on top of code.
0 1190 posted 17 years ago by sarfraznawaz2005
your database needs id, bezeichner and parent fields
1 1560 posted 17 years ago by antpaw
1 ... 436 437 438 439 440 ... 553