Welcome To Snipplr


Everyone's Recent Snippets



1 ... 57 58 59 60 61 ... 552
generischer Handler für die Eventausgabe in der Konsole....
0 2517 posted 13 years ago by dejot
This code allows Google Analytics to monitor hashtags of jQuery activated events. Very useful if you relies on modal boxes. Este código permite ao Google Analytics monitorar hashtags e âncoras em sites com eventos ativados por jQuery. Muito út...
1 1748 posted 13 years ago by nivasgallo
Para genera clases de RMI skel y stub en proceso distribuidos
0 1990 posted 13 years ago by thescorpion
Want to be able to display the source code of any webpage, with line numbering? Here is a simple code snippet to do it. Just modify the url on line 2 at your convenience. Or even better, make a pretty function according to your needs.
2 2390 posted 13 years ago by o0110o
If you need to get the whois information for a specific domain, why not using PHP to do it? The following function take a domain name as a parameter, and then display the whois info related to the domain.
1 2117 posted 13 years ago by o0110o
In order to optimize your scripts, you may definitely want to know how many amount of RAM they use on your server. This snippet will check memory and then print initial, final and peak usages.
3 1820 posted 13 years ago by o0110o
Point the script to an image and get its dominant color.
1 2838 posted 13 years ago by o0110o
jsHint happy class template for javascript
1 3195 posted 13 years ago by XtreamIT
Our theme's range of media queries
0 1971 posted 13 years ago by vanseijen
Add this to functions.php and then you can call the focus keyword anywhere you want with: <?php wpseoFocusKW();?>
0 2227 posted 13 years ago by itsmrchris
Extremely simple snippet showing the basic structure of a Python program.
1 2022 posted 13 years ago by denakitan
Add to functions.php. Replace IDs (64, 104 below) with categories you want to exclude.
1 2265 posted 13 years ago by adambundy
How to insert the less preprocessor script in WordPress Websites and Blogs
0 2011 posted 13 years ago by ecksteing
In this example it checks to see if the page it is on has an ACF named page_title, if so - display it as an H1, and if not, display the WP default page title as the H1
0 1780 posted 13 years ago by itsmrchris
If you want to see some of the color names that SAS recognizes, run the following statements, which will print a list of colors to the SAS log:
0 4068 posted 13 years ago by webonomic
If you are a PHP developer, you are probably aware that you can pass an array of strings as the search strings and an array as the replacements to the str_replace function. In this example you can see how to automatically replace smiley shortcuts by...
1 1393 posted 13 years ago by martijnhoogwerf
http://blog.sqlauthority.com/2008/08/26/sql-server-how-to-rename-a-column-name-or-table-name/
0 1746 posted 13 years ago by BrentS
The relative "em" version of the fixed page layout of the Nexus core theme
0 2983 posted 13 years ago by vanseijen
Find and List all the files with extension .file containing/not containing the given string "STRING" The snippet is set to "containing", to switch it to "not containg" just replace "grep -l" with "grep -L" containing : grep -l not containing:...
0 2251 posted 14 years ago by claudiodev
Nexus Theme fixed page layout
0 2925 posted 14 years ago by vanseijen
this method generates and returns a unique slug, given a string.
1 2286 posted 14 years ago by artaserse
Space div elements evenly inside a wrapper without using float (no right spacing issue) so that all elements are flush to the edges.
0 1855 posted 14 years ago by rickygri
Create a new database and its respective user with all privileges
0 1773 posted 14 years ago by claudiodev
Simple method to insert data to sql
0 1642 posted 14 years ago by BergBenji
Update current field data.
0 1995 posted 14 years ago by tucq88
This function will compress any text-based content.
1 1808 posted 14 years ago by o0110o
**Simple JavaScript Quiz** Edit the main quiz array with your own questions, then publish. Since it's an entire HTML file, it's best to save this file on a server and embed it as needed using an iframe tag.
0 4773 posted 14 years ago by jrue
Get the text in between more text in a string. Accepts $content,$start,$end & $is_string as parameters.
1 2164 posted 14 years ago by o0110o
It's a 3 part process, first is the PHP that you need to run, which includes the appropriate scripts and styles into the admin header, then you need an html button and input field to put the stored value in, then you need some jQuery to open the popu...
0 2216 posted 14 years ago by FatFolderDesigner
1 ... 57 58 59 60 61 ... 552