Welcome To Snipplr
Everyone's Recent Snippets
- All /
 - JavaScript /
 - HTML /
 - PHP /
 - CSS /
 - Ruby /
 - Objective C
 
I use this to scan an entire repository for an issue number and print out all of the revisions that reference it.
XSLT is far faster now then it was in the old days. Xalan (not known as the fastest engine) can run this on my 10mb log file in under...
        
        
        
            1 
        
        
            1242 
        
                    posted 16 years ago by nitehawk
            what was taking an embarrassingly long time in Spry took 2 lines in PHP
        
        
        
            0 
        
        
            1334 
        
                    posted 16 years ago by rwczippy
            Used to share between a single instance of jQuery through iFrames. Do note, the iFrame content must originate from the same domain, or this plugin will NOT work as expected.
        
        
        
            4 
        
        
            1803 
        
                    posted 16 years ago by garside
            i love those ternary expressions, they really make things clear, don't they? found in org.eclipse.jface.action.Action
        
        
        
            0 
        
        
            808 
        
                    posted 16 years ago by guetux
            Assign this class to any element that needs to have layout (hasLayout=true) and it will get it. ...with the style placed inside IE conditional comments, it will be ignored by the validator, which removes the only obstacle to using zoom:1 - which has...
        
        
        
            2 
        
        
            1340 
        
                    posted 16 years ago by jessibird
            Enable the use of Custom Fields in Wordpress. This is the code to put into the markup. Related plugin: get-custom-field-values
        
        
        
            0 
        
        
            1356 
        
                    posted 16 years ago by taqin
            Creates a "pill" button with rounded corners; expands with text.
        
        
        
            2 
        
        
            1094 
        
                    posted 16 years ago by delibash
            Creates a "pill" button with rounded corners; expands with text.
        
        
        
            0 
        
        
            913 
        
                    posted 16 years ago by delibash
            You can turn off Safari and Opera’s blue outline focus style using:
        
        
        
            0 
        
        
            1150 
        
                    posted 16 years ago by fabi
            A dynamic text field doesn't like to be set to bold (or italic, whatever).  You can get around this issue by creating a text format in actionscript and setting that field's format to this newly-created one.  This is only good for having a text field...
        
        
        
            1 
        
        
            1671 
        
                    posted 16 years ago by Winkyboy
            1) Make sure the ViewController for the view implements the \< UIPickerViewDelegate, >
        
        
        
            0 
        
        
            1539 
        
                    posted 16 years ago by arpit
            This example will display the full content of the five most recent posts, and just the headlines from the five before that.
        
        
        
            1 
        
        
            2598 
        
                    posted 16 years ago by kwilson