Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Set the default print settings of preview app on 100%.
Schaltet beim Programm Vorschau die Druckeinstellung standardmässig auf 100%, diese bzw. wieder aus.
        
        
        
            0 
        
        
            3181 
        
                    posted 9 years ago by daniels
            The following code will display a cross-browser CSS-gradients. Th add the right selector you can use rgba() for transparency.
        
        
        
            0 
        
        
            3581 
        
                    posted 9 years ago by apphp-snippets
            It allows you to add your own fonts on the page. To convert to different formats use this service Font2Web.
        
        
        
            0 
        
        
            3521 
        
                    posted 9 years ago by apphp-snippets
            It allows you to add your own fonts on the page. To convert to different formats use this service Font2Web.
        
        
        
            0 
        
        
            3545 
        
                    posted 9 years ago by apphp-snippets
            The try ... except statement has an optional else clause, which, when present, must follow all except clauses. It is useful for code that must be executed if the try clause does not raise an exception. For example:
        
        
        
            0 
        
        
            3308 
        
                    posted 9 years ago by ManishChandraReddy
            Regular Expression to find native Javascript console and AngularJS $log log warn or info that are NOT comments / commented out
        
        
        
            1 
        
        
            3665 
        
                    posted 9 years ago by brandonjp
            How to manage and update user locations using the onUnityLocations delegate.
        
        
        
            0 
        
        
            1811 
        
                    posted 9 years ago by TenDegrees
            Using the searchUnity function to read groups and contacts from a Unity server based on a search string.
        
        
        
            0 
        
        
            1591 
        
                    posted 9 years ago by TenDegrees
            The 1stline in the function that generates the Foreign key relation in the model, 2nd is the name of the attribute in the gridview
        
        
        
            0 
        
        
            2325 
        
                    posted 9 years ago by guimarca
            Bash script to list all devices (ip and hostname) connected to your local network.
Some formatting is done, and a summary is printed at the end.
Requires nmap.
        
        
        
            0 
        
        
            3294 
        
                    posted 9 years ago by iMezouar
            This is the simple plugin for your wp site , with this plugin you can embed snippets code from http://snipplr.com . Easy to use , just paste url from http://snipplr.com and thats it.
Version: 1.1
        
        
        
            0 
        
        
            2469 
        
                    posted 9 years ago by snipembed
            This code shows how not only to create a text file onto the local computer desktop, but also how to post the contents of a 'text box' object into the file.
        
        
        
            0 
        
        
            3362 
        
                    posted 9 years ago by SinVerguenzaGames
            You know that iFrames are a necessary evil for many of us. When yuo put a third party site in an iframe is always a risk because they can break out of that iframe and redirect the visitor to another location. This code acts as a defense for such case...
        
        
        
            0 
        
        
            3437 
        
                    posted 9 years ago by apphp-snippets
            Sometimes you may want to show the visitor that you are aware of their IP address. You can do so by using few lines of code as shown here. Place the code in any place of your page, where you want the IP address to appear:
        
        
        
            0 
        
        
            3500 
        
                    posted 9 years ago by apphp-snippets
            Display the google chrome bookmarks to html and then save to database.
        
        
        
            1 
        
        
            4219 
        
                    posted 10 years ago by Gauravwagh11
            Se puede escribir código HTML sin problema insertando además las variables php que se necesiten dentro del propio "relleno"
        
        
        
            0 
        
        
            2774 
        
                    posted 10 years ago by tionazo
            drush pm-list --status=enabled --pipe | grep 'uc_' | xargs -i drush pm-disable '{}' -y
        
        
        
            0 
        
        
            1367 
        
                    posted 10 years ago by apro2000
            
