Below are the top ranked snippets.

ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 5 6 7 8 9  ...  55 56 Next »
10
Date Submitted Mon. Mar. 6th, 2006 7:09 PM
Revision 1
Helper Snyke
Tags ajax | DHTML | JavaScript | snyke | web2.0 | web20
Comments 1 comments
AJAX: In situ edit
A simple edit in place using Prototype, based on the tutorial @ 24ways.org
9
Date Submitted Thu. Mar. 16th, 2006 6:44 PM
Revision 1
Helper Snyke
Tags debugging | Java | log4j | logging | Output
Comments 0 comments
Log4J is a really nice Library that aims to facilitate outputting debugging information, but also relevant data, in Java applications. It is highly configurable, using both Categories and Class-Based rules, so that developers can narrow down the problems very well when debugging applications.
8
Date Submitted Sun. Aug. 13th, 2006 2:23 PM
Revision 1
Helper snowdonkey
Tags "array" | "images" | "javascript" "preload"
Comments 1 comments
Load images more quickly in a web page by having the browser cache them before they are requested by the user.

This script specifies the location of images that share a common folder. It can be used for multiple images and folders.

This method uses less code and is more maintanable than specifying the location of each image individually.
4
Date Submitted Sun. Aug. 13th, 2006 4:52 PM
Revision 1
Helper snowdonkey
Tags "css" | "Opera" | "stylesheets"
Comments 2 comments
Hide CSS styles from Opera by substituting Latin letter "r" for Unicode character 82 in the media attribute "screen" of the style tag.

Tested in browsers based on Netscape, Mozilla, and Internet Explorer for PC.
6
Date Submitted Mon. Feb. 12th, 2007 7:00 PM
Revision 1
Helper snowdonkey
Tags "hits counter" | cookies | PHP
Comments 2 comments
A simple page hits counter that uses a single cookie to tell the user how many times they have visited the page.
8
Date Submitted Wed. Aug. 30th, 2006 11:54 PM
Revision 1
Beginner smallshellscript
Tags bash | com | mysql | sh
Comments 0 comments
This little tool is pretty useful for administrators who wear the hat of both system admin and DBA on Linux/MySQL boxes. I wrote it as kind of a joke for our Perl developers, but now I use it just about every day for everything from at prompt hackups to full on table space utilization monitoring scripts.

The snippet has the library script that you can source into scripts that actually do work, as well as a script that uses the functions in the libraries. Anyone who has used the C API should be able to relate to using this script.

It's pretty fast and lightweight. It makes only one external call to mysql and sed per query. The rest is all bash builtins. Requires bash > 3.0
7
Date Submitted Sat. Sep. 9th, 2006 12:47 AM
Revision 1
Beginner smallshellscript
Tags bash | sh | shell
Comments 2 comments
A lot of time shell scripts need to do some sort of math. Bash's innability to do floating point arithmatic has lead to some pretty neat workarounds, often times these workarounds are slow. If you need a lot of calculations done with speed, you'll find this snippet useful
5
Date Submitted Tue. Dec. 12th, 2006 11:54 AM
Revision 1
Beginner siva
Tags "Full Screen" | "fullscreen"
Comments 2 comments
Easy to use FullScreen script
8
Date Submitted Thu. Apr. 12th, 2007 2:33 PM
Revision 1
Beginner siva
Tags Email | JavaScript | Mail | protect
Comments 4 comments
You can search for "@" or something like mail information in your page source code. You'll find nothing.
You can have link of your mail with a title or just you mail address as the title. Hope this code have no problem...
6
Date Submitted Thu. Aug. 10th, 2006 1:14 PM
Revision 1
Beginner sio2man
Tags CGI | Perl
Comments 1 comments
Prints the user's IP address and localtime on a web page.
« Previous 1 2 3 4 5 6 7 8 9  ...  55 56 Next »