码迷,mamicode.com
首页 >  
搜索关键字:handles    ( 268个结果
matplotlib的学习5-legend图例
l1 = plt.plot(x,y1,lable='linear line') 表示l1是一条线,x,y参数确定,lable表示这个线在figure里面的名称 plt.legend(loc='upper right') #plt的图例放置的位置在loc参数中 plt.legend(handles=[ ...
分类:其他好文   时间:2018-09-03 20:30:12    阅读次数:251
CVE-2018-8120 分析
[TOC] CVE 2018 8120 分析 1、实验环境 1.1、操作系统 windows 7 sp1 x86 未打补丁 "磁力链接" 1.2、用到的分析工具 windbg 32位 "下载地址" IDA pro 7.0 "正版链接" PCHunter "下载地址" ProcessHacker "下 ...
分类:其他好文   时间:2018-08-30 10:58:20    阅读次数:895
django源码分析——静态文件staticfiles中间件
分析 首先该runserver是为了实现在处理接口的同时,处理静态文件,所以Command继承了core核心中的RunserverCommand类,这样只需要在已有的基础上,改写是该类处理静态文件即可。 该类又增加了两个参数,nostatic表示不自动处理静态文件,insecure表示就算不是调试模 ...
分类:其他好文   时间:2018-08-12 12:19:00    阅读次数:473
xtrabackup 备份和恢复
备份 innobackupex defaults file=/data/57mysql/mysql3506/my3506.cnf uwyz pzstzst S /tmp/mysql3506.sock A /data/backup/ 还原及启动实例 innobackupex apply log /da ...
分类:其他好文   时间:2018-07-31 21:34:29    阅读次数:141
Legend 图例
1、添加图例 2、调整位置和名称 如果我们想单独修改之前的 label 信息, 给不同类型的线条设置图例信息. 我们可以在 plt.legend 输入更多参数. 如果以下面这种形式添加 legend, 我们需要确保, 在上面的代码 plt.plot(x, y2, label='linear line ...
分类:其他好文   时间:2018-07-29 13:06:39    阅读次数:605
python3+selenium入门11-窗口切换
在打开新的浏览器窗口时,如果要定位新窗口的元素,需要先切换到这个新打开的窗口中,才能定位到该窗口下的元素。 current_window_handle:获取当前句柄。可以把句柄理解成窗口的身份证 window_handles:获取所有打开窗口的句柄 from selenium import webd ...
分类:编程语言   时间:2018-07-27 19:28:21    阅读次数:136
2.实现一个简单的任务
创建实体 把实体类写在Core项目中,因为实体是领域层的一部分。 一个简单的应用场景:创建一些任务(Assignment)并分配给人。 我们需要Assignment和Person这两个实体。 public class Assignment : Entity<long> { //外键 [Foreign ...
分类:其他好文   时间:2018-07-25 01:11:25    阅读次数:253
CodeForces 501B Misha and Changing Handles(STL map)
Misha hacked the Codeforces site. Then he decided to let all the users change their handles. A user can now change his handle any number of times. But ...
分类:其他好文   时间:2018-07-23 14:54:35    阅读次数:225
MySQl 修改最大连接数
今天使用ide连接线下MySQL报错Can not connect to MySQL server. Too many connections,报错很明确,与MySQL的连接数满了。想想也是,每起一个服务都会创建MySQL连接池,占用不少的长连接。用ide查看了一下,原来最大连接数才151,看来有必 ...
分类:数据库   时间:2018-07-08 23:02:59    阅读次数:213
How does Java HashMap or LinkedHahsMap handles collisions
Prior to Java 8, HashMap and all other hash table based Map implementation classes in Java handle collision by chaining, i.e. they use linked list to ...
分类:编程语言   时间:2018-07-07 10:34:54    阅读次数:226
268条   上一页 1 ... 8 9 10 11 12 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!