Install theme gohugo
Install theme gohugo:
# cd themes; git clone git@github.com:dillonzq/LoveIt.git; cd -
git submodule add git@github.com:dillonzq/LoveIt.git themes/LoveItTry new theme:
hugo server -t LoveItSet theme LoveIt:
# cd themes; git clone git@github.com:dillonzq/LoveIt.git; cd -
git submodule add git@github.com:dillonzq/LoveIt.git themes/LoveItTry new theme:
hugo server -t LoveItSet theme LoveIt:
Tested on: Ubuntu 22.04
libvirt:You should install libvirt
sudo apt install vagrant
sudo vagrant plugin install vagrant-libvirtYou can run
export VAGRANT_DEFAULT_PROVIDER=libvirtto choose default driver.
Get ubuntu image and init Vagrantfile:
vagrant box add generic/ubuntu2004 --provider=libvirt
vagrant box add generic/ubuntu2204 --provider=libvirt
vagrant box list
vagrant box remove generic/ubuntu2204
vagrant init generic/ubuntu2004Change setting and run:
Tested on: Ubuntu 22.04
Get current network config:
nmcli con show
nmcli connection show --activeWe musn’t use wireless interface? I’ve spend a lot of time to find solution, but wireless bridge always doesn’t work.
This approach also doesn’t work:# To bridge wifi interface you may use iw tool to enable 4addr likewise: # iw dev <wifiInterface> set 4addr on # brctl addif <bridgename> <wifiInterface> can't add <wifiInterface> to bridge <bridgename>: Operation not supported # iw dev <wifiInterface> set 4addr on # brctl addif <bridgename> <wifiInterface> Now it should work. You can show bridges using: # brctl show
Tested on: Ubuntu 22.04
openvpn3 client
openvpn Free | No time limit, no credit card
Community Resources
Create vpn server anywhere, I created on Hetzner. And make A-record to ip address. For example ovpn.dodcaf.ru A 5.161.48.201.
Install openvpn:
sudo apt update \
&& sudo apt install -y openvpn easy-rsaEasyRSA:
mlocate:apt install mlocatesudo updatedbAnd find some file:
locate just-file-name.txt
locate or-part-of-file-namExample:
Install package to save file context into clipboard buffers:
sudo apt install xselTo save in the primary (to paste: Shift + Insert, xsel -po):
cat /etc/hosts | xsel -ipTo save in the secondary (to paste: xsel -so)