Welcome To Snipplr


Everyone's Recent Snippets



1 ... 11 12 13 14 15 ... 553
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 3187 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 3603 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 3526 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 3567 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 3319 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 3687 posted 9 years ago by brandonjp
How to manage and update user locations using the onUnityLocations delegate.
0 1831 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 1596 posted 9 years ago by TenDegrees
Put it in the columns array
0 1280 posted 9 years ago by guimarca
First, for SignUp Model. Second, for signup view.
0 1314 posted 9 years ago by guimarca
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 2332 posted 9 years ago by guimarca
In the model
0 2236 posted 9 years ago by guimarca
Endless loop between 3 images
0 1479 posted 9 years ago by envane21
Thanks to Paras Jain
0 3246 posted 9 years ago by yhauxell
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 3303 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 2483 posted 9 years ago by snipembed
change <span> value of button with jquery
0 1563 posted 9 years ago by envane21
Convert easily XML File or String to Associative Array in PHP
0 2837 posted 9 years ago by kavikms
OpenCV Laplacian and Sobel Filters Implementation
0 1480 posted 9 years ago by RicardoVarzim
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 3383 posted 9 years ago by SinVerguenzaGames
Get password from keychain (OSX)
0 3200 posted 9 years ago by alfirth
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 3457 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 3523 posted 10 years ago by apphp-snippets
Display the google chrome bookmarks to html and then save to database.
1 4249 posted 10 years ago by Gauravwagh11
Check if the checkbox is checked or not on button click
0 3429 posted 10 years ago by envane21
Se puede escribir código HTML sin problema insertando además las variables php que se necesiten dentro del propio "relleno"
0 2786 posted 10 years ago by tionazo
Simple record that the content is a Image.
0 3881 posted 10 years ago by gofast505
Simple script to save Cognex Image using ImageFile.
0 5456 posted 10 years ago by gofast505
try to with mysqli_*
0 2342 posted 10 years ago by smagic39
drush pm-list --status=enabled --pipe | grep 'uc_' | xargs -i drush pm-disable '{}' -y
0 1378 posted 10 years ago by apro2000
1 ... 11 12 13 14 15 ... 553