Skip to content

farpat/backup-anything

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Some basics

sudo apt -y install wget tree curl vim snapd \
snapd-xdg-open ffmpeg htop xclip xsel flameshot \
eza bat rg

Gnome extensions

Installed extensions :

  • Dash to Panel bu charlesg99
  • Docker by stickman_0x00
  • Emoji Copy by FelipeFTN
  • Places Status Indicator by fmuellner

Eza

Fonts for icons: https://www.nerdfonts.com/font-downloads (or 0xProto.zip)

Vim

sudo vim /etc/vim/vimrc.local

# vimrc.local
set whichwrap+=<,>,h,l

SSH

ssh-keygen -t rsa -b 4096 -C <email>

ssh-add "private key" #if it's necessary

pbcopy < ~/.ssh/id_rsa.pub

Add this key in gitlab and github (delete the old key if necessary)

GIT / PRETTY GIT DIFF

sudo apt install -y git
git config --global init.defaultBranch main
git config --global user.email <email>
git config --global user.name <name>
git config --global alias.st status
git config --global alias.co checkout
git config --global alias.lg "log --graph --abbrev-commit --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset'"
git config --global pull.rebase false
git config --global core.editor vim

Follow instructions for pretty git diff: https://delicious-insights.com/fr/articles/git-protip-diff-so-fancy/

ZSH (and oh-my-zsh with plugins)

sudo apt install -y zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting
git clone https://github.com/unixorn/fzf-zsh-plugin.git ~/.zsh/zsh-ctrl-r

cp .zshrc ~/.zshrc
cp .bash_aliases ~/.bash_aliases
chsh -s $(which zsh)

Docker && Docker compose

Follow instructions: https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

To avoid being "sudoer" when using docker:

sudo gpasswd -a $USER docker

Flameshot

  • Settings >
  • Keyboard >
  • View and Customize Shortcuts >
  • Custom Shortcuts >
  • " + " >
Name : Flameshot
Command : flameshot gui 
Shortcut : <Touche Impr>

For disable gnome screenshot tool: https://askubuntu.com/a/1426942

Other installations

sudo snap install spotify
sudo snap install vlc
sudo snap install postman
sudo snap install gemini-desktop
sudo snap install chatgpt-desktop
sudo snap install onlyoffice-desktopeditors

Tips

  • To add DNS server :
echo 'nameserver 192.168.11.254' | sudo tee -a /etc/resolv.conf && cat /etc/resolv.conf 
  • To map "square keyboard touch" to " :
xmodmap -e "keycode 49 = dead_grave"
sudo snap remove snap-store && sudo snap install snap-store
  • Bookmark with prompt :
javascript:(
function() {
	var ticketId = window.prompt('Jira Ticket ID ?');
	if (ticketId) {
		window.open('https://any_url/' + ticketId);
	}
})();

About

Backup anything - Ubuntu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages