Welcome To Snipplr


Everyone's Recent Snippets



1 ... 70 71 72 73 74 ... 554
Auto language selection based on site languages and user preferences.
0 998 posted 13 years ago by Narayon
Remove the item from the array changing the length of the array.
0 1377 posted 13 years ago by agarcim
0 1052 posted 13 years ago by pruntrut
Insert this in functions.php to remove WordPress version from being output in the header source code
0 1769 posted 13 years ago by klagraff
This is a fraction of a much larger script which does multiple tasks. This scriptlet is intended to be interactive and somewhat user-friendly. First, it asks if you want to place the computer into sleep mode, then it kills pesky processes associated...
1 3084 posted 13 years ago by Rectifier
Uses the sysinternals (microsoft) utility PsLogList to save specified event logs to files and then clears them. Method can be used to save logs as .evt and .evtx. This script has four event logs listed as an example and has a template command comment...
0 3695 posted 13 years ago by Rectifier
This is a simple batch script to clear the event logs from a windows 7 or server 2008 machine. The script does *not* save these logs. This was tested on a local machine but could be adapted for remote use.
1 3264 posted 13 years ago by Rectifier
Write a given number in words - Escreve um número por extenso. Write in Brazilian Portuguese, sorry for english or other language guys but it can be adapted. Write from 1 to 9999 Based on a forum in http://scriptbrasil.com.br/forum/index.php?...
0 1654 posted 13 years ago by glauberportella
Select con options de tipos de vía.
0 1651 posted 13 years ago by tomascayuelas
i've got this running on an hourly cron. works beautifully.
0 1073 posted 13 years ago by adkatrit
Allows the ability to fill City and State fields in CRM 2011 based on the value of a Zip Code field (and optionally Country). Requires JQuery and JSON Uses Yahoo geocode service Originally written by Bill Caldwell ( http://dynamicscrmdenver...
1 1299 posted 13 years ago by evshell18
/* html5doctor.com Reset Stylesheet v1.6.1 Last Updated: 2010-09-17 Author: Richard Clark - http://richclarkdesign.com Twitter: @rich_clark */
0 1315 posted 13 years ago by lingokid
This shows the local and remote branches along with the most recent commit for each branch.
0 1464 posted 13 years ago by satie83
A regular expression for removing <br> and <br> (case insensitive) between HTML elements if there is no content between the HTML elements. It was written for fixing extra line spaces created in a WordPress visual editor after the content of the visu...
0 1792 posted 13 years ago by pumpkinthehead
Useful for adding Custom Post types to navigation this will list all custom post type posts
1 1950 posted 13 years ago by i-am-andy
Manually print out a category-navigation in a magento frontend template. within "stristr" you can enter an array of category-ids that should be hidden from display.
0 1916 posted 13 years ago by luxmedia
One approach to get all child categories of a magento category.
0 1183 posted 13 years ago by luxmedia
This will check the date and if it is not a valid date then it will increment the month and reset the day back to one.
1 1806 posted 13 years ago by _reydin_
Although I realize one should be able to filter a store to remove unwanted items in the list, this allows the list items through and just hides them via CSS.
0 1243 posted 13 years ago by Winkyboy
This is a pretty standard jQuery method to listen for the enter key and simply "click" the button. However, if you are using a LinkButton this code will not work. The reason for this is that a LinkButton is rendered to the browser as an Anchor tag...
0 995 posted 13 years ago by weldonr30
Capture Web Screenshots easily with the [GrabzIt Perl API](http://grabz.it/api/perl/) You will need the free [GrabzIt Code Library](http://grabz.it/api/perl/download.aspx) to get started.
0 3034 posted 13 years ago by Maximus1983
This will generate a random alpha numeric string 20 characters long.
1 2194 posted 13 years ago by _reydin_
I need this function all too often and figured I'd share it. Limit the_content() by word limit by using built in WordPress functions.
0 2052 posted 13 years ago by crypticsoft
Hash of the commit which you want to show a303aa90779efdd2f6b9d90693e2cbbbe4613c1d
0 2497 posted 13 years ago by satie83
this is an easy function to add a gravitar to wordpress.
0 950 posted 13 years ago by bitsculptor
replace special characters
0 1143 posted 13 years ago by Narayon
A complete lightbox with minimal code and full functionality: close button, close on escape keypress, close on lightbox blur event.
1 1037 posted 13 years ago by mortu
Here is a quick example on how to generate your own portfolio with filtering based on a taxonomy (in this case 'Solutions').
0 1399 posted 13 years ago by crypticsoft
1 ... 70 71 72 73 74 ... 554