Skip to content

Instantly share code, notes, and snippets.

@da8
da8 / installing-LibreOffice-on-Ubuntu-via-standard-repository,-PPA-repository-and-snap.txt
Created January 18, 2022 10:05
installing LibreOffice on Ubuntu via standard repository, PPA repository and snap
Installing LibreOffice on Ubuntu from the standard repository
sudo apt update
sudo apt install libreoffice
libreoffice --version
Installing LibreOffice on Ubuntu from PPA repository
sudo add-apt-repository ppa:libreoffice
sudo apt update
sudo apt install libreoffice
libreoffice --version
@da8
da8 / install-windows-10-in-virtualbox-on-kubuntu-20.04-lts.txt
Created January 17, 2022 17:48
install Windows 10 in VirtualBox on Kubuntu 20.04 LTS
sudo apt install virtualbox
download Windows 10 ISO using a Windows 10 machine and copy it to linux machine
create VM using VirtualBox GUI
install Oracle VM VirtualBox Guest Addtions in Windows 10
@da8
da8 / how-to-use-ubuntu-disk-usage-analyzer-(baobab)-on-kubuntu-20.04-lts.txt
Created January 17, 2022 17:26
how to use ubuntu disk usage analyzer (Baobab) on Kubuntu 20.04 LTS
sudo apt-get install baobab
run baobab from GUI or console
@da8
da8 / compress-a-folder-on-google-cloud-platform.txt
Last active January 17, 2022 14:20
compress a folder on Google Cloud Platform
open a cloud shell (top right of the page)
gsutil cp -r gs://your-bucket .
zip -r your-bucket.zip your-bucket
gsutil cp your-bucket.zip gs://your-bucket
@da8
da8 / installing-cloud-sdk-on-debian-ubuntu.txt
Last active June 23, 2023 14:05
Installing Cloud SDK (Debian/Ubuntu)
sudo apt update
sudo apt upgrade
sudo apt install apt-transport-https ca-certificates gnupg
sudo snap install curl
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
sudo apt update
sudo apt upgrade
sudo apt install google-cloud-sdk
sudo gcloud init
@da8
da8 / set-up-ssh-access-to-gitlab.txt
Created January 13, 2022 13:00
set up ssh access to gitlab
create config file in ~/.ssh/config with the following content
Host gitlab.com
User git
Hostname gitlab.com
IdentityFile ~/.ssh/id_rsa_private_ssh_key_of_the_user
TCPKeepAlive yes
IdentitiesOnly yes
install git
sudo apt update
sudo apt upgrade
sudo apt install git
git --version
different levels of configuration
project: Project configs are only available for the current project and stored in .git/config in the project's directory.
global: Global configs are available for all projects for the current user and stored in ~/.gitconfig.
system: System configs are available for all the users/projects and stored in /etc/gitconfig.
@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
@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 / install-visual-studio-code.txt
Created January 12, 2022 13:29
install visual studio code
sudo snap install --classic code