服务器Ubuntu 13.04 且安装了上一篇随笔中的
AMP本文略去安装AMP过程。版本号满足要求(php>5.2 and mysql.2)1、官网http://www.zentao.net/下载
开源版5.3 ZenTaoPMS.5.3.stable.zip2、解压到 /var/www/dev....
分类:
其他好文 时间:
2014-05-01 13:25:57
阅读次数:
917
>>> d1 = dict(a = 1, b = 2)>>> d2
= dict(b = 2, c = 3)>>> d1 & d2 # 字典不?支持该操作Traceback (most recent
call last): File "", line 1, in TypeError: unsupp....
分类:
其他好文 时间:
2014-05-01 12:50:50
阅读次数:
341
1.Insert Set语句mysql> create table wison_test1(id
int,name varchar(10));Query OK, 0 rows affected (0.10 sec)mysql> insert into
wison_test1 set id=1,nam...
分类:
数据库 时间:
2014-05-01 12:41:50
阅读次数:
488
Flex:
http://blog.minidx.com/http://blog.chinaunix.net/uid-25434387-id-1642823.htmlhttp://www.17jquery.com/aspnet/l_10_2.html学习英语的网址http://www.hjengli...
分类:
Web程序 时间:
2014-05-01 12:14:07
阅读次数:
383
新负责的程序采用生产者和消费者的模式,生产者的速度非常快,数据几乎都在内存里,处理起来很快。而消费者要频繁的I/O。所以打算给生产者和消费者分配不一样的核心。生产者只需要一个核心就够了,其余分配给消费者。查了下这方面的资料,shell端有taskset命令可用。taskset:-p
正在运行的进程p...
分类:
其他好文 时间:
2014-05-01 11:59:49
阅读次数:
474
有好的网页设计却不懂复杂的云服务器基础环境配置?复杂的配置,层出不穷的问题,无法专注于开展业务?5月6日即将上线的阿里云镜像市场,集中了适用于网站建设、应用开发的基础环境镜像、轻松管理和备份站点的工具镜像……从此上云零门槛!!!现在马上报名成为第一批云服务器“即开即用”的体验者,将您的测评体验跟帖反...
分类:
其他好文 时间:
2014-05-01 11:28:34
阅读次数:
333
题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=251
测模版:
#include
#include
#include
#include
#include
#include
using namespace std;
#define ...
分类:
其他好文 时间:
2014-04-29 13:31:21
阅读次数:
542
众所周知;在C语言里面用const;是可以修改的;
//C语言里面可以通过指针修改
int main()
{
//可以这么说在C语言中a是一个只读的常量。按照理论我们不好修改//
const int a=10;
int *p=null;
p=(int *)&a;
//但是可以通过地址修改
*p=11;
printf("修改之后%d",a);
}
这里面的a是...
分类:
编程语言 时间:
2014-04-29 13:24:21
阅读次数:
375
在ubuntu9.04的时代,自带的输入法一直认为不够好用,看到了搜狗的云输入法,故产生了移植的想法。
通过chrome的inspect Element功能,我发现了搜狗、百度、QQ云输入法的接口。公布一下,供大家参考。
百度http://olime.baidu.com/py?py=bit&rn=0&pn=5
搜狗http://web.pinyin.sogou.com/api/py?ke...
分类:
系统相关 时间:
2014-04-29 13:23:20
阅读次数:
584
当油量不够时从走过的油站中选最大加油量的
#include
#include
#include
#include
using namespace std;
#define MAX_N 10005
struct node{
int dist,fuel;
}t[MAX_N];
bool cmp(const node &a,const node &b)
{
return a.dist<b.dis...
分类:
其他好文 时间:
2014-04-28 10:44:43
阅读次数:
335