1,启动shell,启动 screen 2,找到要运行的程序,启动 python3 main.py 3,关闭shell 4,查看正在运行的screen,screen -r 5,如何关闭screen pgrep screen // grep -u $USER -x...
Category: Tools
screen 命令
退出shell后,怎么让服务器继续工作,开启一个screen。 ps screen #启动 screen -ls # 列出所有screen会话 screen -r session_name 返回到某个screen screen -X -S sessionname...
正则表达式删除所有行某字符开始之前或者之后所有字符
删除S 之后的所有字符用:s.*$ 删除S 之前的所有字符用:^.*s
VPS直播
1,更新系统 centos yam update -y && yam install vim screen -y ubuntu debian apt update -y && apt install vim screen...
影视二次剪辑除重
1,抽帧: 间隔5-6秒抽一帧,(在没有字幕的地方) 2,补帧 视频长度不超过3分钟 在2段接口的地方补帧 要补帧3-4次 补帧的图片自己拍(3-6秒) 不透明度调整为:3 每次补帧的前后加转场,叠化(闪白,闪黑) ...
AWS CIL 同步S3文件
aws configure AWS Access Key ID: AWS Secret Access Key: Default region name: use-west-2 Default output format: text/json ...
pdf切割成多个
1. 按 590 页分割:在 `split_pdf` 函数中,使用 `while` 循环按 590 页一份对文件进行分割,直到处理完所有页面。 2. 检查文件大小:对于每个分割出的子文件,将其保存为临时文件 `temp.pdf`,并检查其大小是否超过 180MB。 3....
Chatgpt 写代码视频处理
请用Python写一段代码,实现以下视频编辑功能: 1,有3个文件夹,分别是Audio, MoiveH, MoiveS, 2,需要调用网易云音乐API, ...
连接Ubuntu远程桌面系统Desktop
1. 创建服务器和SSH连接 2. 添加新的管理员用户 sudo -i adduser newuser //newuser 为新添加的用户名 密码:xxx sudo usermod -a -G newuser //给新用户添加权限 3. 安装 Ubuntu...
Thinking-Claude Prompt
https://github.com/richards199999/Thinking-Claude/tree/main <anthropic_thinking_protocol> For EVERY SINGLE interaction with the human,...
jellyfin 多媒体服务器(linux音乐服务器)
登陆地址 http://158.101.21.175:8096/web/#/home 123 https://jellyfin.org/ 服务开启的端口:8096 ...
linux系统的torrent下载工具 – aria2c
aria2c sudo apt install aria2 aria2c --version 1,aria2c xxx.torrent 2,aria2c magnet:?xt=urn:btih:6e4bbc37b8cb24388188e971(磁力地址) ...