# Note ## Clean VM Size ```bash= sudo dd if=/dev/zero of=/free bs=2M; sudo rm -f /free cd "C:\Program Files\Oracle\VirtualBox" VBoxManage.exe modifyhd "D:\18.04\ubuntu.vdi" --compact VBoxManage.exe modifyhd "D:\Ubuntu\Ubuntu.vdi" --compact ``` ## MD5 ```= certUtil -hashfile C:\TEMP\MyDataFile.img MD5 ``` ## NXP LSDK ```bash= export CROSS_COMPILE="aarch64-linux-gnu-"; export ARCH="arm64" git checkout -b linux-4.19 LSDK-19.09-update-311219-V4.19 flex-builder -c linux:linux_4.19:master -a arm64 make -j4 drivers/net/dsa/mv88e6xxx/mv88e6xxx.ko cp /home/build/linux/linux/arm64/LS/output/master/drivers/net/dsa/mv88e6xxx/mv88e6xxx.ko /lib/modules/4.14.83/kernel/drivers/net/dsa/mv88e6xxx/;sync ethtool -s lan1 speed 1000 duplex full autoneg off #1000M mii-tool -A 100baseTx lan1 #100M mii-tool -A 10baseT lan1 #10M ``` ### Python ```python= 多個參數: import os paramA = "paramA" paramB = "paramB" os.system("echo 'python call shell var: %s %s'" % (paramA,paramB)) ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up