diff options
Diffstat (limited to 'alias')
-rw-r--r-- | alias | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -219,6 +219,8 @@ alias ptt='ssh bbsu@ptt.cc' | |||
219 | alias topo='ssh topo.tw' | 219 | alias topo='ssh topo.tw' |
220 | alias geothings-test='ssh geothings@test.geothings.tw' | 220 | alias geothings-test='ssh geothings@test.geothings.tw' |
221 | alias demo='ssh -i ~/.ssh/ec2-nlsc-tileservice.pem ubuntu@demo.geosurvey.io' | 221 | alias demo='ssh -i ~/.ssh/ec2-nlsc-tileservice.pem ubuntu@demo.geosurvey.io' |
222 | alias demo2='ssh -i ~/.ssh/ec2-nlsc-tileservice.pem ubuntu@dev.geosurvey.io' | ||
223 | alias cool='ssh pham@10.0.0.2' | ||
222 | 224 | ||
223 | # Android | 225 | # Android |
224 | alias debug='./gradlew app:installDebug && adb shell am start -n com.geothings.geobingan/.MainActivity_' | 226 | alias debug='./gradlew app:installDebug && adb shell am start -n com.geothings.geobingan/.MainActivity_' |
@@ -367,7 +369,6 @@ alias cdtrash='cd ~/.local/share/Trash' | |||
367 | trash() { | 369 | trash() { |
368 | mv $@ ~/.local/share/Trash | 370 | mv $@ ~/.local/share/Trash |
369 | } | 371 | } |
370 | transfer(){ if [ $# -eq 0 ];then echo "No arguments specified.\nUsage:\n transfer <file|directory>\n ... | transfer <file_name>">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "https://topo.tw/up/$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "https://topo.tw/up/$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "https://topo.tw/up/$file_name"|tee /dev/null;fi;} | ||
371 | 372 | ||
372 | # task | 373 | # task |
373 | alias tk='task' | 374 | alias tk='task' |