Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 372 373 374 375 376 ... 552
Example markup: <p>This is the first part of the text <a class="toggle">[+]</a><span>this part is hidden until clicking the toggle link.</span></p> The script will show and hide text when the toggle link is c...
1 1693 posted 16 years ago by mikemetcalf
1 1747 posted 16 years ago by donatkinson
0 1680 posted 16 years ago by donatkinson
Simple [SoundManager2](http://www.schillmania.com/projects/soundmanager2/doc/download/#latest "Download SoundManager2") example (uses jQuery)
0 2101 posted 16 years ago by chrisdpratt
Simple way to configure the JVM to use the proxy in the network
1 1730 posted 16 years ago by neozilon
This snippet is usable for telephone number normalization. It supports re-mapping of misused alphabetical characters (e.g. i for 1) and some other clean up stuff... Take a look. Update, 2009-10-02: added function to create a corresponding MySQL RE...
1 2007 posted 16 years ago by dreadwarrior
0 1530 posted 16 years ago by alexaivars
0 1699 posted 16 years ago by cbek
1 1271 posted 16 years ago by xathin
Escribir archivo de texto en directorio
0 1615 posted 16 years ago by pardalsalcap
1 1792 posted 16 years ago by thehamilton
2 2310 posted 16 years ago by thehamilton
The shell command which provides documentation for Ruby's classes and methods is:
0 1651 posted 16 years ago by deepsoul
Sample log line: [INFO] 2009-03-06 20:47:35 | controller::bla | user: vincentvega | ip: 127.0.0.1
0 1982 posted 16 years ago by benjay
Must have a field named Weight. The more Weight the more often the record is selected. Weight should be an integer between 1 and 10.
1 2016 posted 16 years ago by BFTrick
1 1408 posted 16 years ago by benpjohnson
. must be escaped using \ . It means something in regexp
0 2055 posted 16 years ago by godstroke
0 1834 posted 16 years ago by arpit
I have not tried this out yet, but I hope it can convert IronPython types to and from json.
0 1779 posted 16 years ago by laurenceosx
0 1939 posted 16 years ago by tandouri
Variables that are submitted via web forms always need to be cleaned/sanitized before use in any way, to prevent against all kinds of different malicious intent.
0 1679 posted 16 years ago by paulgrenwood
Just include this script on the site and you’ll get a Firebug console that pops up for debugging in any browser. Not quite as full featured but it’s still pretty helpful! Remember to remove it when you are done.
1 2108 posted 16 years ago by paulgrenwood
this comes from YAPB plugin for WordPress. kudos to the author. (there are some functions that are deprecated in PHP 5.2+ - you'll need to replace eregi with the mb_ version). This should be quite failsafe, regardless if curl is installed or the set...
1 2216 posted 16 years ago by iroybot
svn log | sed -n '/username/,/-----$/ p'
0 1513 posted 16 years ago by sonnyg
1 ... 372 373 374 375 376 ... 552