Skip to content

Instantly share code, notes, and snippets.

View aldinkapetanovic's full-sized avatar

aldinkapetanovic

View GitHub Profile
@aldinkapetanovic
aldinkapetanovic / run_rke2.sh
Last active June 9, 2024 16:37
RKE2 - kubectl PATH, completion & alias
sudo su
echo 'export PATH=$PATH:/var/lib/rancher/rke2/bin' >> ~/.bashrc
echo 'export KUBECONFIG=/etc/rancher/rke2/rke2.yaml' >> ~/.bashrc
kubectl completion bash | sudo tee /etc/bash_completion.d/kubectl > /dev/null
sudo chmod a+r /etc/bash_completion.d/kubectl
echo 'alias k=kubectl' >> ~/.bashrc
echo 'complete -o default -F __start_kubectl k' >> ~/.bashrc
exit
@aldinkapetanovic
aldinkapetanovic / .profile
Created June 10, 2023 17:22
Qt5 applications to use the Gtk+ 2 style
# ---8<---
export QT_QPA_PLATFORMTHEME=gtk2
# --->8---
@aldinkapetanovic
aldinkapetanovic / .zshrc
Last active June 10, 2023 18:17
oh-my-zsh plugins
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$HOME/.local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
@aldinkapetanovic
aldinkapetanovic / custom.conf
Last active June 10, 2023 16:26
Ubuntu 22.04 GDM3 WaylandEnable=false
# GDM configuration storage
#
# See /usr/share/gdm/gdm.schemas for a list of available options.
[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
# Enabling automatic login
# AutomaticLoginEnable = true
@aldinkapetanovic
aldinkapetanovic / signal-desktop.desktop
Last active June 10, 2023 16:31
Signal Tray Icon
[Desktop Entry]
Name=Signal
Exec=/opt/Signal/signal-desktop --use-tray-icon --no-sandbox %U
Terminal=false
Type=Application
Icon=signal-desktop
StartupWMClass=Signal
Comment=Private messaging from your desktop
MimeType=x-scheme-handler/sgnl;x-scheme-handler/signalcaptcha;
Categories=Network;InstantMessaging;Chat;