TCP数据包分析 https://github.com/han-guang-xue/flutter/blob/master/Network/wireshark%E6%95%B0%E6%8D%AE%E5%8C%85%E5%88%86%E6%9E%90/README.md ...
分类:
其他 时间:
2020-12-24 21:24:28
收藏:
0 评论:
0 赞:
0 阅读:
29
启动项目时,新添加的Gson依赖jar包出现错误,通过异常信息查询资料,猜测可能是Gson的版本问题,导致无法创建gsonBuilder,自己原来的版本是2.2.4,于是换成了https://blog.csdn.net/email_jade/article/details/72886991?utm_ ...
分类:
其他 时间:
2020-12-24 21:24:16
收藏:
0 评论:
0 赞:
0 阅读:
31
环境搭建 1.安装pywinauto,在CMD中直接输入:pip install pywinauto 2.安装Lackey,在CMD中直接输入:pip install lackey 3.如果受网络影响,lackey频频安装失败,直接下载lackey的安装包,将文件放在本地目录:C:\Users\Ad ...
分类:
编程语言 时间:
2020-12-24 21:24:02
收藏:
0 评论:
0 赞:
0 阅读:
70
JWT(即json web token),大家先看下面这张图 大家可以观察到,jwt String就是生成后的jwt字符集,其中有两个 "."(注意:jwt校验会对"."个数校验,多或少都会校验失败),被"."分割的就是jwt的三个构成部分,即:header、payload、sign。 接下来,给大 ...
分类:
其他 时间:
2020-12-24 21:23:51
收藏:
0 评论:
0 赞:
0 阅读:
40
###昨日补充: ####d.update():更新,无就添加,有就覆盖 d={"name":"egon","age":18,"gender":"xxxx"} res = d.update({"gender":"male"}) print(d)>>>>>{'name': 'egon', 'age': ...
分类:
其他 时间:
2020-12-24 21:23:36
收藏:
0 评论:
0 赞:
0 阅读:
64
gVisor gVisor is a user-space kernel, written in Go, that implements a substantial portion of the Linux system surface. gVisor uses linux OS, but the ...
分类:
其他 时间:
2020-12-24 21:23:22
收藏:
0 评论:
0 赞:
0 阅读:
49
前言 最近在看 python GC 这块,主要参考了武老师的是视频和博客,自己再总结一下。 我的 python 源码版本 3.9.0。 知识点 python GC 主要分为引用计数和分带的标记清除两种 GC。 引用计数会一直占用系统资源,需要持续监控对象的引用 标记清除有 STW(stop the ...
分类:
编程语言 时间:
2020-12-24 21:22:56
收藏:
0 评论:
0 赞:
0 阅读:
26
方法1: update mysql.user set authentication_string=password('xxx') where user='root' and Host = 'localhost'; 方法2: mysql> alter user 'root'@'localhost' i ...
分类:
数据库技术 时间:
2020-12-24 21:22:42
收藏:
0 评论:
0 赞:
0 阅读:
31
方法一 系统: 1)AllowAny:允许所有用户,校验方法直接返回True 2)IsAuthenticated:只允许登录用户 必须request.user和request.user.is_authenticated都通过 3)IsAuthenticatedOrReadOnly:游客只读,登录用户 ...
分类:
其他 时间:
2020-12-24 21:22:32
收藏:
0 评论:
0 赞:
0 阅读:
43
在Java中,使用new关键字和Class.forName("a.class.Name").newInstance都可以创建对象,它们又有什么区别呢? 1、类的加载方式不同。 在执行Class.forName("a.class.Name")时,JVM会在classapth中去找对应的类并加载,这时J ...
分类:
Windows开发 时间:
2020-12-24 21:22:18
收藏:
0 评论:
0 赞:
0 阅读:
34
//20201224 今天学习java类的反射机制的时候,讲到了forName()方法会加载类,在此记录一下细节 forName调用时发生了什么 会加载类,如果类中有静态代码块,则会执行其内代码,但不会执行无参构造内部代码 举例(类代码&调用forName代码): //类 package testP ...
分类:
其他 时间:
2020-12-24 21:22:03
收藏:
0 评论:
0 赞:
0 阅读:
39
详情页后台 路由:source/urls.py 12 router.register('free', views.CourseViewSet, 'free') # 课程router.register('chapters', views.ChapterViewSet, 'chapter') # 章节 ...
分类:
其他 时间:
2020-12-24 21:21:51
收藏:
0 评论:
0 赞:
0 阅读:
27
1、 history /export /histsize=’nom’ /histfile=~/.nash_history /hisfilesize=’nom’ /!# /!! 调用历史命令中的一次命令 /string(字符) 2、 tab 命令、路径补全 3、 ~加目录 { }命令展开行 4、 al ...
分类:
其他 时间:
2020-12-24 21:21:41
收藏:
0 评论:
0 赞:
0 阅读:
34
一、RPM 安装包 1、格式:软件名—版本号—释出号.体系号.rpm 2、来源:1、光盘镜像文件 2、阿里镜像网站(如:华为、163、中科大) 3、httpd (如:apache.org) 4、sourceforge.net 3、rpm命令 rpm –V 验证rpm软件包 rpm –i 安装 rpm ...
分类:
其他 时间:
2020-12-24 21:21:31
收藏:
0 评论:
0 赞:
0 阅读:
27
可以使用 typeof 操作符来检测变量的数据类型。 typeof "John" // 返回 stringtypeof 3.14 // 返回 numbertypeof false // 返回 booleantypeof [1,2,3,4] // 返回 objecttypeof {name:'John ...
分类:
其他 时间:
2020-12-24 21:21:19
收藏:
0 评论:
0 赞:
0 阅读:
31
1、文件 File 【1】文件是用于数据存储的单位 【2】文件通常用来长期存储数据 【3】文件中的数据是以字节为单位进行顺序存储的 2、文件的操作流程 ① 打开文件 ② 读/写文件 ③ 关闭文件 注: 任何的操作系统,一个应用程序同时打开文件的数量有最大数限制 3、文件的打开函数 open(file ...
分类:
编程语言 时间:
2020-12-24 21:21:05
收藏:
0 评论:
0 赞:
0 阅读:
34
已物流集散数字可视化平台为例 地址:https://www.makeapie.com/editor.html?c=xi0oVHZhbd 一:确保本地已经下载了echarts文件 ,示例中我是通过cdn引入的,具体情况根据项目走,可以打包下载引入等方式使用echarts <script crossor ...
分类:
其他 时间:
2020-12-24 21:20:48
收藏:
0 评论:
0 赞:
0 阅读:
379
方法二:用Html控件HtmlInputFile,上传到网站根目录。 Test.aspx关键代码: <form id="form1" runat="server"> <input type="file" id="file1" runat="server" /> <asp:Button ID="But ...
分类:
Web开发 时间:
2020-12-24 21:20:36
收藏:
0 评论:
0 赞:
0 阅读:
26
一、linux命名规则 1、接口:串口 SATA、SAS sda1(a为磁盘、1为分区) 并口: IDE hda1(a为磁盘、1为分区) 2、主分区(p)最多可有四个 扩展分区(e)最多可有1个 逻辑分区(l)基于扩展分区,扩展分区默认从5开始 3、分区模式 1+N 2+N 3+N 4 (数字代表分 ...
分类:
其他 时间:
2020-12-24 21:20:21
收藏:
0 评论:
0 赞:
0 阅读:
38
list=[1,4,3,6,0,33] for j in range(0,len(list)-1): for i in range(0,len(list)-1): if list[i] > list[i+1]: list[i],list[i+1]=list[i+1],list[i] print('l ...
分类:
编程语言 时间:
2020-12-24 21:20:08
收藏:
0 评论:
0 赞:
0 阅读:
34