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"
3
3
alias bbb=" find . -name \*.py | xargs $CODE_ROOT /env/black/bin/black -l 79 -S"
4
4
alias bui=' pip uninstall -y torch && python setup.py develop'
5
5
6
+ alias conda=/home/rec/miniconda3/bin/conda
6
7
alias ctest=' pushd ~/code/test && git add . && gi ; popd'
7
8
8
9
# 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() {
84
84
-H " Accept: application/vnd.github+json" \
85
85
-H " Authorization: Bearer $GIT_TOKEN " \
86
86
-H " X-GitHub-Api-Version: 2022-11-28" \
87
- $GIT_API_ROOT /$1 \ ? per_page=100
87
+ $GIT_API_ROOT /$1 ? per_page=2
88
88
}
89
89
90
90
load-log () {
Original file line number Diff line number Diff line change 7
7
IFS=. read -ra hosts <<< $( hostname )
8
8
host=$hosts
9
9
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
16
11
17
12
bash_root=$CODE_ROOT /dotfiles/bash
18
13
bash_file=$bash_root /init-${host} .sh
You can’t perform that action at this time.
0 commit comments