Skip to content

Instantly share code, notes, and snippets.

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;
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);
}
@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
@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 / 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 / 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 / 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 / install-visual-studio-code.txt
Created January 12, 2022 13:29
install visual studio code
sudo snap install --classic code
@da8
da8 / configure-eudoroam-on-Kubuntu-20.04-LTS.txt
Last active January 12, 2022 13:39
configure eudoroam on Kubuntu 20.04 LTS
https://doku.lrz.de/display/PUBLIC/eduroam -> https://cat.eduroam.org/
download the script for the LMU and run it from the console to configure the WLAN access to eduroam (user and password from LMU-Portal needed)
@da8
da8 / create-ssh-key.txt
Created January 12, 2022 14:02
create ssh key
ssh-keygen -t rsa -b 4096 -C "Human readable comment on the purpose of ssh key."
Key saved in file /home/da8/.ssh/id_rsa_additional_naming_information
Passphrase of your choice to keep the key save