sudo apt-get install nodejs-legacy
sudo apt-get install npm
sudo npm install -g azure-cli
azure login
azure login -u
azure login -u "
azure vm image list | grep "Linux"
azure vm create ${vm_name} ${image_name} -u ${azureuser} -p "${password}" -z "Small" -e -l "West US"
azure vm disk list
for disk in $(azure vm disk list | grep LABEL | awk '{print $2}')
do
azure vm disk delete --blob-delete "$disk"
done
azure storage account create ${storage_account} --label ${storage_account} --location 'West US'
export AZURE_STORAGE_ACCOUNT=$account_name
export AZURE_STORAGE_ACCESS_KEY=$account_key
azure vm image create ${image_name} --os linux -l 'West Europe' --blob-url https:${storage_account}.blob.core.windows.net:443/vms/${image_name}.vhd -v
azure storage blob sas create -a ${storage_account} --container ${container} --blob ${filename} --permissions r
curl -v \
-H "$x_ms_date_h" \
-H "$x_ms_version_h" \
-H "$authorization_header" \
"$URL"
svgo test.svg
svgo test.svg test.min.svg
svgo -f path/to/folder/with/svg/files
svgo -f path/to/input/folder -o path/to/output/folder
cat test.svg | svgo -i - -o test.min.svg
svgo test.svg -o -
svgo --enable=plugin_name
svgo --show-plugins
腾图小抄 SCWY.net v0.03 小抄561条 自2022-01-02访问317694次