Skip to content

Instantly share code, notes, and snippets.

@aliaksandr-master
Last active October 23, 2023 18:34
Show Gist options
  • Save aliaksandr-master/ffd09e4488fa95c1694907d20b2d105d to your computer and use it in GitHub Desktop.
Save aliaksandr-master/ffd09e4488fa95c1694907d20b2d105d to your computer and use it in GitHub Desktop.
#
# OS:
# - Xubuntu 23.04
#
# Hardware:
# - INTEL
# - NVIDIA
#
# THEMES:
# BaZik https://www.xfce-look.org/p/1394325/ (Blue, Orange)
# Add alias for full update
sudo sh -c "echo \"alias aptp='sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt install -f && sudo apt full-upgrade && sudo apt autoremove -y && sudo apt autoclean -y'\" >> /etc/bash.bashrc"
# run full update
aptp
# BASIC
sudo apt install -y ntp unrar cpufrequtils linux-firmware cputool autofs apt-transport-https ca-certificates wget curl software-properties-common preload
# NVIDIA DRIVERS
sudo apt install -y nvidia-driver-495
# BASIC DEV
# unavailable: ctop
sudo apt install -y socat telnet tmux ssh httpie libssl-dev net-tools openssl whereami
sudo apt install -y gcc cmake cmake-qt-gui make build-essential llvm valgrind gdb
sudo apt install -y git gitk kdiff3
sudo apt install -y htop btop atop nvtop iftop nmon neofetch smem bat tldr nethogs
sudo apt install -y gnome-system-log gpick kruler gnuplot imagemagick lm-sensors psensor
sudo apt install -y libpq-dev
sudo snap install postman
sudo snap install dbeaver-ce
sudo snap install beekeeper-studio
sudo snap install code --classic
# embedded dev
sudo snap install arduino
sudo apt install gcc-arm-linux-gnueabi g++-arm-linux-gnueabi
sudo apt install crossbuild-essential-arm64
sudo apt install libc6-dbg
# BENCHMARK
sudo apt install -y cpu-x hardinfo mbw sysbench stress-ng stress s-tui
# specific for ХFCE4
sudo apt install -y xfce4-sensors-plugin xfce4-cpufreq-plugin xfce4-genmon-plugin gnome-disk-utility gnome-system-monitor gnome-screenshot guake
sudo apt install -y xfce4-*-plugin
sudo apt install -y gnome-calculator ristretto
# specific for KUBUNTU
sudo apt install -y yakuake kate partitionmanager
# MEDIA & OFFICE
sudo apt install -y mousepad gedit chromium-browser firefox firefox-locale-en
sudo apt install -y vlc vlc-* ttf-* libreoffice libreoffice-l10n-ru filezilla gimp
sudo apt install -y pulseeffects ffmpeg audacity obs-studio obs-cli obs-build obs-plugins obs-scene-collection-manager obs-scene-notes-dock obs-transition-table
sudo snap install spotify
sudo snap install chromium
sudo snap install projectlibre
sudo snap install blender --classic
# VIRTUALBOX EXIT FROM THE ROOT !!!!!
sudo apt install -y virtualbox virtualbox-guest-additions-iso virtualbox-ext-pack
sudo usermod -aG vboxusers `whoami`
# CONFIGURE GIT
git config --global user.name "user"
git config --global user.email [email protected]
git config --global core.editor mousepad
git config --global merge.tool kdiff3
git config --global push.default simple
git config --global credential.helper cache
# BASIC SECURITY
sudo apt install -y wireguard resolvconf network-manager-openvpn-gnome network-manager-l2tp network-manager-l2tp-gnome
# REDUCE VULNERABILITIES of SSH
sudo nano /etc/ssh/sshd_conf
# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication no
# Uncomment the second line, and, if needed, change yes to no.
service ssh restart
# RUST
curl https://sh.rustup.rs -sSf | sh
rustup component add clippy
cargo install cargo-edit
cargo install cargo-outdated
cargo install cargo-audit
cargo install cargo-bloat
cargo install diesel_cli --no-default-features --features postgres
cargo install du-dust
cargo install bottom
cargo install evcxr_repl
cargo install evcxr_jupyter
# сd /to/jupyter/project/dir
# evcxr_jupyter --install
# https://rr-project.org/
cd /tmp
wget https://github.com/mozilla/rr/releases/download/5.3.0/rr-5.3.0-Linux-$(uname -m).deb
sudo dpkg -i rr-5.3.0-Linux-$(uname -m).deb
# CROSS PLATFORM COMPILATION
rustup target add x86_64-pc-windows-gnu
sudo apt install -y mingw-w64 libssl-dev
# PYTHON
sudo apt-get install -y libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev
sudo apt-get install -y python3-openssl python3-dev python3-pip
curl https://pyenv.run | bash
echo -e '\nexport PYENV_ROOT="$HOME/.pyenv"\nexport PATH="$PYENV_ROOT/bin:$PATH"\neval "$(pyenv init --path)"\neval "$(pyenv init -)"\n' >> ~/.bashrc
pyenv install 3.8 && pyenv shell 3.8 && pip install --upgrade pip && pip3 install numpy pandas pipenv poetry matplotlib jupyter notebook ipywidgets
pyenv install 3.9 && pyenv shell 3.9 && pip install --upgrade pip && pip3 install numpy pandas pipenv poetry matplotlib jupyter notebook ipywidgets
pyenv install 3.10 && pyenv shell 3.10 && pip install --upgrade pip && pip3 install numpy pandas pipenv poetry matplotlib jupyter notebook ipywidgets
pyenv install 3.11 && pyenv shell 3.11 && pip install --upgrade pip && pip3 install numpy pandas pipenv poetry matplotlib jupyter notebook ipywidgets
pyenv global 3.10
echo -e '\n\nalias note="jupyter-notebook --port 41999 /media/master/big-storage/Notebooks"\n\n' >> .bashrc
# DOCKER
# EXIT ROOT !!!!
#https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88 && sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update && sudo apt-get install -y docker-ce && sudo usermod -aG docker `whoami`
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
sudo systemctl enable docker.service
sudo systemctl enable containerd.service
docker run hello-world
# NVIDIA-DOCKER
sudo curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
sudo curl -s -L https://nvidia.github.io/nvidia-docker/`. /etc/os-release;echo $ID$VERSION_ID`/nvidia-docker.list | tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update && sudo apt-get install -y nvidia-docker2 && sudo pkill -SIGHUP dockerd
# NVIDIA CUDA
sudo apt-get install -y `apt-cache search "nvidia-[0-9]{1,}\s" | grep -E "^nvidia-[0-9]{1,4}" -o | tail -1` nvidia-cuda-toolkit
# Test nvidia-smi with the latest official CUDA image
# docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi
# WINE
sudo apt-get install -y wine-stable wine64 wine64-tools
# nodejs
sudo apt-get install -y npm
sudo chown -R `whoami` /usr/local/
npm i -g n
n lts
# sudo apt-get purge npm nodejs -y
# for i in $(ls /usr/local/n/versions/node/$(ls /usr/local/n/versions/node/ | tail -1)/bin); do echo $i; sudo rm -f "/usr/bin/$i"; sudo ln -s "/usr/local/n/versions/node/$(ls /usr/local/n/versions/node/ | tail -1)/bin/${i}" "/usr/bin/$i"; done
npm i -g node-gyp npm-check-updates webpack gulp yo pm2 static-server eslint less
# node-gyp --python /usr/bin/python3.7
# npm config set python /usr/bin/python3.7
# ANSIBLE
sudo apt-add-repository --yes --update ppa:ansible/ansible
sudo apt-get install -y ansible
# JET BRAINS
sudo snap install clion --classic
sudo snap install pycharm-professional --classic
sudo snap install webstorm --classic
sudo snap install goland --classic
sudo snap install datagrip --classic
#### ADVANCED SECTION ####
# SPEED UP THE BOOT
sudo mousepad /etc/default/grub
# 1. set GRUB_TIMEOUT=2
# 2. set GRUB_CMDLINE_LINUX_DEFAULT=""
sudo update-grub
# READ MORE: https://vitux.com/5-ways-to-speed-up-ubuntu/
# protobuf
# Make sure you grab the latest version
curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip
unzip protoc-3.2.0-linux-x86_64.zip -d protoc3
sudo mv protoc3/bin/* /usr/local/bin/
sudo mv protoc3/include/* /usr/local/include/
sudo chown `whoami` /usr/local/bin/protoc
sudo chown -R `whoami` /usr/local/include/google
# capnp
apt-get install capnproto
# enable hibernate
sudo -s
sudo nano /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
#> Look for
#> [Disable hibernate by default in upower]
#> [Disable hibernate by default in logind]
#> Change the value of "ResultActive=no" to "ResultActive=yes" in both, and then restart your system.
# mongo
sudo apt-get install -y mongodb mongodb-clients mongodb-server mongodb
# SYSPEND = DOESN'T WORK = MUST REVALIDATE
sudo apt-get install -y pm-utils
sudo nano /etc/systemd/logind.conf
### enable:
HandleSuspendKey=suspend
HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend
HandleHibernateKey=suspend
# .NET
# https://www.microsoft.com/net/learn/get-started-with-dotnet-tutorial
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get install -y apt-transport-https
sudo apt-get update
sudo apt-get install -f
sudo apt-get install -y dotnet-sdk-2.1
# SPEEDUP SSD
# add to your disk properties in fstab file
nano /etc/fstab
# add `noatime,nodiratime,discard`
# auto mount drives
# get UUID of disks with command
sudo blkid | grep UUID=
# add lines with examples
sudo mousepad /etc/fstab
# RDP
sudo apt-get install -y krdc openvpn
# GAMES
sudo snap install cncra2yr --edge
#
# OS:
# - Ubuntu 22.04
#
# Hardware:
# - INTEL
# - NVIDIA
#
# Add alias for full update
sudo sh -c "echo \"alias aptp='sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt install -f && sudo apt full-upgrade && sudo apt autoremove -y && sudo apt autoclean -y'\" >> /etc/bash.bashrc"
# run full update
aptp
# BASIC
sudo apt install -y ntp unrar cpufrequtils linux-firmware cputool autofs apt-transport-https ca-certificates wget curl software-properties-common preload
# NVIDIA DRIVERS
sudo apt install -y nvidia-driver-495
# BASIC DEV
sudo apt install -y socat telnet tmux ssh httpie libssl-dev net-tools openssl whereami
sudo apt install -y gcc cmake cmake-qt-gui make build-essential llvm valgrind gdb
sudo apt install -y git gitk kdiff3
sudo apt install -y htop btop atop nvtop iftop nmon neofetch smem bat tldr nethogs
sudo apt install -y gnome-system-log gpick kruler gnuplot imagemagick lm-sensors psensor
sudo apt install -y libpq-dev
sudo snap install postman
sudo snap install dbeaver-ce
sudo snap install beekeeper-studio
sudo snap install code --classic
# embedded dev
sudo snap install arduino
sudo apt install -y gcc-arm-linux-gnueabi g++-arm-linux-gnueabi
sudo apt install -y crossbuild-essential-arm64
sudo apt install -y libc6-dbg
# BENCHMARK
sudo apt install -y cpu-x hardinfo mbw sysbench stress-ng stress s-tui
# specific for ХFCE4
sudo apt install -y xfce4-sensors-plugin xfce4-cpufreq-plugin xfce4-genmon-plugin gnome-disk-utility gnome-system-monitor gnome-screenshot guake
sudo apt install -y xfce4-*-plugin
sudo apt install -y gnome-calculator
# MEDIA & OFFICE
sudo apt install -y mousepad gedit chromium-browser firefox firefox-locale-en
sudo apt install -y vlc vlc-* ttf-* libreoffice libreoffice-l10n-ru filezilla gimp
sudo apt install -y pulseeffects ffmpeg audacity obs-studio obs-cli obs-build obs-plugins obs-scene-collection-manager obs-scene-notes-dock obs-transition-table
sudo snap install spotify
sudo snap install chromium
sudo snap install projectlibre
sudo snap install blender --classic
# VIRTUALBOX EXIT FROM THE ROOT !!!!!
sudo apt install -y virtualbox virtualbox-guest-additions-iso virtualbox-ext-pack
sudo usermod -aG vboxusers `whoami`
# CONFIGURE GIT
git config --global user.name "user"
git config --global user.email [email protected]
git config --global core.editor mousepad
git config --global merge.tool kdiff3
git config --global push.default simple
# BASIC SECURITY
sudo apt install -y wireguard resolvconf network-manager-openvpn-gnome network-manager-l2tp network-manager-l2tp-gnome
# REDUCE VULNERABILITIES of SSH
sudo nano /etc/ssh/sshd_conf
# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication no
# Uncomment the second line, and, if needed, change yes to no.
service ssh restart
# RUST
curl https://sh.rustup.rs -sSf | sh
rustup component add clippy
cargo install cargo-outdated
cargo install cargo-edit
cargo install cargo-audit
cargo install cargo-bloat
cargo install diesel_cli --no-default-features --features postgres
cargo install du-dust
cargo install bottom
# https://rr-project.org/
cd /tmp
wget https://github.com/mozilla/rr/releases/download/5.3.0/rr-5.3.0-Linux-$(uname -m).deb
sudo dpkg -i rr-5.3.0-Linux-$(uname -m).deb
# CROSS PLATFORM COMPILATION
rustup target add x86_64-pc-windows-gnu
sudo apt install -y mingw-w64 libssl-dev
# PYTHON
# sudo apt-get install -y libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev
# sudo apt-get install -y python3-openssl python3-dev python3-pip
curl https://pyenv.run | bash
echo -e '\nexport PYENV_ROOT="$HOME/.pyenv"\nexport PATH="$PYENV_ROOT/bin:$PATH"\neval "$(pyenv init --path)"\neval "$(pyenv init -)"\n' >> ~/.bashrc
pyenv install 3.8
pyenv install 3.9
pyenv install 3.10
pyenv install 3.11
pyenv global 3.10
pyenv which pip3
pyenv which python3
pip3 install --upgrade pip
pip3 install numpy pandas pipenv docker-compose matplotlib jupyter notebook ipywidgets
echo -e '\n\nalias note="jupyter-notebook --port 41999 /media/master/big-storage/Notebooks"\n\n' >> .bashrc
# DOCKER
# EXIT ROOT !!!!
#https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-docker-ce-1
sudo apt-get update && sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88 && sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update && sudo apt-get install -y docker-ce && sudo usermod -aG docker `whoami`
# NVIDIA-DOCKER
sudo curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
sudo curl -s -L https://nvidia.github.io/nvidia-docker/`. /etc/os-release;echo $ID$VERSION_ID`/nvidia-docker.list | tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update && sudo apt-get install -y nvidia-docker2 && sudo pkill -SIGHUP dockerd
# NVIDIA CUDA
sudo apt-get install -y `apt-cache search "nvidia-[0-9]{1,}\s" | grep -E "^nvidia-[0-9]{1,4}" -o | tail -1` nvidia-cuda-toolkit
# Test nvidia-smi with the latest official CUDA image
# docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi
# WINE
sudo apt-get install -y wine-stable wine64 wine64-tools
# nodejs
sudo apt-get install -y npm
sudo chown -R `whoami` /usr/local/
npm i -g n
n lts
# sudo apt-get purge npm nodejs -y
# for i in $(ls /usr/local/n/versions/node/$(ls /usr/local/n/versions/node/ | tail -1)/bin); do echo $i; sudo rm -f "/usr/bin/$i"; sudo ln -s "/usr/local/n/versions/node/$(ls /usr/local/n/versions/node/ | tail -1)/bin/${i}" "/usr/bin/$i"; done
npm i -g node-gyp npm-check-updates webpack gulp yo pm2 static-server eslint less
# node-gyp --python /usr/bin/python3.7
# npm config set python /usr/bin/python3.7
# ANSIBLE
sudo apt-add-repository --yes --update ppa:ansible/ansible
sudo apt-get install -y ansible
# JET BRAINS
sudo snap install clion --classic
sudo snap install pycharm-professional --classic
sudo snap install webstorm --classic
sudo snap install goland --classic
sudo snap install datagrip --classic
#### ADVANCED SECTION ####
# SPEED UP THE BOOT
sudo mousepad /etc/default/grub
# 1. set GRUB_TIMEOUT=2
# 2. set GRUB_CMDLINE_LINUX_DEFAULT=""
sudo update-grub
# READ MORE: https://vitux.com/5-ways-to-speed-up-ubuntu/
# protobuf
# Make sure you grab the latest version
curl -OL https://github.com/google/protobuf/releases/download/v3.2.0/protoc-3.2.0-linux-x86_64.zip
unzip protoc-3.2.0-linux-x86_64.zip -d protoc3
sudo mv protoc3/bin/* /usr/local/bin/
sudo mv protoc3/include/* /usr/local/include/
sudo chown `whoami` /usr/local/bin/protoc
sudo chown -R `whoami` /usr/local/include/google
# capnp
apt-get install capnproto
# enable hibernate
sudo -s
sudo nano /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
#> Look for
#> [Disable hibernate by default in upower]
#> [Disable hibernate by default in logind]
#> Change the value of "ResultActive=no" to "ResultActive=yes" in both, and then restart your system.
# mongo
sudo apt-get install -y mongodb mongodb-clients mongodb-server mongodb
# SYSPEND = DOESN'T WORK = MUST REVALIDATE
sudo apt-get install -y pm-utils
sudo nano /etc/systemd/logind.conf
### enable:
HandleSuspendKey=suspend
HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend
HandleHibernateKey=suspend
# .NET
# https://www.microsoft.com/net/learn/get-started-with-dotnet-tutorial
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get install -y apt-transport-https
sudo apt-get update
sudo apt-get install -f
sudo apt-get install -y dotnet-sdk-2.1
# SPEEDUP SSD
# add to your disk properties in fstab file
sudo mousepad /etc/fstab
# add `noatime,nodiratime,discard`
# auto mount drives
# get UUID of disks with command
sudo blkid | grep UUID=
# add lines with examples
sudo mousepad /etc/fstab
# RDP
sudo apt-get install -y krdc openvpn
# GAMES
sudo snap install cncra2yr --edge
#!/bin/bash
# CONFIGURE
# uncomment in /etc/pacman.conf "ParalleDownloads=5"
# UPGRADE
sudo pacman -Syu
# install .AppImage
sudo pacman -Sy --noconfirm appimagelauncher
# snap
sudo pacman -Sy --noconfirm snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
# basic
# NOT_FOUND: cputool autofs software-properties-common preload cpufrequtils
sudo pacman -Sy --noconfirm ntp unrar linux-firmware ca-certificates wget curl
# BASIC DEV
# NOT_FOUND: telnet ssh libssl-dev whereami cmake-qt-gui build-essential gitk gnome-system-log lm-sensors libpq-dev
sudo pacman -Sy --noconfirm socat tmux httpie net-tools openssl
sudo pacman -Sy --noconfirm gcc cmake make llvm valgrind gdb
sudo pacman -Sy --noconfirm git kdiff3
sudo pacman -Sy --noconfirm htop btop neofetch smem bat tldr nethogs
sudo pacman -Sy --noconfirm gpick kruler gnuplot imagemagick psensor
sudo snap install postman
sudo snap install dbeaver-ce
sudo snap install beekeeper-studio
sudo snap install code --classic
# BENCHMARK
# NOT_FOUND: cpu-x hardinfo mbw stress-ng
sudo pacman -Sy --noconfirm sysbench stress s-tui
# specific for ХFCE4
sudo pacman -Sy --noconfirm xfce4-sensors-plugin xfce4-cpufreq-plugin xfce4-genmon-plugin gnome-disk-utility gnome-system-monitor gnome-screenshot guake
# MEDIA & OFFICE
# NOT_FOUND: chromium-browser firefox-locale-en libreoffice-l10n-ru
# NOT_FOUND: obs-cli obs-build obs-plugins obs-scene-collection-manager obs-scene-notes-dock obs-transition-table
# SKIPPED: pulseeffects vlc-* ttf-*
sudo pacman -Sy --noconfirm mousepad gedit firefox
sudo pacman -Sy --noconfirm libreoffice filezilla gimp vlc
sudo pacman -Sy --noconfirm lffmpeg audacity obs-studio
sudo pacman -Sy --noconfirm ffmpeg audacity obs-studio
sudo snap install spotify
sudo snap install chromium
sudo snap install projectlibre
sudo snap install blender --classic
sudo pacman -Sy --noconfirm calibre
# VIRTUALBOX EXIT FROM THE ROOT !!!!!
sudo pacman -Sy --noconfirm virtualbox virtualbox-guest-additions-iso virtualbox-ext-pack
sudo usermod -aG vboxusers $(whoami)
# BASIC SECURITY
# NOT_FOUND: network-manager-openvpn-gnome network-manager-l2tp network-manager-l2tp-gnome
sudo pacman -Sy --noconfirm wireguard resolvconf
# RUST
curl https://sh.rustup.rs -sSf | sh
cargo install du-dust
# PYTHON
curl https://pyenv.run | bash
echo -e '\nexport PYENV_ROOT="$HOME/.pyenv"\nexport PATH="$PYENV_ROOT/bin:$PATH"\neval "$(pyenv init --path)"\neval "$(pyenv init -)"\n' >> ~/.bashrc
pyenv install 3.8.10
pyenv install 3.10
pyenv install 3.11
pyenv global 3.10
pip3 install --upgrade pip
pip3 install numpy pandas pipenv docker-compose matplotlib jupyter notebook
mkdir -p ~/Notebooks
echo -e '\n\nalias note="jupyter-notebook --port 41999 ~/Notebooks"\n\n' >> .bashrc
# NODE_JS
sudo pacman -Sy nodejs npm
sudo chown $(whoami):$(whoami) -R /usr/lib/node_modules
sudo chown $(whoami):$(whoami) -R /usr/local
npm i-g n
n lts
node --version
npm --version
npm i -g node-gyp npm-check-updates webpack gulp yo pm2 static-server eslint less
# DOCKER
sudo pacman -S docker docker-compose
sudo systemctl start docker.service
sudo systemctl enable docker.service
sudo usermod -aG docker $USER
# install telegram
sudo snap install telegram-desktop
# JET BRAINS
sudo snap install clion --classic
sudo snap install pycharm-professional --classic
sudo snap install webstorm --classic
sudo snap install goland --classic
sudo snap install datagrip --classic
# SPEEDUP SSD
# add to your disk properties in fstab file
nano /etc/fstab
# add `noatime,nodiratime,discard`
brew install pyenv
pyenv init
pyenv install 3.7
pyenv install 3.10
pyenv install 3.11
pyenv install 3.12
pyenv shell 3.7
pip install --upgrade pip
pip install poetry pipenv
pyenv shell 3.10
pip install --upgrade pip
pip install poetry pipenv
pyenv shell 3.11
pip install --upgrade pip
pip install poetry pipenv
pyenv shell 3.12
pip install --upgrade pip
pip install poetry pipenv
AAAAB3NzaC1yc2EAAAADAQABAAABAQDWcce7nwSmIGGnKLMPZSjMdRFyUUpPWj8mzy+TQyVljso5HNBiVaq9lqgdvkZxWpDCq1dSigqHvYPeKreymlbA3gIcXzHaXvZ3FHFScpumEDitH9r5Y01tA8wARX9a3FrdsqMARBvThi3bCWLibhPnekZR1JSR8rtsv8UU74RLLgq46c40SZPoLWQ7SXBeay7geV/MlnFARbUsplt+LUr8XsHck4dNaEtdm9ZlxnpNICGXp8lPnsSR1yCdpVMmuOCLQU1bxmuDZi2LauTDHg54O1ZGDILbdmNlYXSIfP1OmNg8eaw8zOoLyXIl2RTwHh0Aou7olW11ykddDaeO6G2D
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBU16PrwhWe2Qm0FySfIVdyDOXtQsY2ah6IwfgBf0Cq3MC5xFEVkukaZNMws3jD65KRFC6He0QUK1RIHqlSbnAg=
Copy link

ghost commented May 10, 2022

very handy ! thanks a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment