Skip to content

Instantly share code, notes, and snippets.

@da8
da8 / install-keepass2-on-Kubuntu-20.04-LTS.txt
Created January 12, 2022 13:18
install keepass2 on Kubuntu 20.04 LTS
sudo add-apt-repository ppa:jtaylor/keepass
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install keepass2 -y
keepass2 --version
Gtk-WARNING
cli:44125): Gtk-WARNING **: 14:47:11.864: Unable to locate theme engine in module_path: "adwaita",
KeePass 2.45
Copyright © 2003-2020 Dominik Reichl
--> ignored it!
@da8
da8 / remove-firefox-on-kubuntu-20.04-lts.txt
Created January 12, 2022 13:11
remove FireFox on Kubuntu 20.04 LTS
sudo apt-get purge firefox
@da8
da8 / update-graphics-driver-on-kubuntu-20.04-lts.txt
Last active January 12, 2022 13:19
update graphics driver on Kubuntu 20.04 LTS
list all drivers
sudo ubuntu-drivers devices
install the recommended one
sudo apt-get install nvidia-driver-470
@da8
da8 / install-chrome-on-kubuntu-20.04-lts.txt
Last active January 12, 2022 13:20
install Chrome on Kubuntu 20.04 LTS
sudo apt update
sudo apt upgrade
wget --version
cd
cd Downloads
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
@da8
da8 / install-slack-on-kubuntu-20.04-lts.txt
Last active January 12, 2022 13:20
install Slack on Kubuntu 20.04 LTS
sudo snap install slack --classic
console.clear();
var urls = document.querySelectorAll('a.icon-menu');
console.log('element count a.icon-menu: ' + urls.length);
for (url in urls) {
console.log (urls[url].href);
}
console.clear();
function saveData(blob, fileName)
{
var a = document.createElement("a");
document.body.appendChild(a);
a.style = "display: none";
var url = window.URL.createObjectURL(blob);
a.href = url;