reload 方法,该方法强迫浏览器刷新当前页面。 语法:location.reload([bForceGet]) 参数: bForceGet, 可选参数, 默认为 false,从客户端缓存里取当前页。true, 则以 GET 方式,从服务端取最新的页面, 相当于客户端点击 F5("刷新") rep ...
分类:
其他好文 时间:
2017-03-15 12:23:11
阅读次数:
331
【题意分析】 求一个下凸壳与一段折线的距离。 【解题思路】 先把直线按斜率排序,求出下凸壳,然后枚举所有的顶点的x坐标求最短y坐标差。 【参考代码】 1 #include <algorithm> 2 #include <cstdio> 3 #define REP(i,low,high) for(re ...
分类:
其他好文 时间:
2017-03-12 23:30:21
阅读次数:
224
###################第三方软件仓库的搭建把所有的rpm软件包放到一个目录中,这个目录中只能存在rpm文件createrepo-v/rpm存放目录vim/etc/yum.repos.d/xxx.repo[Software]name=softwarebaseurl=file:///rpm存放目录gpgcheck=0####client指向端####vim/etc/yum.repos.d/xxxx.rep..
分类:
系统相关 时间:
2017-03-10 22:36:44
阅读次数:
289
区间连续不重复子段最大值,要维护历史的最大值和当前的最大值,打两个lazy,离线 #include<cstdio> #include<cstring> #include<algorithm> #define maxn 150000 #define rep(i,l,r) for(int i=l;i<= ...
分类:
其他好文 时间:
2017-03-10 16:18:05
阅读次数:
217
git源码链接地址:https://github.com/youker-lxy/Git-rep 通过查找学习资源http://www.cnblogs.com/xdp-gacl/p/3908610.html,了解到了MVC的开发思想,以下画图是自己的理解。 其中,M:modeul,表示数据模型,用于处 ...
分类:
其他好文 时间:
2017-03-09 13:40:38
阅读次数:
281
如果是32位系统的话进入System32 类似。 如果出现以下提示(问题): Installing the apache2 service The apache2 service is successfully installed. Testing httpd.conf.... Errors rep ...
分类:
Web程序 时间:
2017-03-04 18:28:14
阅读次数:
504
摘要 1.使用reduceByKey/aggregateByKey替代groupByKey 2.使用mapPartitions替代普通map 3.使用foreachPartitions替代foreach 4.使用filter之后进行coalesce操作 5.使用rep... ...
分类:
其他好文 时间:
2017-03-03 23:47:42
阅读次数:
394
The remote API functions are interacting with V-REP via socket communication in a way that reduces lag and network load to a great extent. The remote ...
分类:
其他好文 时间:
2017-03-01 12:25:38
阅读次数:
692
今天在测试环境使用yum安装,遇到一个问题: Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 处理很简单,修改文件“/etc/yum.repos.d/epel.rep ...
分类:
其他好文 时间:
2017-02-19 13:54:15
阅读次数:
170
ROS数据可视化工具Rviz和三维物理引擎机器人仿真工具V-rep Morse Gazebo Webots USARSimRos等概述
Rviz是ROS数据可视化工具,可以将类似字符串文本等枯燥的数据...
分类:
Web程序 时间:
2017-02-15 15:29:51
阅读次数:
2329