importthreading
importparamiko
importsubprocess
defssh_command(ip,user,passwd,command):
client=paramiko.SSHClient()
#client.load_host_keys(‘/home/justin/.ssh/known_hosts‘)
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
client.connect(ip,usern..
分类:
编程语言 时间:
2016-05-10 23:45:48
阅读次数:
226
Missing Number Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. For example, Give ...
分类:
其他好文 时间:
2016-05-10 20:47:01
阅读次数:
189
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. For example,Given nums = [0, 1, ...
分类:
其他好文 时间:
2016-05-08 15:12:29
阅读次数:
145
按问题类型分类的问题 使用 SQL 注入的认证旁路2 已解密的登录请求3 登录错误消息凭证枚举1 会话标识未更新2 跨站点请求伪造1 Missing "Content-Security-Policy" header 9 Missing "X-Content-Type-Options" header ...
分类:
移动开发 时间:
2016-05-08 10:27:54
阅读次数:
1606
一天一道LeetCode系列(一)题目
Given an unsorted integer array, find the first missing positive integer.
For example,
Given [1,2,0] return 3,
and [3,4,-1,1] return 2.
Your algorithm should run i...
分类:
其他好文 时间:
2016-05-06 14:50:16
阅读次数:
95
摘录自:http://blog.sina.com.cn/s/blog_496117520100kw6b.html Eclipse下Debug时弹出错误“Unable to install breakpoint due to missing line number attributes,Modify ...
分类:
系统相关 时间:
2016-05-05 19:07:21
阅读次数:
225
#define SQLITE_OK 0 /* 成功 | Successful result *//* 错误码开始 */#define SQLITE_ERROR 1 /* SQL错误 或 丢失数据库 | SQL error or missing database */ #define SQLITE_I ...
分类:
数据库 时间:
2016-05-04 20:48:02
阅读次数:
195
fetch官方链接http://docs.ansible.com/ansible/fetch_module.html文件拉取模块主要是将远程主机中的文件拷贝到本机中,和copy模块的作用刚刚相反,并且在保存的时候使用hostname来进行保存,当文件不存在的时候,会出现错误,除非设置了选项fail_on_missing为yesfetch用法选项..
分类:
其他好文 时间:
2016-05-03 00:40:13
阅读次数:
702
Homebrew 是什么 官方介绍:The missing package manager for OS X(OS X 不可或缺的套件管理器) 如何安装 非常简单,执行如下命令 如何使用 本文为作者原创,转载请注明出处!欢迎关注作者公司公众号“逗逼点评”发现有趣 本文为作者原创,转载请注明出处!欢迎 ...
分类:
系统相关 时间:
2016-05-02 19:55:15
阅读次数:
165
这段时间看了一些大型的matlab工程文件(如:faster r-cnn),对于工程中经常要用到的一些函数进行一个总结。
1、路径问题。
这主要涵括文件路径的包含和组合。curdir = fileparts(mfilename('fullpath'));
addpath(genpath(fullfile(curdir, 'utils')));
mkdir_if_missing(fullfile(...
分类:
其他好文 时间:
2016-04-29 20:02:26
阅读次数:
857