摘要:
参考: https://cedaei.com/posts/python-poetry-pipx/ 阅读全文
摘要:
复制以下代码到shell的配置文件(如:~/.bashrc 或 ~/.zshrc)中 # specify a directory to git clone gitcs(){ # extract the content in the url to each variables #url="https: 阅读全文
摘要:
If you are using "Take Over Mode" for the first time in your project To begin, open the *.vue, *.ts, *.js, *.tsx, *.jsx file. Then run :CocCommand vol 阅读全文
摘要:
hibernate 休眠 休眠(hibernate)是指把挂起后的内存写入磁盘并完全关机。 步骤 1 创建交换文件 查看休眠需要的空间大小 cat /sys/power/image_size 创建文件 # dd if=/dev/zero of=/swapfile bs=1M count=4096 s 阅读全文
摘要:
复制图标到用户所属目录 $ cp /usr/share/applications/discord.desktop ~/.local/share/applications/ 修改启动命令为其添加代理 [Desktop Entry] Name=Discord StartupWMClass=discord 阅读全文
摘要:
摘自参考 变量命名空间 (无) 函数内: 局部于函数; (无) 老式脚本里: 全局; (无) Vim9 脚本里: 局部于脚本 buffer-variable b: 局部于当前缓冲区。 window-variable w: 局部于当前窗口。 tabpage-variable t: 局部于当前标签页。 阅读全文
摘要:
使用 pip install pkgname -i https://mirrors.aliyun.com/pypi/simple/ 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:https://mirrors.aliyun.com/pypi/simp 阅读全文
摘要:
前提 使用 pyenv 来管理不同版本的 python,可以在不改变系统的情况下更换使用其他 python 版本 安装 pyenv sudo pacman -S pyenv 为 zsh 配置 pyenv 环境 echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/ 阅读全文