Welcome To Snipplr


Everyone's Recent Snippets



1 ... 424 425 426 427 428 ... 553
6 1525 posted 17 years ago by kristarella
fix for IE, adds getComputedStyle method for the object window and getPropertyValue method for the object, which returns getComputedStyle
1 5976 posted 17 years ago by Jman
Allows the user to bind an event into a certain position in the call stack for events.
3 1767 posted 17 years ago by garside
1 1402 posted 17 years ago by dbug13
0 1642 posted 17 years ago by rezzz
One of those common tools that's easy to forget about is the Modulus operator (%), which returns the remainder of a division operation. If you divide some number by two, a remainder of 0 indicates an even number, while a remainder of 1 indicates a...
1 2961 posted 17 years ago by jlizarraga
obviously change url. you'll get (better formatted) something like... curl -o /dev/null -w %{time_total}\\n http://www.google.com % Total % Received % Xferd Average Speed Time Time Time Current D...
0 1082 posted 17 years ago by nategood
Extract logins default db settings from one server to export to another
0 1131 posted 17 years ago by pollusb
Just a bare-bones DocumentClass template I use.
1 1270 posted 17 years ago by allnatural
0 1253 posted 17 years ago by allnatural
This is the command to re-enable apache after you disabled it.
0 1237 posted 17 years ago by bhubbard
Find out which version of Perl is installed on the server.
0 1097 posted 17 years ago by bhubbard
Allows you to send out a email listing all files over 10MB.
0 1334 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 2173 posted 17 years ago by Vordreller
3 1545 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 1474 posted 17 years ago by fackz
从数据库中选出大于3小于13的纯字母域名,然后进行过滤,得到双拼域名。 增加一个拼音预判断,过滤掉前两个字母不符合拼音要求的字符串。
0 1492 posted 17 years ago by zhengrenchi
0 1427 posted 17 years ago by jaspertandy
0 1539 posted 17 years ago by conspirator
delete all files in a directory that are more than 7 days old.
4 2203 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 2372 posted 17 years ago by localhorst
Open external links in new window.
0 1557 posted 17 years ago by Ashung
/** * @brief 给定n个整数,求一个最小的数,使得它们除以这个数的余数不重复 * @author soulmachine * @param[in] numbers 整数数组 * @param[in] count 整数个数 * @param[in] max_norm 模的最大值 * @return...
0 1592 posted 17 years ago by soulmachine
Very useful for when you don't have Cygwin or are not running on a linux box...
0 3753 posted 17 years ago by abwaters
bring back the old browser detection
1 1895 posted 17 years ago by localhorst
1 ... 424 425 426 427 428 ... 553