Merge branch 'master' of github.com:harish2704/dotFiles

# Conflicts:
#	home/.local/Apps/daily-utils/bin/hari-tools.sh
This commit is contained in:
2023-10-22 17:25:29 +05:30
6 changed files with 43 additions and 8 deletions
@@ -21,6 +21,16 @@ podmanStart(){
echo export DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock
}
# dockerLinux [imagename=ubuntu:22.40] . Quick shell inside given linux container
dockerLinux(){
set -x
local cid=$(($RANDOM%20))
local name=linux_$cid
local image=${1:-ubuntu:22.04}
docker run -d --name $name $image sh -c "trap : TERM INT; sleep infinity & wait"
docker exec -it $name sh
}
# ts / tsx to js/jsx
tstojs(){
set -x