01 2020 档案

摘要:前提设置显卡,下载OBS studio 64bit别下载32bit了 如果电脑desktop右键无法显示NAVIDIA 控制面板则需要win+R 输入 msconfig选取服务,勾选所有NAIVIDA点击应用重启电脑,再桌面右键点击就会出现显卡控制面板 解决此问题还是不可以显示黑屏再往下看: win 阅读全文
posted @ 2020-01-31 19:54 不带R的墨菲特 阅读(13920) 评论(2) 推荐(3) 编辑
摘要:普通用户好像也无伤大雅: 输入后看到这样的有个美元符号,说明你的虚拟机获取不了权限,有权限的应该是root和#都有,这个时候你输入su 如果还是没有变化,看看你的虚拟机是不是android7.0,Android 7.0的模拟器是没有root权限的,你再换个6.0的设备运行,输入adb shell后就 阅读全文
posted @ 2020-01-30 21:42 不带R的墨菲特 阅读(1166) 评论(0) 推荐(0) 编辑
摘要:adb kill-server adb start-server 可能会遇到问题华为手机: 有应用遮挡了权限请求界面,设置应用无法验证你的回应 系统导航关闭悬浮球 然后重启adb server adb devices : 解决后如下: 然后再进行 adb tcpip 5555 看到如下提示证明设置无 阅读全文
posted @ 2020-01-30 20:49 不带R的墨菲特 阅读(348) 评论(0) 推荐(0) 编辑
摘要:连接语法: $ adb connect ip:port 断开连接: $ adb disconnect ip:port 可能遇到问题:unable to connect to 192.168.199.248:5555: Connection refused 解决办法(设置监听端口): su 切换roo 阅读全文
posted @ 2020-01-30 18:28 不带R的墨菲特 阅读(418) 评论(0) 推荐(0) 编辑
摘要:adb命令 logcat日志抓取 一.logcat抓log方法:adb logcat命令,可以加条件过滤1.安装SDK(参考android sdk环境安装)2.使用数据线链接手机,在手机助手的sdcard中建立一个1.log的文件或在抓日志时直接导出到电脑位置3.程序运行cmd,进入到含有adb.e 阅读全文
posted @ 2020-01-30 18:12 不带R的墨菲特 阅读(1970) 评论(0) 推荐(0) 编辑
摘要:Monkey结果输出 1.保存在pc中 adb shell monkey [option] <count> >d:\monkey.txt 2.保存在手机中 adb shell monkey [option] <count> >/mnt/sdcard/monkey.txt 3.标准流与错误流分开保存 阅读全文
posted @ 2020-01-30 18:02 不带R的墨菲特 阅读(254) 评论(0) 推荐(0) 编辑
摘要:adb shell pm list packages -3 |grep neteas* monkey -h usage: monkey [-p ALLOWED_PACKAGE [-p ALLOWED_PACKAGE] ...] [-c MAIN_CATEGORY [-c MAIN_CATEGORY] 阅读全文
posted @ 2020-01-30 16:15 不带R的墨菲特 阅读(779) 评论(0) 推荐(0) 编辑
摘要:linux: adb shell ps |grep netease 杀进程: adb shell kill [PID] //杀死进程 C:\Users\chenquan>adb shell psUSER PID PPID VSIZE RSS WCHAN PC NAMEroot 1 0 428 240 阅读全文
posted @ 2020-01-29 22:29 不带R的墨菲特 阅读(2899) 评论(0) 推荐(0) 编辑
摘要:C:\Users\chenquan>tasklist | findstr 4720Thunder.exe 4720 Console 1 3,456 K C:\Users\chenquan>netstat -ano |findstr 8080 TCP 192.168.0.106:57185 59.36 阅读全文
posted @ 2020-01-29 22:17 不带R的墨菲特 阅读(207) 评论(0) 推荐(0) 编辑
摘要:通过以上两个方法查询到运行的system service后,就可以在dumpsys后面加上service的名字,查看指定的service信息。 // 查看Activity相关信息adb shell dumpsys activity// 查看CPU相关信息adb shell dumpsys cpuin 阅读全文
posted @ 2020-01-29 22:01 不带R的墨菲特 阅读(551) 评论(0) 推荐(0) 编辑
摘要:1.某些APP安装在模拟器时提示“ this probably means that the app contains ARM native code and your Genymotion device cannot run ARM instructions. You should either 阅读全文
posted @ 2020-01-29 21:31 不带R的墨菲特 阅读(1108) 评论(0) 推荐(0) 编辑
摘要:安卓tool: http://tools.android-studio.org/ SDK下载地址:http://dl.google.com/android/android-sdk_r24.4.1-windows.zip 安装:直接双击下一步,默认安装即可。 配置:打开SDK Manager(首次自动 阅读全文
posted @ 2020-01-29 18:53 不带R的墨菲特 阅读(854) 评论(0) 推荐(0) 编辑
摘要:下载:https://www.genymotion.com/download/ 安装前先注册: https://www.runoob.com/w3cnote/android-tutorial-genymotion-install.html 使用官方help 3.0 document:https:// 阅读全文
posted @ 2020-01-28 22:39 不带R的墨菲特 阅读(181) 评论(0) 推荐(0) 编辑
摘要:实例 1 : 使用 update() 方法,第二个参数合并第一个参数 def Merge(dict1, dict2): return(dict2.update(dict1)) 实例 2 : 使用 **,函数将参数以字典的形式导入 def Merge(dict1, dict2): res = {**d 阅读全文
posted @ 2020-01-28 21:59 不带R的墨菲特 阅读(232) 评论(0) 推荐(0) 编辑
摘要:实例 以下实例演示了 walk() 方法的使用: #!/usr/bin/python # -*- coding: UTF-8 -*- import os for root, dirs, files in os.walk(".", topdown=False): for name in files: 阅读全文
posted @ 2020-01-28 21:58 不带R的墨菲特 阅读(174) 评论(0) 推荐(0) 编辑
摘要:import java.util.*;public class EntrySets { public static void main(String[] args) { Map<Object, Object> map = new HashMap<Object, Object>(); map.put( 阅读全文
posted @ 2020-01-25 21:24 不带R的墨菲特 阅读(11990) 评论(0) 推荐(1) 编辑
摘要:import java.util.HashMap; import java.util.Map; public class EntrySets { public static void main(String[] args) { Map<Object, Object> map = new HashMa 阅读全文
posted @ 2020-01-25 20:43 不带R的墨菲特 阅读(860) 评论(0) 推荐(0) 编辑
摘要:import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject ; import com.alibaba.fastjson.JSONPath 阅读全文
posted @ 2020-01-25 19:12 不带R的墨菲特 阅读(699) 评论(0) 推荐(0) 编辑
摘要:1.Thread实现: import java.util.Date; import java.text.SimpleDateFormat; public class MyThread extends Thread{ @Override public void run(){ SimpleDateFor 阅读全文
posted @ 2020-01-23 21:22 不带R的墨菲特 阅读(358) 评论(0) 推荐(0) 编辑
摘要:python实现: 依赖: glob,pydub "Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work"解决办法: ffmpeg官网下载下载 windows 对应的 static 版本。接下来我们把这个 bi 阅读全文
posted @ 2020-01-23 17:44 不带R的墨菲特 阅读(905) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-22 02:18 不带R的墨菲特 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-22 02:09 不带R的墨菲特 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-22 01:54 不带R的墨菲特 阅读(215) 评论(0) 推荐(0) 编辑
摘要:hash槽16384个,0-16383 master1(slave101,slave102) master2 (slave201,slave202) master 3 (slave301,slave302) 阅读全文
posted @ 2020-01-22 01:48 不带R的墨菲特 阅读(99) 评论(0) 推荐(0) 编辑
摘要:二者都表示与运算,同真为真,遇假即假 && 具有短路功能,前面为false后面不在预算直接表达式为false; &还可以用作位运算符,当&操作符两边的表达式不是 boolean 类型时, &表示按位与操作,我们通常使用 0x0f 来与一个整数进行&运算,来获取该整数的最低 4 个 bit 位,例如, 阅读全文
posted @ 2020-01-22 01:20 不带R的墨菲特 阅读(291) 评论(0) 推荐(0) 编辑
摘要:package string;public class MemAddrChange { public static void main(String[] args) { // const 常量区, 堆区 new String() 从const区Copy 一份 String str1 = "hello 阅读全文
posted @ 2020-01-21 23:54 不带R的墨菲特 阅读(640) 评论(0) 推荐(0) 编辑
摘要:apache org doc :http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fundamentals.html#d5e49 依赖: <!-- https://mvnrepository.com/artifact/log4j/ 阅读全文
posted @ 2020-01-21 18:56 不带R的墨菲特 阅读(1044) 评论(0) 推荐(0) 编辑
摘要:1.安装grafana #####gafana过期安装包安装报错 Error unpacking rpm package grafana-5.1.4-1.x86_64error: unpacking of archive failed on file /usr/sbin/grafana-cli;5e 阅读全文
posted @ 2020-01-20 23:53 不带R的墨菲特 阅读(966) 评论(1) 推荐(0) 编辑
摘要:df.lookup() df.query():查询符合某个条件语句的 and or == != < > <= >= ###添加一列的值等于df其中两列的加和 df[colname]=Series ###add row :df.loc[rowname]==series ###分组求和 df.group 阅读全文
posted @ 2020-01-15 15:47 不带R的墨菲特 阅读(440) 评论(0) 推荐(0) 编辑
摘要:https://sourceforge.net/projects/pynmongraph/ github :https://github.com/madmaze/pyNmonAnalyzer nmon sourceforge :https://sourceforge.net/projects/nmo 阅读全文
posted @ 2020-01-12 21:29 不带R的墨菲特 阅读(356) 评论(0) 推荐(0) 编辑
摘要:下载地址:1. Download and install nmon. - for linux platform, you can download form: http://nmon.sourceforge.net. - For AIX platform, you can download form 阅读全文
posted @ 2020-01-12 21:14 不带R的墨菲特 阅读(491) 评论(0) 推荐(0) 编辑
摘要:pip install pyNmonAnalyzer nnmon for linux from sourceforge:https://sourceforge.net/projects/nmon/ github project地址:https://github.com/madmaze/pyNmonA 阅读全文
posted @ 2020-01-12 21:13 不带R的墨菲特 阅读(798) 评论(0) 推荐(0) 编辑
摘要:nmon版本16g的提示 完整的帮助信息:nmon -h 屏幕统计:nmon 数据收集:nmon -f [-s <秒>] [-c <计数>] [-t | -T] 容量计划:nmon -x 互动模式: 阅读“欢迎使用”屏幕,并随时输入:“ h”以获取更多帮助 输入“ q”退出nmon 对于数据收集模式 阅读全文
posted @ 2020-01-12 20:53 不带R的墨菲特 阅读(243) 评论(0) 推荐(0) 编辑
摘要:我们知道nmon是一款轻量级的系统占用极少,监控功能非常强大支持跨平台ARM,centos,ubuntu等等系统的工具下载地:centos7 wget http://sourceforge.net/projects/nmon/files/nmon16e_mpginc.tar.gz 在sourcefo 阅读全文
posted @ 2020-01-12 20:47 不带R的墨菲特 阅读(957) 评论(0) 推荐(0) 编辑
摘要:官网地址:https://openpyxl.readthedocs.io/en/stable/charts/line.html#id1 openpyxl+pandas # coding=utf-8 import pandas as pd import time from openpyxl impor 阅读全文
posted @ 2020-01-12 17:22 不带R的墨菲特 阅读(2108) 评论(1) 推荐(0) 编辑
摘要:下载地址:http://nmon.sourceforge.net/pmwiki.php?n=Site.Nmonchart chart安装包:http://sourceforge.net/projects/nmon/files/nmonchart39.tar 语法: nmonchart <nmon文件 阅读全文
posted @ 2020-01-12 15:54 不带R的墨菲特 阅读(985) 评论(0) 推荐(0) 编辑
摘要:系统版本红帽7.7: [root@hostuser1 nmon_permon]# cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core)[root@hostuser1 nmon_permon]# uname -a Linux host 阅读全文
posted @ 2020-01-12 15:13 不带R的墨菲特 阅读(399) 评论(0) 推荐(0) 编辑
摘要:设计思路:通过jmeter5.1压测获取cpu,Mem,Network的压测指标数据利用pandas+openpyxl进行数据可视化: 涉及添加jar包:下载地址:https://files.cnblogs.com/files/SunshineKimi/Permon_jars.zip lib 添加插 阅读全文
posted @ 2020-01-11 01:43 不带R的墨菲特 阅读(620) 评论(0) 推荐(0) 编辑
摘要:环境准备: 安装jmeter,JDK: wget https://archive.apache.org/dist/jmeter/binaries/apache-jmeter-5.1.tgz cd /usr/local tar -zxvf apache-jmeter-5.1.tgz 配置环境变量: v 阅读全文
posted @ 2020-01-10 19:16 不带R的墨菲特 阅读(1020) 评论(0) 推荐(0) 编辑
摘要:查看zk 注册服务:在zk bin 下执行 sh zkCli.sh 计入客户端shell命令行 查看zk注册服务:ls / 或者递归查看 ls -s / 列出的为注册服务。 查询服务节点的信息: get /zookeeper/config zk 服务管理: 创建节点: 临时节点退出失效的创建:cre 阅读全文
posted @ 2020-01-05 14:24 不带R的墨菲特 阅读(1741) 评论(0) 推荐(0) 编辑
摘要:安装包下载地址:http://mirror.bit.edu.cn/apache/zookeeper,记住要下载那个bin的不要下tar.gz包不然即使你安装了也会报错误: 找不到或无法加载主类org.apache.zookeeper.server.quorum.QuorumPeerMain,你安装了 阅读全文
posted @ 2020-01-04 22:27 不带R的墨菲特 阅读(507) 评论(0) 推荐(0) 编辑
摘要:app切换root ubuntu: sudo su - app sudo su - root centos : sudo su ############ root 切换app sudo su - app 阅读全文
posted @ 2020-01-03 18:33 不带R的墨菲特 阅读(768) 评论(0) 推荐(0) 编辑
摘要:docker 查看所有容器 docker ps -a docker 查看所有running 容器: docker ps docker 停止全部容器: docker stop $(docker ps -aq) docker 批量删除所有容器: docker rm $(docker ps -aq) do 阅读全文
posted @ 2020-01-03 18:28 不带R的墨菲特 阅读(213) 评论(0) 推荐(0) 编辑
摘要:批量根据服务名称查询进程id然后批量杀sudo ps -ef|grep java | awk '{print $2}'|sudo xargs kill -9sudo ps -ef|grep python |awk '{print $2}'|sudo xargs kill -9sudo ps -ef| 阅读全文
posted @ 2020-01-03 18:13 不带R的墨菲特 阅读(152) 评论(0) 推荐(0) 编辑
摘要:查询安装的yum源rpm -qa | grep -i mysql 使用yum remove卸载 yum remove 刚才过滤出来的包一个个来剩下卸载不了使用rpm -e --nodeps: rpm -e --nodeps mysql-community-libs-5.7.22-1.el7.x86_ 阅读全文
posted @ 2020-01-03 17:50 不带R的墨菲特 阅读(285) 评论(0) 推荐(0) 编辑
摘要:#安装git yum -y install git #下载wondershaper git clone https://github.com/magnific0/wondershaper.git 第二种安装依赖以及工具: yum install epel-release -y yum install 阅读全文
posted @ 2020-01-02 10:54 不带R的墨菲特 阅读(1337) 评论(0) 推荐(0) 编辑
摘要:python主流绘图工具:matplotlib ,seaborn,pandas ,openpyxl ,xslwriter openpyxl :首先说下这个官网的demo,看的有点懵,没有具体说明多个图在一个excel引用不通ws Rererence 只是简单的一个deepcopy 用的一点懵逼,反正 阅读全文
posted @ 2020-01-02 10:43 不带R的墨菲特 阅读(2904) 评论(0) 推荐(0) 编辑

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