一.安装配置1.首先安装LAMP环境2.#安装编译套件sudoapt-getinstallbuild-essential#安装php前端需要的包sudoapt-getinstalllibmysqlclient15-devphp5-gdphp5-mysql#安装zabbix需要的包,snmp\curl\ssl\fpingsudoapt-getinstallsnmplibsnmp-devsnmpdlibcurl4-openssl-devfping3...
分类:
其他好文 时间:
2014-05-05 12:24:22
阅读次数:
343
题目
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each operand may be an integer or another expression.
Some examples:
["2...
分类:
其他好文 时间:
2014-05-04 18:34:44
阅读次数:
272
After a long and successful day of preparing food for the banquet, it is time to clean up. There is a list of n jobs to do before the kitchen can be closed for the night. These jobs are indexed from 1...
分类:
其他好文 时间:
2014-05-04 18:25:07
阅读次数:
384
在memory.c里面有这么一段代码。为了其中的一句话,让我内牛满面啊!
dir = (unsigned long *) ((from>>20) & 0xffc)
int free_page_tables(unsigned long from,unsigned long size)
{
unsigned long *pg_table;
unsigned long...
分类:
系统相关 时间:
2014-05-04 18:22:41
阅读次数:
459
travel the binary tree by level 4 ( from down to top and from left to right every level )
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:tr...
分类:
其他好文 时间:
2014-05-04 18:22:16
阅读次数:
381
网上有很多SQL连接方式的登录验证,但没有oracle连接方式的,我摸索了一上午写了这个可执行的函数,分享给大家
// 用户登录检查
public bool LoginCheck(string f_LoginName, string f_LoginPass)
{
bool result = false;
// 正则表达式检查
if (Regex.IsMatch(f_LoginN...
分类:
Web程序 时间:
2014-05-04 18:12:46
阅读次数:
323
There are K nuclear reactor chambers labelled from 0 to K-1. Particles are bombarded onto chamber 0. The particles keep collecting in the chamber 0. However if at any time, there are more than N parti...
分类:
其他好文 时间:
2014-05-04 18:00:17
阅读次数:
372
严重: Exception loading sessions from persistent storage
java.io.EOFException
删除Tomcat里面的work/Catalina/localhost下的内容即可解决
Tomcat在启动时出现如下异常问题:
严重: IOException while loading persisted sessions...
分类:
其他好文 时间:
2014-05-04 17:58:54
阅读次数:
313
??
SQL Server online consultants came across an interesting scenario where one of our client was unable to restore a native SQL Server backup successfully performed from one instance running on M...
分类:
数据库 时间:
2014-05-04 17:42:50
阅读次数:
394
查看一个数据库的所有表:SelectTABLE_NAMEFROM数据库名称.INFORMATION_SCHEMA.TABLESWhereTABLE_TYPE=‘BASETABLE‘(select*from表名where条件)查看一张表的表结构:sp_helptable_name(表名)获取的信息比较全sp_columnstable_name(表名)创建数据库:usemastergocreatedatabase..
分类:
数据库 时间:
2014-05-04 17:27:23
阅读次数:
456