sudo curl -o /usr/bin/tldr https://raw.githubusercontent.com/raylee/tldr/master/tldr
sudo chmod +x /usr/bin/tldrClone this repository in oh-my-zsh's plugins directory:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Activate the plugin in ~/.zshrc:
plugins=( [plugins...] zsh-syntax-highlighting)
reload zsh
source ~/.zshrc
go get -u moul.io/asshOn peut tester avec :
go get github.com/golang/example/hello
%GOPATH%/bin/hello
helloawesome-shell
A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php.
awesome-selfhosted
A list of Free Software network services and web applications which can be hosted locally. Selfhosting is the process of hosting and managing applications instead of renting from Software-as-a-Service providers https://reddit.com/r/selfhosted
awesome-raspberry-pi
📝 A curated list of awesome Raspberry Pi tools, projects, images and resources https://awesome-rpi.netlify.com
awesome-vscode
🎨 A curated list of delightful VS Code packages and resources. https://viatsko.github.io/awesome-vscode
awesome-hyper
🖥 Delightful Hyper plugins, themes, and resources
Install tmux
apt install tmux -y
cd ${HOME}
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .
Edit the default theme
vim .tmux.conf.local
Change tmux_conf_theme_status_right
tmux_conf_theme_status_right='#{prefix}#{pairing} , #{loadavg} , %R , %d %b | #{username}#{root} | #{hostname} '
reload tmux
tmux source-file ~/.tmux.confsudo apt update
sudo apt install zsh -y
zsh
appuyer sur 2
exit
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Ajouter des plugins
vi ~/.zshrc
plugins=(git tmux sudo z)
reload zsh
source ~/.zshrc
https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/vscode
Plugins oh-my-zsh: https://github.com/robbyrussell/oh-my-zsh
Autres plugins: https://github.com/unixorn/awesome-zsh-plugins
Erreur :
Faire :
Ne pas oublier d'enlever le mode maintenance
sudo -u www-data php occ maintenance:mode --offSi vous gérez beaucoup de machines avec ssh, votre fichier de configuration (.ssh/config) peut vite devenir très compliqué et difficilement maintenable.
Le logiciel « assh » (pour advances ssh config) vous permet d’adresser ce problème de manière efficace.
[Linux] Astuce pour unbound pour réduire drastiquement votre trafic DNS
TTL de 15 min dans unbound :
cache-min-ttl: 900
sudo service unbound restart
