https://dzone.com/articles/hashmap-performance https://javarevisited.blogspot.com/2016/01/how-does-java-hashmap-or-linkedhahsmap-handles.html ...
分类:
编程语言 时间:
2018-07-06 21:32:48
阅读次数:
147
1.浏览器 1.1 浏览器窗口大小位置 driver.set_window_size(self, width, height, windowHandle) 将某个窗口设置为固定大小 driver.set_window_position(self, x, y, windowHandle) 将某个窗口移 ...
分类:
编程语言 时间:
2018-07-03 22:34:44
阅读次数:
331
# command with arguments my $proc = Proc::Async.new('whoami'); # subscribe to new output from out and err handles: $proc.stdout.tap(-> $v { print "Use ...
分类:
其他好文 时间:
2018-06-26 11:08:28
阅读次数:
150
1.web server Web Server中文名称叫网页服务器或web服务器。WEB服务器也称为WWW(WORLD WIDE WEB)服务器,主要功能是提供网上信息浏览服务.Web服务器可以解析(handles)HTTP协议。当Web服务器接收到一个HTTP请求(request),会返回一个HT ...
分类:
编程语言 时间:
2018-06-25 12:53:09
阅读次数:
134
Configuring NGINX Plus as a Web Server At a high level, configuring NGINX Plus as a web server is a matter of defining which URLs it handles and how i ...
分类:
其他好文 时间:
2018-06-20 21:37:03
阅读次数:
139
解决办法:(1)修改D:\Java\apache-tomcat-7.0.88\conf\catalina.properties (122line) (2)如org.apache.catalina.startup.ContextConfig.jarsToSkip=*.jar 严重: Container... ...
分类:
移动开发 时间:
2018-06-14 23:59:43
阅读次数:
1175
前言 部分小伙伴学了selenium的alert后,就不管啥弹出框都去用alert,这是行不通的,看到弹出框,先要确定是不是alert,是才能用,不是的话肯定不能用。 有些弹出框是div层,这种跟平常定位方法一样 有些弹出框是嵌套的iframe层,这种切换iframe就可以了 有些弹出框比较坑,是嵌 ...
分类:
编程语言 时间:
2018-05-06 16:20:14
阅读次数:
407
多窗口切换: from selenium import webdriver d = webdriver.Firefox() d.window_handles #显示所有的窗口 d.current_window_handle#x显示当前窗口 d.switch_to_window(d.window_ha ...
分类:
编程语言 时间:
2018-05-02 22:43:29
阅读次数:
228
提供函数方便使用privatevoidDrawArrow(Vector2from,Vector2to,Colorcolor){Handles.BeginGUI();Handles.color=color;Handles.DrawAAPolyLine(3,from,to);Vector2v0=from-to;v0*=10/v0.magnitude;Vector2v1=newVector2(v0.x*
分类:
编程语言 时间:
2018-04-14 18:08:45
阅读次数:
1476
在网上看到一个C++代码示例: 原文地址:http://bbs.pediy.com/thread-217610.htm 觉得这是一个很好的调用 windows api 的示例,故将其转换成了 delphi xe8 源码下载:OpenNewWechat 下面给出所用到的windows api 定义 ...
分类:
微信 时间:
2018-03-18 10:26:53
阅读次数:
452