Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The following code will display a cross-browser CSS-gradients. Th add the right selector you can use rgba() for transparency.
0
4506
posted 10 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
4374
posted 10 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
4433
posted 10 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
4097
posted 10 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
4614
posted 10 years ago by brandonjp
How to manage and update user locations using the onUnityLocations delegate.
0
3054
posted 10 years ago by TenDegrees
Using the searchUnity function to read groups and contacts from a Unity server based on a search string.
0
2433
posted 10 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
3063
posted 10 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
4193
posted 10 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
3274
posted 10 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
4199
posted 10 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
4403
posted 10 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
4456
posted 10 years ago by apphp-snippets
Display the google chrome bookmarks to html and then save to database.
1
5325
posted 11 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
3555
posted 11 years ago by tionazo
drush pm-list --status=enabled --pipe | grep 'uc_' | xargs -i drush pm-disable '{}' -y
0
2187
posted 11 years ago by apro2000