Route使用子接口配置fa0/0无IP并激活interfaceFastEthernet0/0noipaddressnoshut配置子接口1fa0/0.1interfaceFastEthernet0/0.1encapsulationdot1Q2(VLAN2)ipaddress10.10.10.1255.255.255.0noshut配置子接口2fa0/0.2interfaceFastEthernet0/0.2encapsulationdot1Q3(VLAN3)..
分类:
其他好文 时间:
2014-08-19 11:07:35
阅读次数:
255
Description
Samball is going to travel in the coming vacation. Now it's time to make a plan. After choosing the destination city, the next step is to determine the travel route. As this poor guy has ...
分类:
其他好文 时间:
2014-08-18 10:50:54
阅读次数:
334
1 socket()函数
原型:
int socket(int domain, int type, int protocol);
描述:
类似打开一个文件,返回一个socket描述符,唯一标识一个socket,后面相应的操作都是这用这个socket描述符。
参数:
domain:协议族,常用的协议族有AF_INET、AF_INET6、AF_LOCAL、AF_ROUTE等;
协议族决定...
分类:
其他好文 时间:
2014-08-18 00:19:53
阅读次数:
335
这段时间一直有在看Express框架的API,最近刚看到Router,以下是我认为需要注意的地方:Router模块中有一个param方法,刚开始看得有点模糊,官网大概是这么描述的:Map logic to route parameters.大概意思就是路由参数的映射逻辑这个可能一时半会也不明白其作用...
分类:
Web程序 时间:
2014-08-16 22:24:41
阅读次数:
367
net.ipv4.tcp_fin_timeout=2net.ipv4.tcp_tw_reuse=1net.ipv4.tcp_tw_recycle=1net.ipv4.tcp_syncookies=1net.ipv4.tcp_keepalive_time=600net.ipv4.ip_local_port_range=400065000net.ipv4.tcp_max_syn_backlog=16834net.ipv4.tcp_max_tw_buckets=36000net.ipv4.route.gc_time..
分类:
系统相关 时间:
2014-08-15 13:00:59
阅读次数:
284
laravel-route-group =================== 对象化分组路由辅助工具 ## 使用前的准备 在 composer.json 文件中申明依赖: "five-say/laravel-route-group": "1.*" 在 `/app/config/app.php` 中设置“服务提供者”与...
分类:
其他好文 时间:
2014-08-14 01:40:38
阅读次数:
250
由于没有HDMI的显示屏,为了方便起见,使用了pcduino的OTG来连接到虚拟桌面,可是发现连接上虚拟桌面后,电脑的外网就断了。下面这个方法让你既可以连接到pcduino,又可以让电脑能上外网。 打开电脑命令行,在开始里面输入cmd. 输入route PRINT -4(我电脑XP,发现不要输入-....
分类:
其他好文 时间:
2014-08-14 00:57:17
阅读次数:
187
Choose the best route
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 7061 Accepted Submission(s): 2300
Problem Description
One ...
分类:
其他好文 时间:
2014-08-13 22:34:27
阅读次数:
312
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-08-13 00:32:34
阅读次数:
272
Problem Description
杭州有N个景区,景区之间有一些双向的路来连接,现在8600想找一条旅游路线,这个路线从A点出发并且最后回到A点,假设经过的路线为V1,V2,....VK,V1,那么必须满足K>2,就是说至除了出发点以外至少要经过2个其他不同的景区,而且不能重复经过同一个景区。现在8600需要你帮他找一条这样的路线,并且花费越少越好。
Input
第一...
分类:
其他好文 时间:
2014-08-11 15:00:02
阅读次数:
195