Scripting MS VPN client configuration
From this link
Copy PBK file to %userprofile%\AppData\Roaming\Microsoft\Network\Connections\Pbk
.
Then run
1 | Rasdial.exe <VPN profile name> <username> <password> |
From this link
Copy PBK file to %userprofile%\AppData\Roaming\Microsoft\Network\Connections\Pbk
.
Then run
1 | Rasdial.exe <VPN profile name> <username> <password> |
Just copy content of following folder from old Mac to new
1 | ~/Library/Group Containers/UBF8T346G9.Office/Outlook/Outlook 15 Profiles/Main Profile |
1 | label Kali |
Image should be in folder /nfs/kali/live, default name is filesystem.squashfs
1 | apt-get install -y xz-utils openssl gawk file |
默认用户名为:root,默认密码为:MoeClub.org
To enable IPv6
1 | echo "iface enp0s3 inet6 dhcp" >> /etc/network/interfaces |
1 | bash <(curl -fsSL git.io/warp.sh) menu |
1 | bash <(curl -L -s check.unlock.media) |
My system is running overlayfs as root. When I update grub or any kernal related packages, I will encounter following error:
1 | /usr/sbin/grub-probe: error: failed to get canonical path of `overlay'. |
And here is the fix:
1 | cat <<'PATCH' | patch /usr/sbin/grub-mkconfig |
1 | echo 'Defaults env_keep +="GRUB_DEVICE"' > /etc/sudoers.d/keep-grub-device |
1 | export GRUB_DEVICE=/dev/sda5 |
Don’t remember to mount /boot, otherwise the problem will persist.
From this link
Basically just backup and restore these 3 files.
1 | /var/lib/pve-cluster/config.db |
Some pdftk usage example
1 | #!/bin/bash |