#!perl
use warnings;
use strict;
use Net::SMTP_auth;
#&sendMail;
while(1)
{
my ($sumMem, $freeMem, $rateMem);
open MEM, "cat /proc/meminfo |" or die $!;
while()
{
$sumMem = $1 if(/MemTotal:\s+...
分类:
系统相关 时间:
2015-01-30 10:53:15
阅读次数:
235
在index.php中的drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);之后加入require_once 'includes/password.inc';echo user_hash_password('111111');die();运行,得到加密的密文,然后upda...
分类:
其他好文 时间:
2015-01-27 00:10:38
阅读次数:
183
一: 题意描述 二:题目分析 本题的大致意思是讲:在给定的一个大圆上挖去很多圆(这些圆有的在大圆里面,有的在大圆外面,有的与圆相加),凡是被圆占据的部分则不能通行。现在给定两个点,(lifeship和controlling room)如果两者能够到达的话表示能够Escape,否则就只有Die h.....
分类:
其他好文 时间:
2015-01-26 22:19:09
阅读次数:
246
找了好久,结果没有自动换行的,又去网上把自动换行的加上去了累的不要不要的srcImg = file_exists($img)? $img : die('"'.$img.'" 对不起,水印文件不存在!'); } private function imginfo() {//获取水印图片信息...
分类:
Web程序 时间:
2015-01-26 11:30:18
阅读次数:
242
比较简单。传智韩老师的思想、可以直接拿来用哈。分层思想的。还没学习MVC,在这里先记录一下。首先。把分页需要的信息都封装到一个类里面,ApartPage.class.php最底层对数据库操作的函数。conn->query($sql1) or die($this->conn->error);//返回执...
分类:
数据库 时间:
2015-01-18 17:05:06
阅读次数:
202
软件开发项目失败的3个原因http://www.codeceo.com/article/3-reason-project-fail.html软件公司是如何一步步走向死亡的 http://www.codeceo.com/article/how-software-company-die.html
分类:
其他好文 时间:
2015-01-15 23:41:33
阅读次数:
131
Tautology
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 9936
Accepted: 3774
Description
WFF 'N PROOF is a logic game played with dice. Each die has six...
分类:
其他好文 时间:
2015-01-10 08:51:58
阅读次数:
275
Saving James Bond - Hard VersionThis time let us consider the situation in the movie "Live and Let Die" in which James Bond, the world's most famous s...
分类:
其他好文 时间:
2015-01-09 01:32:46
阅读次数:
311
.live()和.die()在jQuery1.4.3 版本中废弃了。.live()原理就是把click 事件绑定到祖先元素$(document)上,而只需要给$(document)绑定一次即可。在接受任何事件时,$(document)对象都会检查事件类型(event.type)和事件目标(event...
分类:
Web程序 时间:
2015-01-08 13:12:46
阅读次数:
116
DescriptionTeacher Mai has a kingdom. A monster has invaded this kingdom, and Teacher Mai wants to kill it.Monster initially has h HP. And it will die...
分类:
其他好文 时间:
2015-01-07 20:44:20
阅读次数:
170