sudo pacman -S virt-manager virt-viewer qemu qemu-arch-extra \
edk2-ovmf vde2 ebtables dnsmasq bridge-utils openbsd-netcat libguestfs
# cd into the backup | |
tar -xvf DATABASE.tar | |
cd DATABASE/databases | |
gunzip -k PostgreSQL.sql.gz | |
psql DATABASE_URL < Postgresql.sql |
CPU NODE SOCKET CORE L1d:L1i:L2:L3 ONLINE MAXMHZ MINMHZ MHZ | |
0 0 0 0 0:0:0:0 | |
64 0 0 0 0:0:0:0 | |
1 0 0 1 1:1:1:0 | |
65 0 0 1 1:1:1:0 | |
2 0 0 2 2:2:2:0 | |
66 0 0 2 2:2:2:0 |
SSL Certificate Option | |
There are many ways to obtain an SSL certificate. An easy and cheap way is to use LetsEncrypt. Setting up LetsEncrypt for a server that uses port 80 for a webserver is extremely easy. Since the Coturn server does use port 80, a manual request with a DNS challenge is easiest: | |
Install CertBot | |
sudo snap install core; sudo snap refresh core | |
sudo snap install --classic certbot | |
sudo ln -s /snap/bin/certbot /usr/bin/certbot | |
Request the certificate |
This gist is still a draft. At the moment it is not functional: see basecamp/kamal#257
Kamal was designed with 1 service = 1 droplet/VPS in mind.
But I'm cheap and I want to be able to deploy multiple demo/poc apps apps on my $20/month dedicated server.
What the hell, I'll even host my private container registry on it.
I just used the nvidia-uninstall. | |
sudo nvidia-uninstall | |
In my case I got the driver directly from the nvidia website. |
Both methods below are almost equivalent, it just depends on which file you want to edit. I'd recommend .bashrc
myself, as it doesn't involve editing a local copy of a system file.
If you experience any problems with this, please comment below so that it can be fixed.
~/.bashrc
with this command:gedit ~/.bashrc
step 1 | |
sudo nano /etc/hosts | |
add line | |
127.0.1.1 lvh.me | |
https://console.cloud.google.com/apis/credentials | |
Set an application restriction | |
Application restrictions limit an API key’s usage to specific websites, IP addresses, Android applications, or iOS applications. You can set one application restriction per key. |
The password is stored in windows credential manager and needs to be updated. Open command prompt and enter the following command to view the list of stored passwords: | |
rundll32.exe keymgr.dll,KRShowKeyMgr | |
Scroll down in the list until you spot the git-related entries. Click it and edit the correct password. | |
Voilà | |
https://stackoverflow.com/a/42830319 |
<domain type='kvm'> | |
<name>win11-real</name> | |
<uuid>45768371-b871-4937-b7c2-60ed835011de</uuid> | |
<metadata> | |
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> | |
<libosinfo:os id="http://microsoft.com/win/10"/> | |
</libosinfo:libosinfo> | |
</metadata> | |
<memory unit='KiB'>33554432</memory> | |
<currentMemory unit='KiB'>33554432</currentMemory> |