[root@qycaishenye]#tail-f/data/caishenye/sa_9_0.logPHPWarning:mkdir():Nosuchfileordirectoryin/data/caishenye/sa_9_0.phponline18PHPFatalerror:Calltoundefinedfunctionmysql_pconnect()in/data/caishenye/sa_9_0.phponline25InteractivemodeenabledPHPWarning:mkdir():..
分类:
数据库 时间:
2014-05-27 04:00:48
阅读次数:
466
Design and implement a data structure for Least
Recently Used (LRU) cache. It should support the following
operations:getandset.get(key)- Get the valu...
分类:
其他好文 时间:
2014-05-23 09:59:05
阅读次数:
257
安装好mysql数据库后,直接在安装的目录下/usr/local/mysql下新建了一个目录data用于存放数据,建好后,直接去启动数据库,发现启动不了,出现如下报错:mysqld_safeStartingmysqlddaemonwithdatabasesfrom/usr/local/mysql/data/usr/local/mysql/libexec/mysqld:File‘./mysql-..
分类:
数据库 时间:
2014-05-21 01:32:42
阅读次数:
378
yuminstallbind*一、修改下面配置文件vi/etc/named.confoptions{listen-onport53{192.168.100.210;};listen-on-v6port53{::1;};directory"/var/named";dump-file"/var/named/data/cache_dump.db";statistics-file"/var/named/data/named_stats.txt";memstatistics-file"/var/na..
分类:
其他好文 时间:
2014-05-20 22:07:44
阅读次数:
341
Spring集成spymemcachedMemcached的安装部署我就不介绍了!首先下载spymemcached,下载地址:jar:https://spymemcached.googlecode.com/files/spymemcached-2.10.3.jarjavadoc:https://spymemcached.googlecode.com/files/spymemcached-2.10.3-javadoc.jar源码:https://spymem..
分类:
编程语言 时间:
2014-05-20 21:59:40
阅读次数:
415
编程题:枚举变量作为循环控制变量#include<stdio.h>voidmain(){enumseason{spring=1,summer,autumn,winter}s;for(s=spring;s<=winter;s++) printf("%d\n",s);}
分类:
其他好文 时间:
2014-05-20 21:27:05
阅读次数:
357
assumecs:code,ds:datadatasegment msgdb"helloworld"dataendscodesegment start: movax,data movds,ax movbx,0b800h moves,bx movcx,11 movsi,0 movbx,0 movah,01000010bs:moval,ds:[si]moves:[bx],almoves:[bx+1],ahincsiaddbx,2loopsmovax,4c00hint21hcodeendsendstart运..
分类:
编程语言 时间:
2014-05-20 20:36:44
阅读次数:
375
#include<stdio.h>voidmain(){enumseason{spring=1,summer,autumn,winter}s;for(s=spring;s<=winter;s++) printf("%d\n",s);}
分类:
其他好文 时间:
2014-05-20 19:49:00
阅读次数:
315
编程题:为枚举类型变量赋值。将整型值强制类型转换成枚举类型赋值#include<stdio.h>voidmain(){enumseason{spring,summer,autumn,winter}s1,s2;s1=summer;s2=(enumseason)2;printf("s1=%d,s2=%d\n",s1,s2);}
分类:
其他好文 时间:
2014-05-20 17:51:10
阅读次数:
224
{pc:contentaction="hits"catid="6"num="10"day="30"}//hits表示调用点击排行榜,catid调用的排行来自哪个栏目,num调用排行前10的栏目,day调用30天内的点击排行<ol>//为排行添加名次{loop$data$h}<li><ahref="{$h[‘url‘]}">{$h[‘title‘]}</a></li..
分类:
Web程序 时间:
2014-05-20 17:30:35
阅读次数:
389