Last active
April 24, 2024 11:36
-
-
Save wideawakening/278a9a43b7251917052e9010a2f93ce2 to your computer and use it in GitHub Desktop.
workstation backup+reset checks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# leapfroging tips from the past into the future | |
# workstation backup and restore checks | |
# 1. backup-tasks | |
# 2.0. shared-tasks | |
# 2.1. personal-specific | |
# 2.2. work-specific | |
# 3. firefox config | |
# 4. user-interface | |
# 5. zshrc | |
# 6. goland |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- dotfiles (ssh, vim, ...) | |
~/.gnupg/ | |
- history commands to safe | |
- out-of-sync-folder organization into sync-folders (backup or cloud drives) | |
Documetns, Downloads, ... | |
- ~/bin folder where custom installations may have been made ¬.¬ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# installation | |
# ; misc | |
sudo apt-get install calibre grub-customizer klavaro peek mplayer totem alacarte | |
## manual | |
- anki | |
- serviio | |
- vpn | |
- steam | |
- synergy | |
- switchToScreen() hotkey configuration | |
https://symless.com/help-articles/add-a-hotkey-or-keyboard-shortcut-to-change-to-different-screens | |
- keybind | |
| cntrl+shift+h | left monitor | | |
| cntrl+shift+j | right monitor | | |
--- | |
# fstab config | |
UUID=9bd2c4f5-e31f-45ac-a5b8-4790f8728efb /home ext4 errors=remount-ro 0 1 | |
UUID=01CBAEA12107FB50 /media/data auto errors=remount-ro,umask=0002,gid=users,uid=1000 0 1 | |
//moxie.local/moxie.docs/ /mnt/moxie cifs user,uid=1001,rw,suid,credentials=/home/work/.smbpasswd 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- vpn | |
## | |
## base installation | |
## | |
sudo apt-get install sdkman worknetwork-manager-openconnect-gnome | |
## | |
## programming stack | |
## | |
# py-stack | |
sudo apt-get install python3 \ | |
python-is-python3 # use this instead of alias for better compatibility | |
# go stack | |
## manual | |
- firefox: addons (containers) | |
## | |
## other miscelanea | |
## manual | |
# | |
- synapse server/client ; for KM sharing | |
#- teams, onedrive (ppa) ; windows-work stack | |
- role-stack; krew (kubectl,kubens) | |
- kadeck for kafka | |
- compass for mongodb | |
- ... wip | |
; misc | |
- lego, draw.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sync with mozilla account | |
# settings | |
## search-suggestions; [ ] show search sugg ahead of browsing history in address bar result (disabled) | |
## default search engine | |
# autoplay block audio + video | |
## conflict when real-time input source select with multiple bluetooths (plt focus headset) | |
accessibility.typeaheadfind.enablesound = false | |
# conflict with pulseaudio (white sound) in some webs | |
media.webspeech.synth.enabled = false | |
# NOP. remove 'other bookmars' folder on bookmarks pannel (unsorted bookmarks) | |
# deprecated. now this can be down with contextual actions | |
browser.toolbars.bookmarks.2h2020 = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# accessibility | |
dconf write /org/gnome/desktop/interface/cursor-size 64 | |
dconf write /org/gnome/desktop/a11y/keyboard/mousekeys-enable true | |
dconf write /org/gnome/desktop/a11y/keyboard/mousekeys-accel-time 1500 | |
dconf write /org/gnome/desktop/a11y/keyboard/mousekeys-max-speed 500 | |
dconf write /org/gnome/desktop/a11y/keyboard/mousekeys-init-delay 100 | |
--- | |
# keyboard | |
english (us, intl. with AltGr dead keys) to work with áéíóúñ¿?'" baaaaammbo! | |
--- | |
# keybindings | |
| switch workspace 1..4 | alt+1..4 | | |
| screenshot snap clip to clipboard | cntrl+shift+insert | | |
| " " " file | cntrl+shift+print | | |
| shutdown now | cntrl+alt+escape | | |
| terminal,home,browser | super+s / super+e / super+z | | |
| hide all windows | super+d | | |
| window hide | super+down | | |
| maximize window horizontally | alt+right | | |
| maximize window vertically | alt+up | | |
| decrease UI text size | cntrl+shift+- | | |
| increase text size | cntrl+shift++ | | |
--- | |
# desktop | |
- paint it black | |
gsettings set org.gnome.desktop.background picture-uri "" | |
gsettings set org.gnome.desktop.background primary-color '#000000' | |
- remove dock bar | |
gsettings set org.gnome.shell.extensions.dash-to-dock autohide false | |
gsettings set org.gnome.shell.extensions.dash-to-dock dock-fixed false | |
gsettings set org.gnome.shell.extensions.dash-to-dock intellihide false | |
- hide icons from desktop | |
#gsettings set org.gnome.shell.extensions.desktop-icons show-trash false | |
gsettings set org.gnome.shell.extensions.ding show-trash false | |
#gsettings set org.gnome.shell.extensions.desktop-icons show-home false | |
gsettings set org.gnome.shell.extensions.ding show-home false | |
- disable system sound (to avoid unnecesary source switch on multi-device headsets) | |
gsettings set org.gnome.desktop.sound event-sounds false | |
- disable dynamic-workspaces | |
gsettings set org.gnome.mutter dynamic-workspaces false | |
- cycle through current workspace only (may require default keybinding modification) | |
gsettings get org.gnome.shell.app-switcher current-workspace-only | |
- do not use cntrl+num to launch docked apps | |
gsettings set org.gnome.shell.extensions.dash-to-dock hot-keys false | |
--- | |
# autologin setup | |
# - /etc/gdm3/custom.conf | |
[daemon] | |
AutomaticLoginEnable=False | |
TimedLoginEnable=true | |
TimedLogin= | |
TimedLoginDelay=20 | |
--- | |
# gnome extensions | |
## avoid x app is ready | |
- noannoyance by sindex | |
## move clock right | |
- frippery move clock | |
- openweather by jens | |
- simple monitor by fcaballero | |
- pomodoro by kamilprusko | |
- Sound Input & Output Device Chooser by kgshank |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference only, to be polished | |
############ | |
# themes | |
############ | |
# embrace toc chaos | |
ZSH_THEME="random" | |
############ | |
# history | |
############ | |
# avoid duplicated history with fzf | |
# https://leetschau.github.io/remove-duplicate-zsh-history.html | |
# | |
HIST_IGNORE_DUPS="true" | |
setopt EXTENDED_HISTORY | |
setopt HIST_EXPIRE_DUPS_FIRST | |
setopt HIST_IGNORE_DUPS | |
setopt HIST_IGNORE_ALL_DUPS | |
# evitar añadir línea con datos sensibles al histórico | |
setopt HIST_IGNORE_SPACE | |
setopt HIST_FIND_NO_DUPS | |
setopt HIST_SAVE_NO_DUPS | |
setopt HIST_BEEP | |
# mod. requires plugin history-substring-search | |
bindkey '^R' history-incremental-pattern-search-backward | |
############ | |
# plugins | |
# previously install | |
# - zsh-autosuggestions | https://github.com/zsh-users/zsh-autosuggestions | |
############ | |
plugins=( | |
git | |
autojump | |
colorize | |
battery | |
kubectl | |
history | |
history-substring-search | |
zsh-autosuggestions | |
) | |
############ | |
# aliases | |
############ | |
alias cat="batcat" | |
alias cert="gcr-viewer" | |
alias w="watch " | |
alias pbcopy='xsel --clipboard --input' | |
alias pbpaste='xsel --clipboard --output' | |
# work | |
alias mk="sudo microk8s.kubectl" | |
alias k="kubectl " | |
#alias kubectl="echo NOP" | |
alias tf="terraform " | |
alias kubectx="kubectl-ctx" | |
alias kubens="kubectl-ns" | |
############## | |
# bug with numpad symbols on terminator o_O wtf | |
############### | |
# enter | |
bindkey -s "^[OM" "^M" | |
# + - * / = | |
bindkey -s "^[Ok" "+" | |
bindkey -s "^[Om" "-" | |
bindkey -s "^[Oj" "*" | |
bindkey -s "^[Oo" "/" | |
bindkey -s "^[OX" "=" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################## | |
# go settings | |
################## | |
- Go > Go Modules > [x] enable go modules integration | |
- Editor > Code Style > Go | |
[x] add parentheses for single import | |
[x] remove redundant import aliases. go fmt inport type | |
################## | |
# file watchers | |
################## | |
- go fmt | |
- goimports | |
- golangci-lint | |
################## | |
# plugins | |
################## | |
- .env files support / envfile ; still have not decided | |
- key promoter x ; to start learning keybinds) | |
################## | |
# key binding | |
################## | |
try to keep it default but some things can't unTOC | |
| close tab | cntrl+w | | |
| dec/increase/reset text size | cntrl+shift++/-/back | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# thx https://gist.github.com/ChriRas/b9aef9771a97249cb4620e0d6ef538c4 :) | |
# | |
# /etc/pulse/default.pa | |
# default sink/source devices | |
# get list from | |
# pactl list short [sinks sources] | |
# pulseaudio -k to restart | |
# | |
set-default-sink alsa_output.usb-Plantronics_Poly_BT600_09faf4b7805840d8a2c9e615bf71db7e-00.analog-stereo | |
set-default-source alsa_input.usb-Plantronics_Poly_BT600_09faf4b7805840d8a2c9e615bf71db7e-00.mono-fallback |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment