File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ alias read_aliases="source ~/code/dotfiles/bash/aliases.sh"
33alias bbb=" find . -name \*.py | xargs $CODE_ROOT /env/black/bin/black -l 79 -S"
44alias bui=' pip uninstall -y torch && python setup.py develop'
55
6+ alias conda=/home/rec/miniconda3/bin/conda
67alias ctest=' pushd ~/code/test && git add . && gi ; popd'
78
89# alias ca='conda activate pytorch-dev$PYTORCH_BUILD_SUFFIX'
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ _git_api() {
8484 -H " Accept: application/vnd.github+json" \
8585 -H " Authorization: Bearer $GIT_TOKEN " \
8686 -H " X-GitHub-Api-Version: 2022-11-28" \
87- $GIT_API_ROOT /$1 \ ? per_page=100
87+ $GIT_API_ROOT /$1 ? per_page=2
8888}
8989
9090load-log () {
Original file line number Diff line number Diff line change 77IFS=. read -ra hosts <<< $( hostname )
88host=$hosts
99
10- if [[ $host == " qgpu3" ]]; then
11- export CODE_ROOT=~ /code
12- else
13- export CODE_ROOT=/code
14- host=bolt
15- fi
10+ export CODE_ROOT=~ /code
1611
1712bash_root=$CODE_ROOT /dotfiles/bash
1813bash_file=$bash_root /init-${host} .sh
You can’t perform that action at this time.
0 commit comments