diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-04-17 11:41:31 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-04-17 11:41:31 +0800 |
commit | 39c7965c3ef0a122ad6c0bb3365e9a9918807897 (patch) | |
tree | aac258837b8cae78a8d547ae09a1fdea30d35189 /alias | |
parent | 0ba215bd0f5f7dd160783e3782d40cbfc249a0fd (diff) |
Update
Diffstat (limited to 'alias')
-rw-r--r-- | alias | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -281,17 +281,9 @@ alias dc='docker-compose' | |||
281 | alias dis='docker images' | 281 | alias dis='docker images' |
282 | alias dps='docker ps' | 282 | alias dps='docker ps' |
283 | alias dpsa='docker ps -a' | 283 | alias dpsa='docker ps -a' |
284 | alias drm='docker rm `docker ps -aq`' | 284 | docker.sh() { docker run --rm -it --entrypoint /bin/sh $@; } |
285 | <<<<<<< HEAD | 285 | docker.bash() { docker run --rm -it --entrypoint /bin/bash $@; } |
286 | alias dr='docker run --rm -it' | ||
287 | drsh() { docker run --rm -it --entrypoint /bin/sh $@; } | ||
288 | drbash() { docker run --rm -it --entrypoint /bin/bash $@; } | ||
289 | docker.tags() { curl -s -S "https://registry.hub.docker.com/v2/repositories/$@/tags/" | jq '.results[]["name"]' | sort; } | 286 | docker.tags() { curl -s -S "https://registry.hub.docker.com/v2/repositories/$@/tags/" | jq '.results[]["name"]' | sort; } |
290 | alias drsh='docker run --rm -it --entrypoint /bin/sh $@' | ||
291 | alias drbash='docker run --rm -it --entrypoint /bin/bash $@' | ||
292 | docker.tags() { | ||
293 | curl -s -S "https://registry.hub.docker.com/v2/repositories/$@/tags/" | jq '.results[]["name"]' | sort | ||
294 | } | ||
295 | 287 | ||
296 | # Android | 288 | # Android |
297 | alias debug='./gradlew app:installDebug && adb shell am start -n com.geothings.geobingan/.MainActivity_' | 289 | alias debug='./gradlew app:installDebug && adb shell am start -n com.geothings.geobingan/.MainActivity_' |