题目链接:http://poj.org/problem?id=2236 Description An earthquake takes place in Southeast Asia. The ACM (Asia Cooperated Medical team) have set up a wire ...
分类:
Web程序 时间:
2016-06-17 21:16:15
阅读次数:
248
@theboysmithy did a great piece on coming up with an alternate view for a timeline for an FT piece. Here’s an excerpt (read the whole piece, though, i ...
分类:
其他好文 时间:
2016-06-17 12:44:28
阅读次数:
225
本篇主要是介绍如何配置VPP的编译开发环境,具体配置请参考VPP开发文档:https://wiki.fd.io/view/VPP/Setting_Up_Your_Dev_Environment 首先我们需要在主机上安装Vagrant软件和虚拟机,并在虚拟化里面设置编译开发环境,当然也可以不在虚拟机里 ...
分类:
其他好文 时间:
2016-06-17 00:30:05
阅读次数:
623
测微信页面的时候使用谷歌app,进入微信页面的链接 def setUp(self): print("set up env for android testing...") self.desired_caps = { 'platformName': 'Android', 'platformVersio ...
分类:
移动开发 时间:
2016-06-16 21:31:28
阅读次数:
469
查看Linux的IP信息的命令为ifconfig-a(输出全部网卡信息,包括未启用的)参数ifconfigeh0(第一块网卡,根据实际情况选择相应的网卡号)down(关闭)UP(启用)ifconfig接口选项|地址#ifconfigeth0up#开启eth0网卡#ifconfigeth0down#关闭eth0网卡#ifconfigeth0-arp#关闭eth0网卡arp..
分类:
其他好文 时间:
2016-06-16 18:17:13
阅读次数:
165
Binary Tree Level Order Traversal II
Total Accepted: 84098 Total
Submissions: 244151 Difficulty: Easy
Given a binary tree, return the bottom-up level order traversal of its n...
分类:
其他好文 时间:
2016-06-16 14:54:59
阅读次数:
151
一、 在安装好了centOS 7 的服务上,打开终端 运行 ip -s addr 命令 获取服务的IP地址 [root@localhost ~]# ip -s addr1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOW ...
分类:
其他好文 时间:
2016-06-16 14:34:10
阅读次数:
127
1. 编译wifi相关功能为模块,生成bcmdhd.ko;由bcmdhd.ko的模块信息可知,该模块依赖于cfg80211.ko和rfkill.ko。 2. 写脚本,开机自动加载wifi模块。 3. 使用命令#ifconfig wlan0 up开启WIFI。 开启wifi需要加载2个固件:fw_bc ...
分类:
其他好文 时间:
2016-06-16 14:29:51
阅读次数:
246
Delphi中 Round函数有个Bug一旦参数是形如 XXX.5这样的数时如果 XXX 是奇数 那么就会 Round up如果 XXX 是偶数 那么就会 Round down例如 Round(17.5)=18但是 Round(12.5)=12下面的函数即可纠正这个 Bug 但是是临时性的执行 Do ...
Sum It Up Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5931 Accepted Submission(s): 3089 Probl ...
分类:
其他好文 时间:
2016-06-15 22:15:16
阅读次数:
182