Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 424 425 426 427 428 ... 552
Just a bare-bones DocumentClass template I use.
1 1612 posted 17 years ago by allnatural
0 1629 posted 17 years ago by allnatural
This is the command to re-enable apache after you disabled it.
0 1583 posted 17 years ago by bhubbard
Find out which version of Perl is installed on the server.
0 1406 posted 17 years ago by bhubbard
Allows you to send out a email listing all files over 10MB.
0 1709 posted 17 years ago by bhubbard
There is a similar snippet on the site, yet it is listed for Windows Powershell, while the syntax is clearly Batch, and secondly, it is very incomplete and no response is coming from the author, so I'm posting my completer version here. Beware, th...
4 2589 posted 17 years ago by Vordreller
3 1891 posted 17 years ago by petterdr
A basic PHP script that I simply FTP to the server and use to evaluate extensions on the server. I simply supply the extensions I require and the script does the rest of the work.
1 1868 posted 17 years ago by fackz
从数据库中选出大于3小于13的纯字母域名,然后进行过滤,得到双拼域名。 增加一个拼音预判断,过滤掉前两个字母不符合拼音要求的字符串。
0 1870 posted 17 years ago by zhengrenchi
0 1766 posted 17 years ago by jaspertandy
0 1924 posted 17 years ago by conspirator
delete all files in a directory that are more than 7 days old.
4 2673 posted 17 years ago by fackz
To remove that ugly added padding from submit buttons try this width:auto !important; seems to work for IE7
2 2790 posted 17 years ago by localhorst
Open external links in new window.
0 1976 posted 17 years ago by Ashung
/** * @brief 给定n个整数,求一个最小的数,使得它们除以这个数的余数不重复 * @author soulmachine * @param[in] numbers 整数数组 * @param[in] count 整数个数 * @param[in] max_norm 模的最大值 * @return...
0 1924 posted 17 years ago by soulmachine
Very useful for when you don't have Cygwin or are not running on a linux box...
0 4205 posted 17 years ago by abwaters
bring back the old browser detection
1 2368 posted 17 years ago by localhorst
0 1627 posted 17 years ago by josephfritz
Simple way to escape string for LIKE statements, useful for searches.
3 1817 posted 17 years ago by robv
I just put all the functions in here the validateConfPass function uses the key event and the two text fields to change the background color of the confPassword field when it does not equal the pass field
0 1907 posted 17 years ago by jlvallelonga
send in an event it returns the key that you pressed if it was alphanumeric or backspace otherwise it returns "-1" use with getKeyCode and isAlphaNumeric
0 1543 posted 17 years ago by jlvallelonga
to use this function send in an ASCII character code (use my getKeyCode function) it will return true if the code corresponds to a printable character (not backspace code - 8, enter code - 13, or "undefined")
0 1537 posted 17 years ago by jlvallelonga
<h2>POSH => HTML semántico</h2> http://aprendiendoweb.com/2008/08/posh-html-semantico <ol> <li>Debe ser HTML válido</li> <li>No se deben usar elementos de presentación como &lt;b&gt; o &lt;i&gt;</li> <li>Todos los estilos deben darse usando C...
2 1512 posted 17 years ago by demixo
Clojsure composition in Groovy (functional style programing). @http://www.ibm.com/developerworks/java/library/j-pg08235/index.html
0 1836 posted 17 years ago by narkisr
4 2021 posted 17 years ago by kristarella
0 1516 posted 17 years ago by jpdamen
This example adds tags and categories to the Thesis byline, each on a new line, and with the needed classes to match the other byline items. The byline is generated in thesis/lib/functions/content_functions.php (v1.4.2 at the time of writing) look...
5 2198 posted 17 years ago by kristarella
0 1920 posted 17 years ago by vcskicks
1 ... 424 425 426 427 428 ... 552