set(集合)和dict(字典)类似,也是一组key的集合,但不存储value。由于key不能重复,所以,在set中,没有重复的key。
分类:
编程语言 时间:
2018-10-19 14:15:33
阅读次数:
143
Mahmoud and Ehab continue their adventures! As everybody in the evil land knows, Dr. Evil likes bipartite graphs, especially trees. A tree is a connec ...
分类:
其他好文 时间:
2018-10-18 01:04:36
阅读次数:
160
Ubuntu 16.04安装openssh server后,使用ssh客户端连接时可能报此错误,情况如下图所示: server responded "algorithm negotiation failed” 修改服务器端ssh的配置文件,目录为:/etc/ssh/sshd_config,输入如下命 ...
分类:
其他好文 时间:
2018-10-18 00:57:49
阅读次数:
224
Buried memory Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4067 Accepted Submission(s): 2171 P ...
分类:
编程语言 时间:
2018-10-17 20:43:49
阅读次数:
245
在DataFrame数据表里面提取需要的行 代码功能: 在DataFrame表格中使用loc(),得到我们想要的行,然后根据某一列元素的值进行排序 此代码中还展示了为DataFrame添加列,即直接name_DataFrame['diff']=___即可,同时可以依据新添加的列元素的值,来对data ...
分类:
其他好文 时间:
2018-10-17 11:11:19
阅读次数:
282
当没有插件管理器时,Vim 用户必须手动下载 tarball 包形式的插件,并将它们解压到 ~/.vim 目录中。在少量插件的时候可以。但当他们安装更多的插件时,就会变得一团糟。所有插件文件分散在单个目录中,用户无法找到哪个文件属于哪个插件。此外,他们无法找到他们应该删除哪个文件来卸载插件。这时 V ...
分类:
系统相关 时间:
2018-10-15 12:13:43
阅读次数:
1114
变换 map //abstract class RDD filter flatMap mapPartitions mapPartitionsWithIndex sample union intersection distinct groupByKey //class PairRDDFunctions ...
分类:
其他好文 时间:
2018-10-14 23:07:19
阅读次数:
159
Unity Shader 灰度Shader(支持UGUI Mask裁剪) shader源码如下 其中支持mask裁剪部分(注意 有两处地方需要添加)的代码同样适合其他自定义shader !!注意: 支持Mask后在Mask物体下,Image的Material的属性只有第一次赋值时有效,无法动态修改, ...
分类:
编程语言 时间:
2018-10-13 22:48:43
阅读次数:
495
一.简单的创建库 1.ubuntu环境--下载git:sudo apt-get install git 2.git版本回退 命令:git reset --hard commit_id git log 查看提交历史 git reflog 查看操作历史 git diff HEAD -- readme.t ...
分类:
其他好文 时间:
2018-10-13 21:44:05
阅读次数:
188
SoapUI简介 SoapUI是一个开源测试工具,通过soap/http来检查、调用、实现Web Service的功能/负载/符合性测试。该工具既可作为一个单独的测试软件使用,也可利用插件集成到Eclipse,maven2.X,Netbeans 和intellij中使用。 SoapUI是一个自由和开 ...
分类:
其他好文 时间:
2018-10-12 23:37:22
阅读次数:
206