05 2019 档案

摘要:https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/blob/master/CHANGELOG.md 阅读全文
posted @ 2019-05-31 00:21 不带R的墨菲特 阅读(284) 评论(0) 推荐(0) 编辑
摘要:https://octoperf.com/blog/2017/10/19/how-to-analyze-jmeter-results/ 阅读全文
posted @ 2019-05-30 23:48 不带R的墨菲特 阅读(194) 评论(0) 推荐(0) 编辑
摘要:1、先介绍下jmeter 的maven中央仓库地址,有兴趣自己看下 https://mvnrepository.com/artifact/org.apache.jmeter 2.Wiki github项目介绍: 项目地址:https://github.com/jmeter-maven-plugin/ 阅读全文
posted @ 2019-05-30 00:38 不带R的墨菲特 阅读(250) 评论(0) 推荐(0) 编辑
摘要:https://archive.apache.org/dist/jmeter/binaries/ 反馈,问题和评论应发送到Apache JMeter Users 邮件列表。 有关更多信息, 请访问Apache JMeter网站。 签名 已使用GnuPG签署了发布档案。 始终检查存档的签名 Java版 阅读全文
posted @ 2019-05-30 00:08 不带R的墨菲特 阅读(289) 评论(0) 推荐(0) 编辑
摘要:Request库安装方法 Request官网 使用管理员权限启动 command控制台(win+X 命令提示符(管理员)) 使用pip安装requests库(默认配置好python以及pip的环境变量) pip3 install requests Request库方法介绍 方法说明 requests 阅读全文
posted @ 2019-05-28 23:27 不带R的墨菲特 阅读(978) 评论(0) 推荐(0) 编辑
摘要:官网地址: http://cn.python-requests.org/zh_CN/latest/ 高级用法 本篇文档涵盖了 Requests 的一些高级特性。 会话对象 会话对象让你能够跨请求保持某些参数。它也会在同一个 Session 实例发出的所有请求之间保持 cookie, 期间使用 url 阅读全文
posted @ 2019-05-28 23:25 不带R的墨菲特 阅读(1383) 评论(0) 推荐(0) 编辑
摘要:请在终端(Mac / Linux)或命令提示符(Windows)上运行以下命令: jupyter notebook登录地址在cmd安装运行完jupyter notebook运行最后会提示 Jupyter的通用配置方法:官网很详细了 指定启动端口,使用以下语法: jupyter notebook -- 阅读全文
posted @ 2019-05-28 22:45 不带R的墨菲特 阅读(301) 评论(0) 推荐(0) 编辑
摘要:上面是普通文件和unittest 导入的文件右键快捷键显示情况,可以看出两者快捷键都是ctr+shift+F10,如果你是右键模式想运行unitest,但是又不知道哪里配置unittest直接运行快捷键ctr+shift+F10就会实现unitest执行 ,如果你想取消文件unittest配置只需要 阅读全文
posted @ 2019-05-25 01:11 不带R的墨菲特 阅读(3288) 评论(0) 推荐(1) 编辑
摘要:#coding=utf-8 import time import base64 import getopt import sys import threading import random import string import os def base64_cal(): str = 'admin' str = str.encode('utf-8') # 加密 ... 阅读全文
posted @ 2019-05-22 23:22 不带R的墨菲特 阅读(291) 评论(0) 推荐(0) 编辑
摘要:[1, 3] [2, 4][88, 99] [66, 55] 阅读全文
posted @ 2019-05-22 00:50 不带R的墨菲特 阅读(209) 评论(0) 推荐(0) 编辑
摘要:python channel_builder.py -s /Users/graypn/ -d /Users/graypn/Documents -m 7 --out=report/xx.html 参数也分长格式和短格式 短格式:-s 长格式:--source opts, args = getopt.g 阅读全文
posted @ 2019-05-22 00:14 不带R的墨菲特 阅读(419) 评论(0) 推荐(0) 编辑
摘要:import base64 str='admin' str=str.encode('utf-8') #加密 bs64=base64.b64encode(str) #解密 debs64=base64.b64decode(bs64) print(debs64.decode("utf-8")) #base32bit加密 bs32=base64.b32encode(str) #b32解密 debs32=... 阅读全文
posted @ 2019-05-21 23:23 不带R的墨菲特 阅读(1792) 评论(0) 推荐(0) 编辑
摘要:本地向量(Local Vector)存储在单台机器上,索引采用0开始的整型表示,值采用Double类型的值表示。Spark MLlib中支持两种类型的矩阵, 分别是密度向量(Dense Vector)和稀疏向量(Spasre Vector),密度向量会存储所有的值包括零值,而稀疏向量存储的是索引位置 阅读全文
posted @ 2019-05-20 23:03 不带R的墨菲特 阅读(3306) 评论(1) 推荐(0) 编辑
摘要:脚本实现telnet echo ' ' |telnet ip port 表示执行完telnet后立即退出 sleep 2 |telnet ip port 表示执行完等待2s 再退出 手动退出ctr+],再quit退出 linux 获取本机ipv4 shell 实现: ip -4 address show | grep inet | grep -v 127.0.0 | aw... 阅读全文
posted @ 2019-05-19 23:16 不带R的墨菲特 阅读(333) 评论(0) 推荐(0) 编辑
摘要:centos7如何安装sshpass 先安装epel yum install -y epel-release yum repolist 安装完成epel之后,就可以按照sshpass了 yum install -y sshpass 使用方法 当远程主机端口不再是22默认端口时候: 阅读全文
posted @ 2019-05-19 23:10 不带R的墨菲特 阅读(1428) 评论(0) 推荐(0) 编辑
摘要:for windows : for linux 阅读全文
posted @ 2019-05-19 19:35 不带R的墨菲特 阅读(3158) 评论(0) 推荐(0) 编辑
摘要:可以看到返回的是一个completeProcess对象 所以调用获取最终returncode可以使用 sub=subproccess.run(xxxxx) returncode,out,err,args=sub.returncode,sub.stdout,sub.stderr,sub.args 正常 阅读全文
posted @ 2019-05-19 14:12 不带R的墨菲特 阅读(7867) 评论(0) 推荐(0) 编辑
摘要:[root@hostuser src]# python3 subprocess_popen.py File "subprocess_popen.py", line 23SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xd0 阅读全文
posted @ 2019-05-19 13:38 不带R的墨菲特 阅读(2673) 评论(0) 推荐(0) 编辑
摘要:1.dstat 使用 man dstat 二、交互性监控工具glances glances可以在用户终端上实时显示重要的系统信息,并动态刷新内容。glances每隔3秒钟对其进行刷新,我们也可以使用命令行参数修改刷新的频率。与dstat相同的是,glances可以将捕获到的数据保存到文件中;而不同的 阅读全文
posted @ 2019-05-19 00:40 不带R的墨菲特 阅读(589) 评论(1) 推荐(0) 编辑
摘要:def run(): str_shell='ipconfig' sub=subprocess.Popen(args=str_shell,shell=True,stdin=subprocess.PIPE,stdout=subprocess.PIPE, stderr=subprocess.PIPE,universal_newline... 阅读全文
posted @ 2019-05-18 23:51 不带R的墨菲特 阅读(1166) 评论(0) 推荐(0) 编辑
摘要:检查telnet是否已安装: [root@hostuser src]# rpm -q telnet-serverpackage telnet-server is not installed[root@hostuser src]# telnet 192.168.81.129bash: telnet: 阅读全文
posted @ 2019-05-18 12:49 不带R的墨菲特 阅读(1362) 评论(0) 推荐(0) 编辑
摘要:python 3.6 pip install pexpect 阅读全文
posted @ 2019-05-15 00:25 不带R的墨菲特 阅读(258) 评论(0) 推荐(0) 编辑
摘要:subprocess: paramiko: 阅读全文
posted @ 2019-05-14 00:33 不带R的墨菲特 阅读(1128) 评论(0) 推荐(0) 编辑
摘要:sftp 是一个交互式安全文件传输协议的传输程式。它类似于 ftp也叫internet网络文件协议, 但它进行加密传输,比FTP有更高的安全性。下边就简单介绍一下如何远程连接主机,进行文件的上传和下 sftp user@202.206.64.33 (其实sftp就是ssh 的一个程式。) sftp> 阅读全文
posted @ 2019-05-11 01:03 不带R的墨菲特 阅读(668) 评论(0) 推荐(0) 编辑
摘要:Linux scp命令用于Linux之间复制文件和目录。 scp是 secure copy的缩写, scp是linux系统下基于ssh登陆进行安全的远程文件拷贝命令。 1、从本地复制到远程 命令格式: 建议使用这两个需要输入密码 第1,2个指定了用户名,命令执行后需要再输入密码,第1个仅指定了远程的 阅读全文
posted @ 2019-05-11 00:56 不带R的墨菲特 阅读(28213) 评论(0) 推荐(1) 编辑
摘要:mysql yum源地址:https://dev.mysql.com/downloads/repo/yum/ 随便找个最新的不管你是要装任何个历史版本他都可以,后面我会介绍: 安装第一步预置环境清理: 安装前,我们可以检测系统是否自带安装 MySQL: rpm -qa | grep mysql 如果 阅读全文
posted @ 2019-05-11 00:46 不带R的墨菲特 阅读(1174) 评论(5) 推荐(0) 编辑
摘要:二、公钥登录 每次登录远程主机都需要输入密码是很不方便的,如果想要省去这一步骤,可以利用密钥对进行连接,还可以提高安全性。 1、在本机生成密钥对 使用ssh-keygen命令生成密钥对: ssh-keygen -t rsa #-t表示类型选项,这里采用rsa加密算法然后根据提示一步步的按enter键 阅读全文
posted @ 2019-05-11 00:33 不带R的墨菲特 阅读(1600) 评论(0) 推荐(1) 编辑
摘要:Collecting paramiko Downloading https://files.pythonhosted.org/packages/cf/ae/94e70d49044ccc234bfdba20114fa947d7ba6eb68a2e452d89b920e62227/paramiko-2.4.2-py2.py3-none-any.whl (193kB) 100% |?..?... 阅读全文
posted @ 2019-05-10 00:55 不带R的墨菲特 阅读(348) 评论(0) 推荐(0) 编辑
摘要:记录了Linux 安装python3.7.0的详细过程,供大家参考,具体内容如下 我这里使用的时centos7-mini,centos系统本身默认安装有python2.x,版本x根据不同版本系统有所不同,可通过 python --V 或 python --version 查看系统自带的python版 阅读全文
posted @ 2019-05-09 23:07 不带R的墨菲特 阅读(177) 评论(1) 推荐(0) 编辑
摘要:前置准备yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc makeyum install libffi-devel -ypython linu 阅读全文
posted @ 2019-05-09 22:54 不带R的墨菲特 阅读(4108) 评论(2) 推荐(0) 编辑
摘要:3、全局配置:就是为了在于提交代码的时候,知道是哪个家伙提交的! git config --global user.name "chen1932490299" git config --global user.email "1932490299@qq.cocm" ssh-keygen -t rsa 阅读全文
posted @ 2019-05-08 23:17 不带R的墨菲特 阅读(432) 评论(1) 推荐(0) 编辑
摘要:googlechrome webdriver驱动下载 addrhttps://sites.google.com/a/chromium.org/chromedriver/downloads谷歌浏览器app下载https://www.chromedownloads.net/############### 阅读全文
posted @ 2019-05-08 23:15 不带R的墨菲特 阅读(241) 评论(0) 推荐(0) 编辑
摘要:C:\Program Files (x86)\Java\jdk1.8.0_65 //JAVA_HOME .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar; //classpath 的变量配置 %JAVA_HOME%\bin;%JAVA_HOME%\ 阅读全文
posted @ 2019-05-08 23:13 不带R的墨菲特 阅读(240) 评论(0) 推荐(0) 编辑
摘要:3.7版本需要一个新的包libffi-devel,安装此包之后再次进行编译安装即可。 若在安装前移除了/usr/bin下python的文件链接依赖,此时yum无法正常使用,需要自己下载相关软件包安装,为节省读者时间,放上链接 #wget http://mirror.centos.org/centos 阅读全文
posted @ 2019-05-08 00:08 不带R的墨菲特 阅读(10821) 评论(0) 推荐(0) 编辑
摘要:#! /usr/bin/python # -*- coding: utf-8 -*- import os print os.environ['HOME'] print os.path.expandvars('$HOME') print os.path.expanduser('~') 阅读全文
posted @ 2019-05-07 23:39 不带R的墨菲特 阅读(3525) 评论(0) 推荐(0) 编辑
摘要:https://www.python.org/ftp/python 阅读全文
posted @ 2019-05-07 23:22 不带R的墨菲特 阅读(336) 评论(0) 推荐(0) 编辑
摘要:https://www.lfd.uci.edu/~gohlke/pythonlibs/#networkx 阅读全文
posted @ 2019-05-06 23:30 不带R的墨菲特 阅读(330) 评论(0) 推荐(0) 编辑
摘要:解决: 阅读全文
posted @ 2019-05-03 01:31 不带R的墨菲特 阅读(9248) 评论(0) 推荐(1) 编辑
摘要:解决方法: 开放linux 防火墙40127端口允许下载jnlp centos7 解决如下: [root@hostuser chrome]# firewall-cmd --zone=public --add-port=40127/tcp --permanentsuccess[root@hostuse 阅读全文
posted @ 2019-05-03 01:08 不带R的墨菲特 阅读(2429) 评论(0) 推荐(0) 编辑
摘要:1.前提你的驱动和版本对应无问题时,依旧报未知错误无法启动chrome 解决方法加上两行: options.addArguments("no-sandbox");options.addArguments("--disable-gpu"); 其中“–no-sandbox”参数是让Chrome在root 阅读全文
posted @ 2019-05-03 00:15 不带R的墨菲特 阅读(1487) 评论(0) 推荐(0) 编辑
摘要:甲骨文官网地址:https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 如何清除自带jdk8: rpm -qa | grep java 查询如下: [root@hostuser chen 阅读全文
posted @ 2019-05-02 21:17 不带R的墨菲特 阅读(1640) 评论(0) 推荐(0) 编辑
摘要:[root@hostuser gitlab]# lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch: 阅读全文
posted @ 2019-05-01 01:22 不带R的墨菲特 阅读(448) 评论(1) 推荐(0) 编辑
摘要:CentOS 升级到7之后,发现无法使用iptables控制Linuxs的端口,google之后发现Centos 7使用firewalld代替了原来的iptables下面记录如何使用firewalld开放Linux端口: CentOS 升级到7之后,发现无法使用iptables控制Linuxs的端口 阅读全文
posted @ 2019-05-01 00:43 不带R的墨菲特 阅读(566) 评论(0) 推荐(0) 编辑
摘要:以root 身份进行登录linux 1.先安装相关依赖: sudo yum install -y curl policycoreutils-python openssh-server2.开启SSH开机自启动 sudo systemctl enable sshd sudo systemctl star 阅读全文
posted @ 2019-05-01 00:35 不带R的墨菲特 阅读(2428) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示