Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This takes whatever object you want (called YOUR_OBJECT in the source) and traces out each child of that object. Pretty useful for debugging an add/removeChild issue.
        
        
        
            1 
        
        
            2428 
        
                    posted 17 years ago by benwasilewski
            By default, the 'Administrator' user in XP won't show if any other users are defined. This is moronic. This one registry value will make that user show up regardless.
        
        
        
            3 
        
        
            1411 
        
                    posted 17 years ago by TALlama
            NOT MY CODE. I was looking for a good code that would validate the date in JavaScript and I found this function.  I thought it was worth keeping so I decided to post it on here as opposed to clutter my bookmarks with one more link.
Once again I take...
        
        
        
            0 
        
        
            1230 
        
                    posted 17 years ago by ckester
            inspired by http://snipplr.com/view/6594/post-to-twitter-from-the-shell/ . I just rewrote it in Python because I didn't want to install a Ruby interpreter :)
use `chmod +x tweet.py` to run it as `./tweet.py` instead of `python tweet.py`
        
        
        
            1 
        
        
            1431 
        
                    posted 17 years ago by nate_smith
            If you have a title, for something like a blog or product, and want to make an seo-friendly name to call it, here is a function.
SAMPLE INPUT:
$title = "This foo's bar is rockin' cool!";
echo make_seo_name($title);
//RETURNS:
//this-foos-bar-i...
        
        
        
            10 
        
        
            3337 
        
                    posted 17 years ago by jdstraughan
            Requires Mootools 1.2<br/>
http://mootools.net/download
Based on the mootools javascript framework a re-usable class for easily implementing an array of on submit events.
* Confirmation - Provides an Ok, Cancel input box before proceeding furt...
        
        
        
            1 
        
        
            1180 
        
                    posted 17 years ago by dom111
            Basic starting point for an Apache VirtualHost that points to a Symfony project being developed on MAMP
        
        
        
            0 
        
        
            1081 
        
                    posted 17 years ago by cburyta
            Test harness for an implementation of the Luhn algorithm that checks the validity of a credit card number.
        
        
        
            0 
        
        
            1683 
        
                    posted 17 years ago by Uzbekjon
            A working example that uses BlaszDS in order to serialize Java object into AMF (this code should be cleaned up a bit), in order for it to compile and work it is required to add flex-messaging-core.jar and flex-messaging-common.jar to the classpath.
        
        
        
            0 
        
        
            1388 
        
                    posted 17 years ago by narkisr
            Sample code from processFormRequest to pop up new window via javascript. worth noting: this is not recommended as it can break the OAF page.
        
        
        
            0 
        
        
            2783 
        
                    posted 17 years ago by theonlyalterego
            A quick pl/sql command to select from the MDS using the Oracle JDR_UTILS package.
        
        
        
            0 
        
        
            1328 
        
                    posted 17 years ago by theonlyalterego
            remove the www usually located at the beginning of the url :
www.url.com -> url.com
http://www.url.com/file.html -> http://url.com/file.html
http://www.url.com/directory/file.html -> http://url.com/directory/file.html
etc...
        
        
        
            1 
        
        
            1452 
        
                    posted 17 years ago by bbnnt
            How to align floating images in wordpress posts and add captions.
        
        
        
            2 
        
        
            1018 
        
                    posted 17 years ago by j_junyent
            Starting from here: http://snipplr.com/view/2534/update-copyright-date-in-php/ I made one that is a little more sussinct (sp?)
        
        
        
            0 
        
        
            914 
        
                    posted 17 years ago by SeanJA
            
