一)Make fewer HTTP requests 尽可能少的http请求。合并图片、CSS、JS,改进首次访问用户等待时间。二)Use a CDN 使用CDN,就近缓存==>智能路由==>负载均衡==>WSA全站动态加速CDN的全称是Content Delivery Network,即内容分发网...
分类:
其他好文 时间:
2015-12-30 19:08:20
阅读次数:
164
scons是一个Python写的自动化构建工具,和GNU make相比优点明显: 1、移植性:python能运行的地方,就能运行scons 2、扩展性:理论上scons只是提供了python的类,scons使用者可以在这个类的基础上做所有python能做的事情。比如想把一个已经使用了Makefi.....
分类:
其他好文 时间:
2015-12-30 13:12:54
阅读次数:
187
转载:http://blog.csdn.net/haoel/article/details/2889在一些大的工程中,有大量的源文件,我们通常的做法是把这许多的源文件分类,并存放在不同的目录中。所以,当make需要去找寻文件的依赖关系时,你可以在文件前加上路径,但最好的方法是把一个路径告诉make,...
分类:
其他好文 时间:
2015-12-30 00:01:55
阅读次数:
317
Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your...
分类:
其他好文 时间:
2015-12-29 14:27:12
阅读次数:
3977
1.安装配置官网下载地址:http://imysql.com/wp-content/uploads/2014/09/tpcc-mysql-src.tgz1.用bzr客户端下载软件包[root@tong1~]#yuminstallbzr-y[root@tong1~]#bzrbranchlp:~percona-dev/perconatools/tpcc-mysql[root@tong1~]#cdtpcc-mysql/src/[root@tong1src]#make[root@..
分类:
数据库 时间:
2015-12-29 06:34:08
阅读次数:
269
Making vim an IDE is an exiting thing. Conside following configuration files: .vimrc: ~/.vimrc winmanager.vim: ~/.vim/bundle/winmanager/plugin/winmana...
分类:
系统相关 时间:
2015-12-28 22:02:32
阅读次数:
662
You are given n rods of length 1,2, . . . , n. You have to pick any 3 of them and build a triangle. Howmany distinct triangles can you make? Note that...
分类:
其他好文 时间:
2015-12-28 20:24:53
阅读次数:
138
题目:Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure y...
分类:
其他好文 时间:
2015-12-28 07:57:21
阅读次数:
520
Delphi的fsMDIChild类型的窗体是不能使用ShowModal的,否则会弹出"Cannot make a visible window modal"异常,但是把fsMDIChild改为fsNormal类型之后使用ShowModal,依旧会弹出"Cannot make a visible w...
练习1:理解通过make生成执行文件的过程。1-1. 把 kern/init/init.c 生成 init.o文件 并且放在 obj/kern/init/init.o1-2. 把 kern/libs/readline.c 生成 readline.o 文件,并且放在 obj/kern/libs/rea...
分类:
其他好文 时间:
2015-12-27 17:50:30
阅读次数:
199