码迷,mamicode.com
首页 >  
搜索关键字:car 限速    ( 3708个结果
【资料整理】rsync配置
【资料整理】rsync配置rsync参数说明v:详细提示a:以archive模式操作,复制目录、符号连接,等价于-rlptgoD。z:压缩u:只进行更新,防止本地新文件被重写,注意两者机器的时钟的同时P:是综合了–partial–progress两个参数,所以此时的rsync支持了断点续传1)主机a启动rsync..
分类:其他好文   时间:2014-12-25 06:45:52    阅读次数:175
SICP 习题 (2.17)解题总结:列表的遍历
SICP 习题 2.17 要求我们定义出过程last-pair,它返回只包含给定表里之后一个元素的表。比如 (last-pair (list 23 72 149 34))的结果应该是(34)当你开始做这道题的时候你应该已经看完书中有关list操作的内容了,你应该明白car和cdr分别是什么意思,也应该知道如何通过递归调用遍历一个list。有了以上基础的话完成习题2.17就是小菜一碟啦,基本思路就是...
分类:其他好文   时间:2014-12-25 01:30:03    阅读次数:300
【限速】limit_download.sh
【限速】limit_download.sh使用iptables做简单的限速策略。#!/bin/bash # #limitport80downloadspeed. ACTION=$1 n_port=80 #n_limit*15/100KB,100Mbit/s=10MB/s=10*1000KB/s n_limit=$2 [!-z$n_limit]||n_limit=3000 n_limit_burst=$3 [!-z$n_limit_burst]||n_limit_burst=30..
分类:其他好文   时间:2014-12-24 18:33:26    阅读次数:154
【利用WANem做限速策略】WANem模拟丢包和延时
【利用WANem做限速策略】WANem模拟丢包和延时虚拟机安装好WANem,IP配置为192.168.1.250调整本地网络的网关,从192.168.1.1变成192.168.1.250即可。接下来,调整丢包和延时的参数:访问250上的网页http://192.168.1.250/WANem/选择:“AdvancedMode”-“start”设置Delaytime(m..
分类:其他好文   时间:2014-12-24 18:22:53    阅读次数:175
【利用tc做简单的限速策略】tcqdisc.sh
【利用tc做简单的限速策略】tcqdisc.sh#!/bin/sh # #tcqdisc.sh[a|c|d|s]interface[delay|loss]N[ms|%] # # action=$1 eth=$2 option=$3 value=$4 case$actionin a) tcqdiscadddev$ethrootnetem$option$value ;; c) tcqdiscchangedev$ethrootnetem$option$value ;; d) tcqdis..
分类:其他好文   时间:2014-12-24 18:20:42    阅读次数:152
再次优化NGINX+php-fpm上传
上次写了一篇nginx+php-fpm优化上传,一位博友留言介绍了,第三方nginx upload modulehttp://www.grid.net.ru/nginx/upload.en.html看了一下,功能蛮强大的,所以就记录下来·基本没什么变化,在原有的例子上稍加了下修改,加了一个限速功能。...
分类:Web程序   时间:2014-12-23 17:10:26    阅读次数:254
GM Tech 2: A Real China Diagnostic Tool
As the most powerful diagnostic tool for GM vehicles,GM Tech 2has won for itself many car fans. Additionally, it is still available to do diagnosis fo...
分类:其他好文   时间:2014-12-23 17:02:59    阅读次数:153
Leetcode-Gas Station
There are N gas stations along a circular route, where the amount of gas at station i is gas[i].You have a car with an unlimited gas tank and it costs...
分类:其他好文   时间:2014-12-23 01:25:07    阅读次数:194
LeetCode: Gas Station 解题报告
Gas StationThere are N gas stations along a circular route, where the amount of gas at station i is gas[i].You have a car with an unlimited gas tank a...
分类:其他好文   时间:2014-12-23 00:01:26    阅读次数:377
Porsche Diagnostic Tool: 14.000 Porsche Piwis Tester II
There is no doubt that it is expensive to buy a luxury car like Porsche. But sometime, its repair bill will cost you much more. Most Porsche owners ha...
分类:其他好文   时间:2014-12-22 17:34:28    阅读次数:142
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!