- 博客(5)
- 资源 (8)
- 收藏
- 关注
转载 浅谈TCP优化
https://huoding.com/2013/11/21/299很多人常常对TCP优化有一种雾里看花的感觉,实际上只要理解了TCP的运行方式就能掀开它的神秘面纱。Ilya Grigorik 在「High Performance Browser Networking」中做了很多细致的描述,让人读起来醍醐灌顶,我大概总结了一下,以期更加通俗易懂。流量控制
2017-09-18 17:01:22 700
原创 脚本登录linux,vim不跟随窗口大小变化
使用ssh脚本登录服务器后,改变窗口大小的时候vim不跟随窗口大小变化出现乱码,需要在脚本头部增加以下设置:#trap sigwinch and pass it to the child we spawnedtrap { set rows [stty rows] set cols [stty columns] stty rows $rows columns $cols < $spawn
2017-09-07 16:02:47 1964 2
原创 linux遍历进程号、inode、进程名称
<?php $handle= opendir("/proc/"); while(false !== ($dir=readdir($handle))){ if( is_dir("/proc/".$dir) && preg_match("/[0-9]/",$dir) ){ $h1 = opendir("/proc/".$dir."/fd/");
2017-09-06 18:13:24 2093
转载 fastcgi与php-fpm之间的关系
刚开始对这个问题我也挺纠结的,看了《HTTP权威指南》后,感觉清晰了不少。首先,CGI是干嘛的?CGI是为了保证web server传递过来的数据是标准格式的,方便CGI程序的编写者。web server(比如说nginx)只是内容的分发者。比如,如果请求/index.html,那么web server会去文件系统中找到这个文件,发送给浏览器,这里分发的是静态数据。好了,如果现在请
2017-09-06 10:49:31 529
转载 JpGraph中文乱码解决方案
JpGraph中文乱码解决方案 (2011-06-23 12:02:32)转载▼标签: 杂谈分类: PHP在使用JpGraph时,经常会出现乱码问题,这种问题的原因多半都是因为字符编码不合适引起的,下面是一般的解决办法。针对2.3版本。首先确保将simsun.ttc文件拷贝到/usr/X11R6/lib/X
2017-09-05 13:57:55 695
Configuring Virtual Private LAN Services
2014-04-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人