Welcome To Snipplr


Everyone's Recent Snippets



1 ... 76 77 78 79 80 ... 554
autoclear input text and text area
0 837 posted 12 years ago by silent_killer
$asciiData = preg_replace( '/[\x7f-\xff]/', '', $dirtyData );
0 677 posted 12 years ago by jgomez
cross-browser way to select all text in a form element, via Jason on Stack Overflow
0 742 posted 12 years ago by charliefmoran
Removes anything that isn't a digit from input on complete.
0 965 posted 12 years ago by vagrantradio
Get file extension from it's name or complete path
2 981 posted 12 years ago by fawazcb
A snippet of code from IVM-Awesomesauce that shows how to use included classes to perform a custom animation between two UIViewControllers.
0 747 posted 12 years ago by leftspin
I'm facing an error when i read the JS array using a JS loop
0 829 posted 12 years ago by kaushikTD
Example of SQL syntax to add a new column to an existing table, define a default value to the columns for the existing rows and also add a check constraint to limit the values that the column can hold.
0 1071 posted 12 years ago by denakitan
ChucK is a strongly-timed, concurrent, and On-the-fly Audio Programming Language. A Bundle to edit ChucK files in the TextMate editor is created at Github. To install it execute in Terminal:
0 911 posted 12 years ago by Thommm
ChucK is a strongly-timed, concurrent, and On-the-fly Audio Programming Language. A Bundle to edit ChucK files in the TextMate editor is created at Github. To install it execute in Terminal:
0 831 posted 12 years ago by Thommm
Let's say you want to show a list of employees, and you want to show 3 on each row, use the script below to accomplish that.
0 1075 posted 12 years ago by andreaskian
Snippet to illustrate the three actions that happen in all LINQ query operations.
0 1004 posted 12 years ago by denakitan
Terminate Rising anti-virus program's annoying ad. popup window process "popwndexe.exe", remove from its config file "RsMgrsvc.ini".
0 726 posted 12 years ago by breakerzhao
With the current combobox implementation, the full list is emptied and re-rendered every time you expand the dropdown. Also you are stuck with setting the minLength to 0, because it has to do an empty search to get the full list. Here is my own im...
0 1555 posted 12 years ago by Huskie
Via @lmgalmeida Usage: data-src="image.jpg" src="loader.gif" $("img").unveil();
0 859 posted 12 years ago by digitalclubb
Check duplicated classes in multiple jars
0 893 posted 12 years ago by kamilch
Another approach that helps saving the overhead calls of the scroll event and the subsequent code.
0 869 posted 12 years ago by Narayon
0 748 posted 12 years ago by paul0078
1 1001 posted 12 years ago by paul0078
0 877 posted 12 years ago by paul0078
1 ... 76 77 78 79 80 ... 554