原创 adb shell /system/bin/screencap & screenrecord
adb shell /system/bin/screencap -p /sdcard/screenshot.png adb pull /sdcard/screenshot.png d:/screenshot.png adb shel
原创 docker linux/X86 hello Example, build "FROM scratch "
lake@localhost:~/local/test-linux-docker-lake/myhello/build$ gcc -static hello.c -o hello Instead of static link, a ra
原创 docker-compose start/stop container/rm/prune but keep docker image (Example :edgex-objectbox)
For pull/run images from docker-compose, refer to https://blog.csdn.net/hushui/article/details/104369757 docker-compos
原创 git command tips: big files and remove in all branches (搜索大文件並在所有branch刪除 git filter-branch -f !!)
git rev-list --all | xargs -rL1 git ls-tree -r --long | sort -uk3 | sort -rnk4 | head -10 lake@localhost: aosp_git_and
原创 Linux/X86/Docker image-save-load-example-lake
Example image hello: https://blog.csdn.net/hushui/article/details/103459550 ## image save lake@localhost:~/local/ed
原创 awk print logcat remove column
10-22 14:52:57.916 1446 1754 D ORE-APS-BRIDGE: attr: 7007 10-22 14:52:57.916 1446 1754 D ORE-CORE: windowstaski
原创 sed -e 's/\[[^][]*\]//g' 去除字符串中的括號
$ echo " char password[10][18]; struct NetworkVariable netVars[NUM_NETWORK_VARIABLES][2]" |sed -e 's/\[[^][]*\]//g
原创 docker import tar.gz/image run container on linux4.9/ARM A7
root@Debian:~# cat /proc/version Linux version 4.9.118 (lake@lake-Latitude-5491) (gcc version 5.3.1 20160412 (Linaro GC
原创 Qemu4 user mode source build/static for Chroot/ARM rootfs
Refer to https://blog.csdn.net/hushui/article/details/103791704 ### build static link usermode/qemu-aarch64 jhula@Sh
原创 buildroot/make help
Refer to https://buildroot.org/downloads/manual/manual.html lake@localhost:~/aw_t3/aw_t3_grid_3.10-v1.0$ ls -l total 36
原创 FolderTimeUpdate util for Windows
http://www.nirsoft.net/ https://www.nirsoft.net/utils/folder_time_update.html FolderTimeUpdate v1.55 Copyrig
原创 Qemu2.x user mode/Ubuntu18 for Chroot/ARM qemu-user-static/CONFIG_BINFMT_MISC/Ubuntu/ARM/Rootfs
Qemu Mode: System and User For System mode source code build/Qemu4 , refer to Qemu4 build --target-list ARM(bare b
原创 Run arm docker image on X86 through (Docker hub image)/multiarch/qemu-user-static
1. setup binformat with root!! 危險操作 可以使用qemu-static 手工替代 jhula@ShSwDev2:~/local/edgex/test-linux-docker-lake/myhello
原创 Manualy build arm elf docker image from scratch, run on X86 through qemu-arm-static/user mode
1. Build qemu static link user mode Refer to https://blog.csdn.net/hushui/article/details/103806109 lake@localhost:~