自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 explanition of “margin is insufficient“

【代码】explanition of “margin is insufficient“

2023-08-12 18:35:30 149 1

原创 linux locate 查找文件

updatedb。

2023-08-10 10:35:55 72 1

原创 量化准备工作

tmux rename-session -t 重命名session。tmux kill-session -t 关闭session。tmux attach -t 进入session。tmux switch -t 切换session。按下Ctrl+d或者显式输入exit命令,就可以退出 Tmux 窗口。

2023-07-15 21:34:14 66 1

原创 杀线程代码

import threadingimport inspectimport ctypesthread = {'id':0,'kill':0}def stop(tid): tid = ctypes.c_long(tid) if not inspect.isclass(SystemExit): exctype = type(SystemExit) res = ctypes.pythonapi.PyThreadState_SetAsyncExc(tid, ct.

2021-10-03 22:29:30 887

原创 linux 下安装使用tmux

安装 ncurses-develyum -y install ncurses-devel安装 libevent-devyum -y install libevent-devel安装 git yum install git获取tmux 的源码 git clone https://github.com/tmux/tmux.git进入目录cd tmux安装yum installautomake执行sh autogen.sh编译并安装tmux./configur...

2021-09-25 23:17:58 185

转载 Linux 升级 Python 至 3.x

简述CentOS 7 中默认安装了 Python,版本比较低(2.7.5),为了使用新版 3.x,需要对旧版本进行升级。由于很多基本的命令、软件包都依赖旧版本,比如:yum。所以,在更新 Python 时,建议不要删除旧版本(新旧版本可以共存)。简述 查看 Python 版本号 下载新版本 解压缩 安装配置 编译 安装 验证 设置 3x 为默认版本 配置 yum查看 Python 版本号当 Linux 上安装 Python 后(默认安装),只需要输入简单的命令,

2021-09-03 16:42:02 248

原创 python生成13位或16位时间戳以及反向解析时间戳的实例

直接上代码 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37

2021-08-20 16:32:37 1154

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除