Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 76 77 78 79 80 ... 553
$asciiData = preg_replace( '/[\x7f-\xff]/', '', $dirtyData );
0 1343 posted 14 years ago by jgomez
cross-browser way to select all text in a form element, via Jason on Stack Overflow
0 1564 posted 14 years ago by charliefmoran
Removes anything that isn't a digit from input on complete.
0 1779 posted 14 years ago by vagrantradio
Get file extension from it's name or complete path
2 2273 posted 14 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 1834 posted 14 years ago by leftspin
I'm facing an error when i read the JS array using a JS loop
0 1734 posted 14 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 2949 posted 14 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 2689 posted 14 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 2628 posted 14 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 3093 posted 14 years ago by andreaskian
Snippet to illustrate the three actions that happen in all LINQ query operations.
0 1902 posted 14 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 1468 posted 14 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 2881 posted 14 years ago by Huskie
Via @lmgalmeida Usage: data-src="image.jpg" src="loader.gif" $("img").unveil();
0 1766 posted 14 years ago by digitalclubb
Check duplicated classes in multiple jars
0 3573 posted 14 years ago by kamilch
Another approach that helps saving the overhead calls of the scroll event and the subsequent code.
0 2745 posted 14 years ago by Narayon
0 1447 posted 14 years ago by paul0078
0 1618 posted 14 years ago by paul0078
0 1408 posted 14 years ago by paul0078
0 1434 posted 14 years ago by paul0078
1 1865 posted 14 years ago by paul0078
0 2634 posted 14 years ago by paul0078
0 2751 posted 14 years ago by paul0078
1 ... 76 77 78 79 80 ... 553