Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 70 71 72 73 74 ... 554
Auto language selection based on site languages and user preferences.
0 1006 posted 13 years ago by Narayon
Remove the item from the array changing the length of the array.
0 1391 posted 13 years ago by agarcim
0 1069 posted 13 years ago by pruntrut
Insert this in functions.php to remove WordPress version from being output in the header source code
0 1969 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 3189 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 3805 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 3365 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 1677 posted 13 years ago by glauberportella
Select con options de tipos de vía.
0 1665 posted 13 years ago by tomascayuelas
i've got this running on an hourly cron. works beautifully.
0 1131 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 1345 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 1359 posted 13 years ago by lingokid
This shows the local and remote branches along with the most recent commit for each branch.
0 1478 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 1986 posted 13 years ago by pumpkinthehead
Useful for adding Custom Post types to navigation this will list all custom post type posts
1 2136 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 2093 posted 13 years ago by luxmedia
One approach to get all child categories of a magento category.
0 1201 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 1975 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 1253 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 1006 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 3135 posted 13 years ago by Maximus1983
This will generate a random alpha numeric string 20 characters long.
1 2389 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 2237 posted 13 years ago by crypticsoft
Hash of the commit which you want to show a303aa90779efdd2f6b9d90693e2cbbbe4613c1d
0 2685 posted 13 years ago by satie83
this is an easy function to add a gravitar to wordpress.
0 969 posted 13 years ago by bitsculptor
replace special characters
0 1173 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 1044 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 1408 posted 13 years ago by crypticsoft
1 ... 70 71 72 73 74 ... 554