import configparser<!--more-->cf = configparser.ConfigParser()cf.read("config.ini", encoding='UTF-8')username=cf.get("user","username") auto=cf.get("a ...
分类:
编程语言 时间:
2021-06-06 19:16:51
阅读次数:
0
推荐博客:https://my.oschina.net/attacker/blog/3038174 bypy模块安装 pip install bypy # python pip包管理 登录 bypy info 通过浏览器visit地址,填入Python客户端授权码 上传 下载 先将大文件 移动到 我 ...
分类:
系统相关 时间:
2021-06-06 19:13:08
阅读次数:
0
shutdown和close都可以用来关闭TCP连接, 那么它们有区别与联系呢? 下面来研究下这个问题: 1. close 关闭连接和套接字. 成功返回0; 失败为-1, errno被设置 #include <unistd.h> int close(int fd); close会把描述符(sockf ...
分类:
系统相关 时间:
2021-06-06 19:09:08
阅读次数:
0
一、简介 cgroups 的全称是control groups,是Linux内核提供的一种可以限制、记录、隔离进程组所使用的物理资源(包括:CPU、memory、IO等),可以对 cpu,内存等资源实现精细化的控制,目前越来越火的轻量级容器 Docker 就使用了 cgroups 提供的资源限制能力 ...
分类:
其他好文 时间:
2021-06-06 19:06:23
阅读次数:
0
1、下载 https://downloads.mysql.com/archives/community/ wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.5.62-linux-glibc2.12-x86_64.tar.g ...
分类:
系统相关 时间:
2021-06-06 18:56:23
阅读次数:
0
Preliminaries Linux Basics Change Password: passwd shutdown: sudo shutdown -h 3 (broadcast to all users in 3 mins) reboot: sudo reboot -r now create a ...
分类:
其他好文 时间:
2021-06-06 18:53:34
阅读次数:
0
官网注册git账号 下载git客户端 下载的比较快不传百度云了,一路安装默认配置即可 配置git git bash here进入git控制台 配置用户名 git config --global user.name "zyn" 配置作者邮箱 git config --global user.email ...
分类:
其他好文 时间:
2021-06-06 18:50:15
阅读次数:
0
1.1、设置Chrome属性Chromen属性,快捷方式标签下,目标后面加上参数 --remote-debugging-port=6001 --user-data-dir="C:\ProgramFiles\Chrome" 1.2、编写代码 from selenium import webdriver ...
分类:
其他好文 时间:
2021-06-06 18:45:41
阅读次数:
0
#使用Markdown格式 最近的事 课程考试 程序比赛 四级 回家的事 考研还是就业(好慌) 考驾照 该不该买计算机网络的书 Linux的学习 public static void main(String[] args){ SyStem.out.println("Hello,World"); } ...
分类:
其他好文 时间:
2021-06-05 18:37:20
阅读次数:
0
访问同一个 URI 时,服务器可以返回不同类型的资源。比如在浏览器中访问 http://www.example.com/user 可以是个网页,也可以是个 JSON 接口,甚至可以是张图片等。 具体返回哪种类型,就需要引入内容协商的机制,以达到返回正确资源类型的目的。 内容协商分为服务器主导(ser ...
分类:
Web程序 时间:
2021-06-05 18:29:14
阅读次数:
0