Welcome To Snipplr


Everyone's Recent Snippets



1 ... 70 71 72 73 74 ... 554
Remove the item from the array changing the length of the array.
0 998 posted 12 years ago by agarcim
0 715 posted 12 years ago by pruntrut
Insert this in functions.php to remove WordPress version from being output in the header source code
0 872 posted 12 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 1125 posted 12 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 1546 posted 12 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 1236 posted 12 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 1239 posted 12 years ago by glauberportella
Select con options de tipos de vía.
0 1366 posted 12 years ago by tomascayuelas
i've got this running on an hourly cron. works beautifully.
0 713 posted 12 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 942 posted 12 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 916 posted 12 years ago by lingokid
This shows the local and remote branches along with the most recent commit for each branch.
0 1076 posted 12 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 832 posted 12 years ago by pumpkinthehead
Useful for adding Custom Post types to navigation this will list all custom post type posts
1 916 posted 12 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 965 posted 12 years ago by luxmedia
One approach to get all child categories of a magento category.
0 877 posted 12 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 862 posted 12 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 847 posted 12 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 675 posted 12 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 1015 posted 12 years ago by Maximus1983
This will generate a random alpha numeric string 20 characters long.
1 1061 posted 12 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 1004 posted 12 years ago by crypticsoft
Hash of the commit which you want to show a303aa90779efdd2f6b9d90693e2cbbbe4613c1d
0 1409 posted 12 years ago by satie83
this is an easy function to add a gravitar to wordpress.
0 659 posted 12 years ago by bitsculptor
replace special characters
0 827 posted 12 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 730 posted 12 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 1046 posted 12 years ago by crypticsoft
A little function to add custom styles to the tinymce editor in wordpress.
1 830 posted 12 years ago by bitsculptor
1 ... 70 71 72 73 74 ... 554