Skip to content

Instantly share code, notes, and snippets.

View aleksseven's full-sized avatar
👁️
Learning

Alex Sanchez aleksseven

👁️
Learning
  • NEM
  • Tarma-Lima
View GitHub Profile
############################################################################
# #
# ------- Useful Docker Aliases -------- #
# #
# # Installation : #
# copy/paste these lines into your .bashrc or .zshrc file or just #
# type the following in your current shell to try it out: #
# wget -O - https://gist.github.com/Feni-x-alex/34a9e1597f58f2645a1338cb4c17cdb9/docker-alias.sh | bash
# #
# # Usage: #
#How to remove tag Local and Remote.
####################################
# delete local tag 'saaswwq'
git tag -d 12345
# delete remote tag 'saaswwq'
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName
#Steps
Install first flatpak
1. sudo add-apt-repository ppa:alexlarsson/flatpak
2. sudo apt update && sudo apt install flatpak
3. sudo apt install gnome-software-plugin-flatpak
4. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Install torbrowser-launcher
1. Custom zsh.
#ZSH_CUSTOM=$HOME/.oh-my-zsh/custom
2. External theme.
Example:
#ZSH_CUSTOM=~/src/github.com/alexer/oh-my-zsh-custom/custom
1. Download package with wget.
wget -O- https://telegram.org/dl/desktop/linux | sudo tar xJ -C /opt/
2. Create a symbolic link.
sudo ln -s /opt/Telegram/Telegram /usr/local/bin/telegram-desktop
3. Launch app from terminal.
telegram-desktop
YF390-0HF8P-M81RQ-2DXQE-M2UT6
ZF71R-DMX85-08DQY-8YMNC-PPHV8
ZF3R0-FHED2-M80TY-8QYGC-NPKYF
YF390-0HF8P-M81RQ-2DXQE-M2UT6
AZ3E8-DCD8J-0842Z-N6NZE-XPKYF
FC11K-00DE0-0800Z-04Z5E-MC8T6
Copy to start line of .bashrc or .zshrc file.
export QT_SCALE_FACTOR=1
sudo apt install g++ extra-cmake-modules
sudo apt install qtbase5-dev qtdeclarative5-dev libkf5declarative-dev
sudo apt install libkf5plasma-dev libkdecorations2-dev gettext libkf5wayland-dev
sudo apt install plasma-workspace-dev plasma-workspace-wayland
mkdir -p /run/user/1000/snap.netbeans
chmod 0700 /run/user/1000/snap.netbeans
Optional:
export XDG_RUNTIME_DIR=/your/dir