From f92241cc90d60010be995ec9dbbcd9b774af5b09 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 15 Jan 2021 13:46:39 +0800 Subject: update --- alias | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'alias') diff --git a/alias b/alias index a6a37da..4326681 100644 --- a/alias +++ b/alias @@ -214,7 +214,7 @@ alias debug='./gradlew app:installDebug && adb shell am start -n com.geothings.g alias adb_default='adb shell dumpsys package domain-preferred-apps' alias adb_list='adb shell dumpsys package d' alias rmcache='rm -rf ~/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-jdk7/*' -alias adb_last_screenshot='DIR=/sdcard/Screenshots/; adb pull $DIR/`adb shell ls -t $DIR | head -1` ~/Desktop' +alias adb_last_screenshot='DIR=/sdcard/Pictures/Screenshots/; adb pull $DIR/`adb shell ls -t $DIR | head -1` ~/Desktop' alias adb_last_camera='DIR=/sdcard/DCIM/Camera; adb pull $DIR/`adb shell ls -t $DIR | head -1` ~/Desktop' adb_push() { adb push $1 /sdcard/Download @@ -330,6 +330,11 @@ tt() { ( cd ~/.task && git add --all && git commit -m 'update' && git push origin & ) &>/dev/null } +# upload +up() { + curl -F"file=@${1}" http://0x0.st +} + # tmp alias and='cd ~/git/geoBingAn.Android' alias cdo='cd ~/git/openmaptiles' -- cgit v1.2.3-70-g09d2