- 博客(4)
- 收藏
- 关注
原创 Go 在编译时报 A connection attempt failed because the connected party did not properly respond after...
dial tcp 172.217.163.49:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2022-07-11 14:31:54
22389
4
原创 软件包管理工具snap的安装及常用命令
snap是一种全新的软件包管理方式,它类似一个容器拥有一个应用程序所有的文件和库,各个应用程序之间完全独立。
2022-06-30 18:01:43
5406
原创 查看MySQL数据库大小的几种方法
1、进入information_schema 数据库(存放了其他的数据库的信息)use information_schema;mysql> use information_schemaReading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -A2、查询所有数据的大小:select con
2022-03-03 10:57:46
13365
原创 装饰器的简单使用方法
计算函数执行时间的装饰器(简洁版)import timeimport datetimedef timer(func): def wrapper(*args, **kwargs): start_time = time.time() res = func(*args, **kwargs) end_time = time.time() execution_time = (end_time - start_time)*1000
2022-01-19 23:49:43
617
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人