Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 362 363 364 365 366 ... 554
0 1060 posted 15 years ago by shabbar
source for perl file that is step 2
1 1051 posted 15 years ago by rowntreerob
export bookmarks.html file, extract links from that file to a list , using the list as INPUT to linkchecker that reports dead links
0 1119 posted 15 years ago by rowntreerob
This snippet builds on my last snippet regarding [User input validation in Visual Studio .NET using MaskedTextBoxes and an ErrorProvider](http://snipplr.com/view/22419/user-input-validation-in-visual-studio-net-using-maskedtextboxes-and-an-errorprovi...
0 2117 posted 15 years ago by pckujawa
2 1304 posted 15 years ago by jannisg
I just discovered that the MaskedTextBox control allows you to set the type of data which should be entered in the control and helps you do the validation of that data when necessary. The trick is to set the ValidatingType of the MaskedTextBox contro...
0 8222 posted 15 years ago by pckujawa
Returning a boolean inside of jQuery's $.each() function will only break the loop. To get a return value, you can convert the jQuery object to array and use a regular for loop in javascript.
0 1308 posted 15 years ago by jasonseney
Paste this into your AS file to add focus and blur events to your text/form fields. If your field contains YOUR DEFAULT MESSAGE when focus is brought to it, it will erase itself, to be ready for text entry. If focus is lost while the field is complet...
0 1219 posted 15 years ago by Winkyboy
Handy function for converting milliseconds to video timecode
1 1509 posted 15 years ago by nate63179
A simple class and event which can be used to load external assets
1 944 posted 15 years ago by nate63179
The source below is the function from the website with the corrected regular expression found in the site's comments. This is a nigh-one-line function for validating a string as an email address.
4 1469 posted 15 years ago by Winkyboy
0 857 posted 15 years ago by tobewan
Retrieves a filename from a complete url
4 1270 posted 15 years ago by nate63179
This could be further abstracted to work with other db's. Also, it really should be using Ruby's Tempfile class instead of assuming the local machine is *NIX based, but it works :)
0 1106 posted 15 years ago by nate63179
In this instance, used as an after-deploy hook to create a symlink to a shared db config file
0 1097 posted 15 years ago by nate63179
A function for returning the ID of the current CMS page
1 1137 posted 15 years ago by nate63179
ready for .htaccess, creates 302 temp redirect
0 1011 posted 15 years ago by nate63179
Some shortcuts for retrieving URLs
0 1064 posted 15 years ago by nate63179
Puts a static block named 'contacts_text' into the page
0 901 posted 15 years ago by nate63179
Template variables which can be used in static blocks or pages
0 844 posted 15 years ago by nate63179
Automatically prepends the path of the store's skin to create a full url
0 949 posted 15 years ago by nate63179
Where $_item is a product variable, and $this is a Block
0 823 posted 15 years ago by nate63179
0 924 posted 15 years ago by yisreldov
This will convert a *TimmerInterval* to a locaized date ...
0 739 posted 15 years ago by yisreldov
0 777 posted 15 years ago by joshuabaker
his set of Javascript functions trim or remove whitespace from the ends of strings. These functions can be stand-alone or attached as methods of the String object. They can left trim, right trim, or trim from both sides of the string. Rather than usi...
2 1097 posted 15 years ago by Mithun
1 ... 362 363 364 365 366 ... 554