摘要: 因python3等原因,导致创建虚拟环境命令无法直接使用 下载virtualenv pip3 install virtualenv 创建文件夹 mkdir myproject cd myproject virtualenv venv 激活虚拟环境 virtualenv testenv 上述两行命令无 阅读全文
posted @ 2022-07-09 16:52 _南归 阅读(47) 评论(0) 推荐(0)
摘要: https://blog.51cto.com/u_15403315/4288651 阅读全文
posted @ 2022-06-11 17:49 _南归 阅读(30) 评论(0) 推荐(0)
摘要: 转自http://www.360doc.com/content/21/0903/17/14775740_993954752.shtml 开始 这里我使用服务器的系统为Ubuntu18,不同系统的命令可能有所不同 准备 1.服务器(Linux或Windows Server2019及以上系统)或家用电脑 阅读全文
posted @ 2022-01-28 19:15 _南归 阅读(2225) 评论(1) 推荐(0)
摘要: https://segmentfault.com/a/1190000017955152 阅读全文
posted @ 2021-06-25 16:19 _南归 阅读(28) 评论(0) 推荐(0)
摘要: from selenium import webdriver option = webdriver.ChromeOptions() # 防止崩溃 option.add_argument("""--no-sandbox""") # 谷歌文档提到需要加上这个属性来规避bug option.add_arg 阅读全文
posted @ 2021-06-19 09:41 _南归 阅读(475) 评论(0) 推荐(0)
摘要: 指令 解释 OD汇编指令 NOP 无操作 PUSH 将数据压如堆栈中 POP 出栈(与PUSH相反) PUSHAD 所有通用寄存器的内容按一定顺序压入到堆栈中,相当于 ’PUSH EAX,PUSH ECX,PUSH EDX,PUSH EBX,PUSH ESP,PUSH EBP,PUSH ESI, P 阅读全文
posted @ 2021-06-11 21:19 _南归 阅读(1015) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/35f6cd03560c 阅读全文
posted @ 2021-06-03 16:10 _南归 阅读(29) 评论(0) 推荐(0)
摘要: import time def timer(f): # *定义装饰器 def inner(*args, **kwargs): start = time.time() func = f(*args, **kwargs) end = time.time() print("装饰器函数", end - st 阅读全文
posted @ 2021-04-24 20:02 _南归 阅读(60) 评论(0) 推荐(0)
摘要: http://tiaocaoer.com/blog/centos_codeserver.html export PASSWORD="pasword" && ./code-server --port 8888 --host 0.0.0.0 阅读全文
posted @ 2021-04-18 11:49 _南归 阅读(576) 评论(0) 推荐(0)
摘要: nohup nohup [command] >> /root/other.out & 将command命令运行后的输出文件重定向到/root/other.out,并将程序挂起,关闭ssh后程序不断 screen 先下载screen,yum -y install screen 创建新的终端界面 scr 阅读全文
posted @ 2021-04-08 17:14 _南归 阅读(64) 评论(0) 推荐(0)