常用的配置参数1. --prefix=/usr/local/php指定 php 安装目录install architecture-independent files in PREFIX 默认/usr/local2.--with-config-file-path=PATHphp.ini的存放位置Set ...
分类:
Web程序 时间:
2018-04-10 10:51:49
阅读次数:
221
上海交通大学项目管理中心一个优秀的用户故事应该具备“INVEST”特征,其中INVEST字母表示:Independent独立的;Negotiable可讨论的;ValuabletoPurchasersorUsers有价值的(对用户或客户);Estimatable可估计的;Small小的;Testable可测试的;
分类:
其他好文 时间:
2018-04-09 18:58:24
阅读次数:
456
1、共享库的概念 2、创建共享库命令 具体加不加 fpci 这个要看平台支持吧支持;具体详情可以查阅 shared的相关参数文档 这里有一个-fPIC参数PIC就是position independent codePIC使.so文件的代码段变为真正意义上的共享如果不加-fPIC,则加载.so文件的代 ...
分类:
其他好文 时间:
2018-03-24 11:33:53
阅读次数:
210
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. For example, given the following ma ...
分类:
其他好文 时间:
2018-03-21 11:51:50
阅读次数:
142
磁盘阵列(Redundant Arrays of Independent Disks,RAID),有“独立磁盘构成的具有冗余能力的阵列”之意。 磁盘阵列是由很多价格较便宜的磁盘,组合成一个容量巨大的磁盘组,利用个别磁盘提供数据所产生加成效果提升整个磁盘系统效能。利用这项技术,将数据切割成许多区段,分 ...
分类:
其他好文 时间:
2018-03-12 13:26:40
阅读次数:
230
John has n tasks to do. Unfortunately, the tasks are not independent and the execution of one task is only possible if other tasks have already been e ...
分类:
编程语言 时间:
2018-03-08 00:17:44
阅读次数:
190
这周继续dynamic programming,这三个算法都是dynamic programming的。 knapsack problem有一种greedy的解法,虽然简单但是不保证正确,这里光头哥讲的是dynamic的解法。其实和上次那个max weight independent set的算法差 ...
分类:
其他好文 时间:
2018-03-07 10:33:32
阅读次数:
169
[抄题]: 在一个二维01矩阵中找到全为1的最大正方形 返回 4 [暴力解法]: 时间分析: 空间分析:i j 中保留一排,用指针数组来优化空间存储 [思维问题]: [一句话思路]: 棋盘类dp也是用扩展,不过是从右下角开始扩展,没见过 [输入量]:空: 正常情况:特大:特小:程序里处理到的特殊情况 ...
分类:
其他好文 时间:
2018-03-06 17:14:22
阅读次数:
128
把昨天的huffman code 和 max weight independent set实现了,发现虽然从概念上来说是前一个好理解后一个难理解,但是写起代码来却是前一个比较繁琐后一个很简洁,可能脑力劳动和手指劳动确实是反比关系吧。 开新课啦蛤蛤蛤蛤,每次开新课都好开心。尤其这次的课是个金发美女讲的 ...
分类:
其他好文 时间:
2018-03-03 20:32:42
阅读次数:
137
x = 0:0.01:10; y = x + 10*sin(5*x)+7*cos(4*x); figure plot(x, y) xlabel('independent variable') ylabel('dependent variable') title('GA:y = x + 10*sin(... ...
分类:
其他好文 时间:
2018-02-25 17:28:50
阅读次数:
206