• Marco Nie
  • you are the company you keep...
  • 首页
  • 关于我

在 Git 中缓存 GitHub 密码信息-credential

  • 2019-10-28
  • Linux, software
  • 暂无评论

git 有两种方式访问服务器:https ssh

以下介绍两种方式进行一次设置,以后可以直接操作无需密码。

阅读全文


python 常用语法收集

  • 2019-10-17
  • python
  • 暂无评论

在我使用过程中遇到的常用语法,这里做一些记录。

阅读全文


Linux 使用 split 命令分割文件

  • 2019-10-17
  • Linux
  • 暂无评论

split {options} {file_name} {prefix}

阅读全文


Linux 后台程序/端口占用查看及关闭

  • 2019-10-16
  • Linux
  • 暂无评论

ps

查看当前所有后台进程:

ps -aux

2019-10-16T08:08:10.png

查看某个脚本进程:

ps -aux | grep "test.sh"

kill

关闭进程,通过ps命令查看进程号PID,然后执行:

kill %PID

lsof

查看当前端口是否被某个进程占用:

lsof -i:8000

Windows 查看端口占用参考:https://niekun.net/index.php/archives/922.html


使用 telegram bot 做一个视频下载器

  • 2019-10-16
  • Linux, python, web
  • 暂无评论

需要环境:
Linux
python3
python-telegram-bot
yt-dlp
instaloader

阅读全文


  • 前一页
  • 1
  • ...
  • 64
  • 65
  • 66
  • 67
  • 68
  • ...
  • 79
  • 后一页
  • © 2025 Marco Nie
  • RSS
  • Powered by Typecho