Tools

Common tools

shell

  • kill through name
    ps  aux | grep "xxx.py"|grep -v grep|awk '{print $2}'|xargs kill -9
    

python

  • pip tsinghua source
    pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy
    

git

  • clone LLM
    git lfs install
    git lfs clone <repo_URL>
    
    # breakpoint continuation
    git lfs fetch --all --resume <repo_URL>
    
    # clone without large files
    git lfs clone --skip-smudge <repo_URL>
    

regex

ping