Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 916 Bytes

10072022.md

File metadata and controls

24 lines (19 loc) · 916 Bytes
  1. Some useful command for testing purpose:
$ find ~/hello-world -type f -regex "._env._\.js" | tail -n1 | xargs cat
$ dirname $(find . -type f -iname "*.toml") | xargs code
$ find . -type f -iname "*.toml" | xargs dirname | xargs code
$ dirs=`dirname $(find . -type f -iname "*.toml")`; for dir in $dirs; do code $dir; done
$ find . -type f ! -empty -iname "\*env.toml" | xargs grep -i "v[12]"
  1. Increase Ubuntu-host partition storage ran on esxi without restart VM: (increase virtual-disk to extend incompliance partition -> increase inside VMs)
# Step1: https://www.linuxtechi.com/extend-xfs-root-partition-without-lvm-linux/
# Step2: Rescan SCSI device:
ls /sys/class/scsi_device/
echo 1 >/sys/class/scsi_device/0\:0\:0\:0/device/rescan
  1. Install PyPi library guarded by a proxy:
& C:/Python27/python.exe -m pip --proxy socks5://10.10.10.10:8080 install -U autopep8