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
fs是File System的缩写,表示文件系统。 对于任何一个为服务器端服务的语言或者框架通常都会有自己的文件系统: 因为服务器需要将各种数据、文件等放置到不同的地方; 比如用户数据可能大多数是放到数据库中的; 比如某些配置文件或者用户资源(图片、音视频)都是以文件的形式存在于操作系统上的; No ...
分类:
其他好文 时间:
2021-06-06 19:08:30
阅读次数:
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
#使用Markdown格式 最近的事 课程考试 程序比赛 四级 回家的事 考研还是就业(好慌) 考驾照 该不该买计算机网络的书 Linux的学习 public static void main(String[] args){ SyStem.out.println("Hello,World"); } ...
分类:
其他好文 时间:
2021-06-05 18:37:20
阅读次数:
0
定时任务简介 什么是定时任务 maintains crontab files for individual users 为单一用户维护crontab文件 为什么要使用定时任务 使用计划任务可以周期性的执行一些命令、脚本等,比如批量服务、备份脚本 Linux系统的定时任务分类 1、linux系统自身定 ...
分类:
系统相关 时间:
2021-06-05 18:27:27
阅读次数:
0