<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[seaker_的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/seaker_</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; seaker_]]></copyright><item><title><![CDATA[Ubuntu安装python环境的问题]]></title><link>https://blog.csdn.net/seaker_/article/details/122588712</link><guid>https://blog.csdn.net/seaker_/article/details/122588712</guid><author>seaker_</author><pubDate>Wed, 19 Jan 2022 20:03:39 +0800</pubDate><description><![CDATA[Ubuntu安装python环境的问题
https://www.studyjava.cn/post/1180
https://www.jb51.net/article/179878.htm
异常问题：
root@aaa:/data/data/python/logs# tail -f watch_stdout.log 
    from torchvision import datasets
  File "/usr/local/python3/lib/python3.8/site-packages/torc]]></description><category></category></item><item><title><![CDATA[sh脚本执行:No such file or directory]]></title><link>https://blog.csdn.net/seaker_/article/details/119931741</link><guid>https://blog.csdn.net/seaker_/article/details/119931741</guid><author>seaker_</author><pubDate>Thu, 26 Aug 2021 15:02:42 +0800</pubDate><description><![CDATA[sh脚本执行:No such file or directory
问题：在window上编写的脚本放到linux上执行时遇到 No such file or directory的问题
原因：是因为系统编码的原因
解决方法：用nodepad++编辑器修改编码格式，打开文件&gt;编辑&gt;文档格式转换&gt;转换为Unix(LF)

...]]></description><category></category></item><item><title><![CDATA[OSI七层模型]]></title><link>https://blog.csdn.net/seaker_/article/details/118470114</link><guid>https://blog.csdn.net/seaker_/article/details/118470114</guid><author>seaker_</author><pubDate>Mon, 05 Jul 2021 00:10:30 +0800</pubDate><description><![CDATA[这几篇文章写的非常好
https://blog.csdn.net/taotongning/article/details/81352985
https://www.cnblogs.com/awkflf11/p/9190309.html
https://blog.csdn.net/a369189453/article/details/81193661

]]></description><category></category></item><item><title><![CDATA[Monkey源码分析]]></title><link>https://blog.csdn.net/seaker_/article/details/118470049</link><guid>https://blog.csdn.net/seaker_/article/details/118470049</guid><author>seaker_</author><pubDate>Mon, 05 Jul 2021 00:07:15 +0800</pubDate><description><![CDATA[monkey源码地址
Monkey启动的主流程

在main函数中调用了run方法
处理命令行选项（把外部传入的参数进行初始化处理）
加载包黑名单或白名单(如果指定)
如果没有从外部传-s参数，随机因子默认为0，就会在此处初始化，获取当前的时间戳为随机因子数
检查所有系统接口是否都可用（检查ActivityManager，IWindowManager，IPackageManager）
创建随机数生成器（注:传入的随机因子数一样的时候，每次的随机数出现的顺序也就是一样的，所以这里其实是一个伪随机数生成器）
根]]></description><category></category></item><item><title><![CDATA[Monkey启动原理]]></title><link>https://blog.csdn.net/seaker_/article/details/118470023</link><guid>https://blog.csdn.net/seaker_/article/details/118470023</guid><author>seaker_</author><pubDate>Mon, 05 Jul 2021 00:05:12 +0800</pubDate><description><![CDATA[monkey这个命令也是一个shell脚本，它是在我们的目标android设备的“/system/bin/monkey”,其实这是一个android上面java程序启动的标准流程.
    # /system/bin/monkey下的启动代码
	# Script to start "monkey" on the device, which has a very rudimentary
	# shell.
	#
	base=/system
	export CLASSPATH=$base/framework/m]]></description><category></category></item><item><title><![CDATA[Synchronized使用及其实现原理]]></title><link>https://blog.csdn.net/seaker_/article/details/118469571</link><guid>https://blog.csdn.net/seaker_/article/details/118469571</guid><author>seaker_</author><pubDate>Sun, 04 Jul 2021 23:24:19 +0800</pubDate><description><![CDATA[一、Synchronized的基本使用
Synchronized是Java中解决并发问题的一种最常用的方法，也是最简单的一种方法。Synchronized的作用主要有三个：（1）确保线程互斥的访问同步代码（2）保证共享变量的修改能够及时可见（3）有效解决重排序问题。从语法上讲，Synchronized总共有三种用法：
（1）修饰普通方法
（2）修饰静态方法
（3）修饰代码块
接下来我就通过几个例子程序来说明一下这三种使用方式（为了便于比较，三段代码除了Synchronized的使用方式不同以外，其他基本保持]]></description><category></category></item><item><title><![CDATA[Mysql脏读、脏写、可重复读、幻读的理解]]></title><link>https://blog.csdn.net/seaker_/article/details/118448010</link><guid>https://blog.csdn.net/seaker_/article/details/118448010</guid><author>seaker_</author><pubDate>Sun, 04 Jul 2021 00:56:07 +0800</pubDate><description><![CDATA[原文链接
关于相关术语的专业解释，请自行百度了解，本文皆本人自己结合参考书和自己的理解所做的阐述，如有不严谨之处，还请多多指教。
基础概念
数据库事务有四种基本特性，叫ACID，它们分别是：Atomicity-原子性，Consistency-一致性，Isolation-隔离性，Durability-持久性。


1、原子性（Atomicity）：事务开始后所有操作，要么全部做完，要么全部不做，不可能停滞在中间环节。事务执行过程中出错，会回滚到事务开始前的状态，所有的操作就像没有发生一样。也就是说事务是一个不]]></description><category></category></item><item><title><![CDATA[Mysql的优化]]></title><link>https://blog.csdn.net/seaker_/article/details/118447980</link><guid>https://blog.csdn.net/seaker_/article/details/118447980</guid><author>seaker_</author><pubDate>Sun, 04 Jul 2021 00:40:54 +0800</pubDate><description><![CDATA[一条SQL语句执行得很慢的原因有哪些？
MySQL高性能优化规范建议
MySQL大表优化方案
一条SQL语句在MySQL中如何执行的

]]></description><category></category></item><item><title><![CDATA[mysql中的约束]]></title><link>https://blog.csdn.net/seaker_/article/details/118447935</link><guid>https://blog.csdn.net/seaker_/article/details/118447935</guid><author>seaker_</author><pubDate>Sun, 04 Jul 2021 00:39:51 +0800</pubDate><description><![CDATA[约束，从这个词就能看出来，就是对表中的一些字段进行限制，在建表的时候(或者建表之后)用一些关键字对字段进行约束限制。
首先创建两个表，一个用户表，一个订单的表，这两个表会用到mysql中基本上所有的约束。

#建一个用户表
CREATE TABLE `user` (
  `id` int(11)  NOT NULL AUTO_INCREMENT,
  `username` varchar(32) UNIQUE NOT NULL COMMENT '用户名称',
  `remarks` varchar(100.]]></description><category></category></item><item><title><![CDATA[Mysql中的索引]]></title><link>https://blog.csdn.net/seaker_/article/details/118447866</link><guid>https://blog.csdn.net/seaker_/article/details/118447866</guid><author>seaker_</author><pubDate>Sun, 04 Jul 2021 00:37:14 +0800</pubDate><description><![CDATA[索引是什么
索引就是为了加快数据的查找速度而存在的东西。打个比方，你要根据某个字段找表中的一条数据，如果这个字段没有索引的话会去遍历整个表直到找到为止，如果这个字段有了索引，那么这个字段会通过一定的方法进行存储，好让查询该字段上的信息时，能够快速找到对应的数据，而不必在遍历整个表。
索引的分类
注意：索引是在存储引擎中实现的，也就是说不同的存储引擎，会使用不同的索引
MyISAM和InnoDB存储引擎：只支持BTREE索引， 也就是说默认使用BTREE，不能够更换MEMORY/HEAP存储引擎：支持HASH]]></description><category></category></item><item><title><![CDATA[Ubuntu误修改sudoers导致无法使用sudo的解决办法]]></title><link>https://blog.csdn.net/seaker_/article/details/118447726</link><guid>https://blog.csdn.net/seaker_/article/details/118447726</guid><author>seaker_</author><pubDate>Sun, 04 Jul 2021 00:32:11 +0800</pubDate><description><![CDATA[原文地址
我们在使用ubuntu时，经常会使用sudo命令，但是使用ubuntu用户登录，使用sudo命令时，经常会要求输入密码，为了方便，我们可能会修改root用户下 /etc/sudoers 文件，使sudo命令不需要输入密码，这个时候就不可避免的会输入错误，导致sudo命令无法使用，出现类似如下错误
	&gt;&gt;&gt; /etc/sudoers: syntax error near line 31 &lt;&lt;&lt;
	sudo: parse error in /etc/sudoers ]]></description><category></category></item><item><title><![CDATA[Ubuntu下jenkins执行python出现找不到module]]></title><link>https://blog.csdn.net/seaker_/article/details/118447633</link><guid>https://blog.csdn.net/seaker_/article/details/118447633</guid><author>seaker_</author><pubDate>Sun, 04 Jul 2021 00:29:34 +0800</pubDate><description><![CDATA[工作环境

系统版本：ubuntu18
java版本：jdk1.8
python版本：python3.6
jenkins版本：jenkins2.190.3
jenkins安装方法：apt-get安装

问题点
在ubuntu下用的jenkins，所有需要的module已经是预先安装好了，在任务中执行python3脚本时报找不到module错误，报错log如下：

问题分析
把当前目录添加到系统环境变量中(无效)
因为之前在windows上也遇到过类似的问题，大概是因为python环境变量的问题，解决方法就是]]></description><category></category></item><item><title><![CDATA[adb获取设备音量值]]></title><link>https://blog.csdn.net/seaker_/article/details/118447049</link><guid>https://blog.csdn.net/seaker_/article/details/118447049</guid><author>seaker_</author><pubDate>Sun, 04 Jul 2021 00:09:34 +0800</pubDate><description><![CDATA[通过adb命令获取设备中各种音量值的大小
可以通过settings list system 获取系统中各种值的大小
#通过过滤获取音量相关的值
&gt;adb shell
&gt; settings list system | grep volume
 
volume_alarm=6
volume_bluetooth_sco=7
volume_music=5
volume_music_headphone=4
volume_music_headset=4
volume_music_speaker=10
vol]]></description><category></category></item><item><title><![CDATA[Appium重复安装 appium-uiautomator2-server-debug-androidTest.apk 和 appium-uiautomator2-server.apke问题]]></title><link>https://blog.csdn.net/seaker_/article/details/85007122</link><guid>https://blog.csdn.net/seaker_/article/details/85007122</guid><author>seaker_</author><pubDate>Sat, 19 Jun 2021 12:07:38 +0800</pubDate><description><![CDATA[ios真机调试出现的一些问题]]></description><category></category></item><item><title><![CDATA[＜转载＞adb shell 监控手机cpu使用率]]></title><link>https://blog.csdn.net/seaker_/article/details/114332074</link><guid>https://blog.csdn.net/seaker_/article/details/114332074</guid><author>seaker_</author><pubDate>Wed, 03 Mar 2021 20:00:26 +0800</pubDate><description><![CDATA[转载

        
                
                    最近在做Android monitor ,利用adb shell 在pc端监测手机，从网上看的资料总结下，备忘。 
 
1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adb shell dumpsys cpuinfo 得到每个进程使用cpu的详细信息 
2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adb shell top –n 1 | grep ]]></description><category></category></item><item><title><![CDATA[adb-用logcat命令查看相应的app的log]]></title><link>https://blog.csdn.net/seaker_/article/details/111827816</link><guid>https://blog.csdn.net/seaker_/article/details/111827816</guid><author>seaker_</author><pubDate>Sun, 27 Dec 2020 22:58:12 +0800</pubDate><description><![CDATA[常规的使用方法：

Android官网提供的logcat的使用方法：https://developer.android.google.cn/studio/debug/am-logcat

AndroidStudio查看Logcat日志：

正常的android调试的时候我们都可以通过AndroidStudio的Logcat工具直接查看我们对应包名的log，还可以直接设置过滤关键字过滤log。



通过logcat直接查看：

有些特殊的情况下的时候，我们没有办法用AndroidStudio去查看日志，只能]]></description><category></category></item><item><title><![CDATA[Jmeter4.0 JSON Extractor 提取json中的值]]></title><link>https://blog.csdn.net/seaker_/article/details/103168114</link><guid>https://blog.csdn.net/seaker_/article/details/103168114</guid><author>seaker_</author><pubDate>Wed, 20 Nov 2019 18:08:15 +0800</pubDate><description><![CDATA[1.JSON Extractor的取值规则和字符含义

namesofcreatedvariables ：接收值的变量名

jsonpath：json path表达式

$表示响应的根对象。取子对象或对象的属性用. 取数组里的对象用[]，数组索引从0开始
	[0]表示取第一个，[*]表示取所有的
matchno：0随机；n取第几个匹配值；-1匹配所有，后续引用用 变量名_N 取第N...]]></description><category></category></item><item><title><![CDATA[Jmeter4.0  CSV Data Set Config（CSV数据文件设置）]]></title><link>https://blog.csdn.net/seaker_/article/details/96289160</link><guid>https://blog.csdn.net/seaker_/article/details/96289160</guid><author>seaker_</author><pubDate>Wed, 17 Jul 2019 11:51:53 +0800</pubDate><description><![CDATA[一. 添加CSV Data Set Config



1.文件名：csv文件的路径

2.文件编码：一般用UTF-8

3.变量名称：可以在此处设置变量名称，也可以在csv文件中设置(一般在csv文件的首行设置)

(更多细节可以参考:https://www.cnblogs.com/imyalost/p/6229355.html)



二.写csv文件



第一行为变量名称，从第二行开始的...]]></description><category></category></item><item><title><![CDATA[Jmeter4.0 JDBC Connection Configuration （java连接MySQL数据库配置和使用）]]></title><link>https://blog.csdn.net/seaker_/article/details/96139274</link><guid>https://blog.csdn.net/seaker_/article/details/96139274</guid><author>seaker_</author><pubDate>Tue, 16 Jul 2019 15:49:03 +0800</pubDate><description><![CDATA[注：这里以MySQL为例一.首先确保有mysql的包,在目录下apache-jmeter-4.0\lib\ext查找下有没有这个包(mysql-connector-java-5.1.22-bin.jar)，如果没有就下载一个，复制到这个目录下。



二.创建JDBC Connection Configuration



具体的配置：

variable Name for created p...]]></description><category></category></item><item><title><![CDATA[django视频教程]]></title><link>https://blog.csdn.net/seaker_/article/details/82907653</link><guid>https://blog.csdn.net/seaker_/article/details/82907653</guid><author>seaker_</author><pubDate>Wed, 03 Jul 2019 17:39:58 +0800</pubDate><description><![CDATA[先说清楚是 django1.9.8+python2.7的视频教程，但是视频最后有django2和python3的适配，

所以我觉得不太影响我们的学习，这套视频质量还是可以的

如果需要的请留qq邮箱


有一个配套视频的学习博客：https://www.jianshu.com/p/1c9b57ad0c1c

django报错的解决方案：https://blog.csdn.net/lovechr...]]></description><category></category></item></channel></rss>