Last active
February 18, 2024 19:07
-
-
Save fomvasss/47d4e3260d9165d78ec9b96d0c25dfbb to your computer and use it in GitHub Desktop.
Revisions
-
fomvasss revised this gist
Jan 7, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -136,11 +136,11 @@ https://notion-enhancer.github.io/ ``` sudo apt install snapd sudo snap install opera sudo snap install postman sudo snap install telegram-desktop sudo snap install code --classic sudo snap install sublime-text --classic sudo snap install mysql-workbench-community sudo snap install vokoscreen-ng sudo snap install vlc sudo snap install youtube-dl -
fomvasss revised this gist
Sep 14, 2023 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -152,6 +152,8 @@ sudo snap install bashtop ``` Add keyboard shortcuts: Shift+PrtSc => command: `flameshot gui` https://dbeaver.io/download/ ## JatBrains Install JatBrains Toolbox, PhpStorm, activate and sync settings: https://www.jetbrains.com/ru-ru/toolbox-app/ -
fomvasss revised this gist
Sep 12, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -148,6 +148,7 @@ sudo snap install wallpaperdownloader sudo snap install flameshot sudo snap install pinta-james-carroll sudo snap install xmind sudo snap install bashtop ``` Add keyboard shortcuts: Shift+PrtSc => command: `flameshot gui` -
fomvasss revised this gist
Aug 6, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,7 @@ ## Upgrate OS ``` sudo apt upgrate sudo apt -y install linux-firmware ``` ### Add swap (optional) -
fomvasss revised this gist
Jul 19, 2023 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -45,6 +45,8 @@ sudo apt install git sudo snap install screencloud sudo apt install hardinfo ``` https://github.com/ohmyzsh/ohmyzsh ``` sudo apt install zsh sudo apt install yadm -
fomvasss revised this gist
Jul 19, 2023 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -42,14 +42,14 @@ sudo apt install htop sudo apt install curl sudo apt install wget sudo apt install git sudo snap install screencloud sudo apt install hardinfo ``` ``` sudo apt install zsh sudo apt install yadm yadm clone git@github.com:fomvasss/dotfiles.git chsh Login Shell [/bin/bash]: /usr/bin/zsh ``` -
fomvasss revised this gist
Jul 19, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -13,6 +13,7 @@ sudo mkswap /swapfile sudo swapon /swapfile /swapfile swap swap defaults 0 0 в файл /etc/fstab ``` https://linuxize.com/post/create-a-linux-swap-file/ ## Install GoogleChrome Download .deb package and run: -
fomvasss revised this gist
Jul 15, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -46,6 +46,7 @@ sudo apt install yadm yadm clone git@github.com:fomvasss/dotfiles.git chsh sudo snap install screencloud sudo apt install hardinfo ``` ``` Login Shell [/bin/bash]: /usr/bin/zsh -
fomvasss revised this gist
Jun 13, 2023 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -125,6 +125,8 @@ Find and install: Dash to Panel, Freon (by UshakovVasilii), Status Area Horizont sudo apt-get install dconf-editor ``` https://notion-enhancer.github.io/ ## Snap apps ``` sudo apt install snapd -
fomvasss revised this gist
May 2, 2023 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -208,6 +208,12 @@ apidoc -i app/Http/Controllers/Api -o public/docs - Postman - GraphQLPlayground - sudo add-apt-repository ppa:obsproject/obs-studio - sudo apt install obs-studio ## WueUSB -
fomvasss revised this gist
Apr 26, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -140,6 +140,7 @@ sudo snap install youtube-dl sudo snap install wallpaperdownloader sudo snap install flameshot sudo snap install pinta-james-carroll sudo snap install xmind ``` Add keyboard shortcuts: Shift+PrtSc => command: `flameshot gui` -
fomvasss revised this gist
Mar 16, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -45,6 +45,7 @@ sudo apt install zsh sudo apt install yadm yadm clone git@github.com:fomvasss/dotfiles.git chsh sudo snap install screencloud ``` ``` Login Shell [/bin/bash]: /usr/bin/zsh -
fomvasss revised this gist
Feb 16, 2023 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -36,6 +36,7 @@ ssh-keygen ## Console apps: ``` sudo apt install ncal sudo apt install htop sudo apt install curl sudo apt install wget -
fomvasss revised this gist
Aug 10, 2022 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -181,6 +181,7 @@ apidoc -i app/Http/Controllers/Api -o public/docs - SimpleScreenRecorder? - Vokoscreen (`sudo apt-get install vokoscreen` of snap) - Odio (radio) - FreeTube - Pencil (prototype) - Pinta (graphics editor) - Flameshot (printscreen) -
fomvasss revised this gist
Jul 7, 2022 . 1 changed file with 26 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -265,3 +265,29 @@ sudo apt install composer ? mysqldump -u homestead -psecret --all-databases > homestead-20150727_0913.sql mysql -u homestead -psecret < homestead-20150727_0913.sql ``` # VPN ``` sudo apt install wireguard nmcli c import type wireguard file ~/App/vpn.wg.conf nmcli c up vpn.wg ``` Use: ``` ssh root@10.200.xxx.x ``` File ``` [Interface] PrivateKey = ixxxxxxxxxxxxxxxI= Address = xx.xxx.xxx.xx/xx [Peer] PublicKey = MxxxxxxxxxxxxxxxE= PresharedKey = 7xxxxxxxxxxxxxxxxxxxxx8= AllowedIPs = xx.xxx.xxx.0/24 Endpoint = xxx.xxx.xxx.xxx:xxxx PersistentKeepalive = 15 ``` -
fomvasss revised this gist
Nov 17, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -189,6 +189,8 @@ apidoc -i app/Http/Controllers/Api -o public/docs - KDE partition manager - QBTorrent - Postman - WPS Office - Snap (`sudo apt install snapd`) - Opera -
fomvasss revised this gist
Nov 13, 2021 . 1 changed file with 12 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -131,7 +131,7 @@ sudo snap install telegram-desktop sudo snap install code --classic sudo snap install sublime-text --classic sudo snap install mysql-workbench-community sudo snap install postman (not woking sync!) sudo snap install vokoscreen-ng sudo snap install vlc sudo snap install youtube-dl @@ -188,6 +188,7 @@ apidoc -i app/Http/Controllers/Api -o public/docs - Kdenlive (video editor) - KDE partition manager - QBTorrent - Postman - Snap (`sudo apt install snapd`) - Opera @@ -201,7 +202,16 @@ apidoc -i app/Http/Controllers/Api -o public/docs - Postman - GraphQLPlayground ## WueUSB ``` 1. wget mirrors.kernel.org/ubuntu/pool/universe/w/wxwidgets3.0/libwxgtk3.0-0v5_3.0.4+dfsg-3_amd64.deb 2. sudo dpkg -i libwxgtk*_amd64.deb 3. sudo apt update 4. ## потому что и в этом случае ругается ## sudo apt --fix-broken install 5. sudo apt install woeusb ``` ## Linux: Gnome, Interface, Settings -
fomvasss revised this gist
Oct 20, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -187,6 +187,7 @@ apidoc -i app/Http/Controllers/Api -o public/docs - XMind (snap) - Kdenlive (video editor) - KDE partition manager - QBTorrent - Snap (`sudo apt install snapd`) - Opera -
fomvasss revised this gist
Aug 30, 2021 . 1 changed file with 10 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -241,4 +241,14 @@ sudo apt install composer ? - https://losst.ru/ustanovka-php-7-v-ubuntu-2 ### SQL #### Homestead backup DB ``` 0 11 * * * mysqldump -u homestead -psecret --all-databases > /home/vagrant/www/backup/homestead-`date +\%Y_\%m_\%d__\%H_\%M_\%S`.sql ``` ``` mysqldump -u homestead -psecret --all-databases > homestead-20150727_0913.sql mysql -u homestead -psecret < homestead-20150727_0913.sql ``` -
fomvasss revised this gist
Jan 16, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -137,6 +137,7 @@ sudo snap install vlc sudo snap install youtube-dl sudo snap install wallpaperdownloader sudo snap install flameshot sudo snap install pinta-james-carroll ``` Add keyboard shortcuts: Shift+PrtSc => command: `flameshot gui` -
fomvasss revised this gist
Nov 23, 2020 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -50,6 +50,7 @@ Login Shell [/bin/bash]: /usr/bin/zsh ``` Set default **ZSH** in your termanal Set **git** configs: ``` git config --global user.name YourName -
fomvasss revised this gist
Nov 23, 2020 . 1 changed file with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -49,7 +49,12 @@ chsh Login Shell [/bin/bash]: /usr/bin/zsh ``` Set default **ZSH** in your termanal Set **git** configs: ``` git config --global user.name YourName git config --global user.email YourEmail@gmail.com ``` ## Vagrant/Homestead ``` -
fomvasss revised this gist
Nov 23, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -111,7 +111,7 @@ sudo apt-get install lm-sensors sudo sensors-detect ``` Visit: https://extensions.gnome.org/ Find and install: Dash to Panel, Freon (by UshakovVasilii), Status Area Horizontal Spacing (by p91paul), Draw On You Screen (by abakkk) ``` sudo apt-get install dconf-editor -
fomvasss revised this gist
Nov 23, 2020 . 1 changed file with 16 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -29,7 +29,7 @@ chmod 644 ~/.ssh/config chmod 600 ~/.ssh/id_rsa* chmod 644 ~/.ssh/*.pub ``` or generate new keys https://www.digitalocean.com/community/tutorials/ssh-ubuntu-18-04-ru: ``` ssh-keygen ``` @@ -56,7 +56,7 @@ Set default zsh in your termanal sudo dpkg -i ~/Downloads/virtualbox... sudo dpkg -i ~/Downloads/vagrant... ``` https://laravel.com/docs/8.x/homestead#installation-and-setup Run: ``` @@ -73,22 +73,30 @@ NFS (optional): http://tech.osteel.me/posts/2016/01/19/how-to-enable-nfs-on-lara #### Databases - Backup all Databases ``` mysqldump -u homestead -psecret --all-databases > backup.sql ``` or - Backup selected Databases ``` mysqldump -u homestead -psecret --databases db1 db2 db3 > ~/www/backup/backup23112020.sql ``` - Restore Databases with backup ``` mysql -u homestead -psecret < backup.sql ``` #### Files - Backup files (without compress) ``` tar -cvf App.tar ~/App ``` - Restore files ``` tar -xvf App.tar -C ~/App ``` https://linuxize.com/post/how-to-back-up-and-restore-mysql-databases-with-mysqldump/ ## Interface Download fonts (*JetBrainsMono*, *FiraCode*,...) to dir `~/.fonts`: @@ -137,7 +145,7 @@ fnm use 12 fnm default 12 ``` https://github.com/Schniz/fnm Example use in projects: ``` -
fomvasss revised this gist
Nov 23, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -103,7 +103,7 @@ sudo apt-get install lm-sensors sudo sensors-detect ``` Visit: https://extensions.gnome.org/ Find and install: Dash to Panel, Freon (by UshakovVasilii), Status Area Horizontal Spacing (by p91paul) ``` sudo apt-get install dconf-editor -
fomvasss revised this gist
Nov 23, 2020 . 1 changed file with 35 additions and 136 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,12 +5,21 @@ sudo apt upgrate ``` ### Add swap (optional) ``` sudo fallocate -l 4G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile /swapfile swap swap defaults 0 0 в файл /etc/fstab ``` ## Install GoogleChrome Download .deb package and run: ``` sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.deb ``` Add & Sync Google accounts ## Set SSH keys Copy old ssh keys in `~/.ssh` dir and set: @@ -20,7 +29,7 @@ chmod 644 ~/.ssh/config chmod 600 ~/.ssh/id_rsa* chmod 644 ~/.ssh/*.pub ``` or generate new keys *https://www.digitalocean.com/community/tutorials/ssh-ubuntu-18-04-ru*: ``` ssh-keygen ``` @@ -39,14 +48,15 @@ chsh ``` Login Shell [/bin/bash]: /usr/bin/zsh ``` Set default zsh in your termanal ## Vagrant/Homestead ``` sudo dpkg -i ~/Downloads/virtualbox... sudo dpkg -i ~/Downloads/vagrant... ``` *https://laravel.com/docs/8.x/homestead#installation-and-setup* Run: ``` @@ -56,23 +66,34 @@ Install vagrant plugins: ``` vagrant plugin install vagrant-hostsupdater ``` NFS (optional): http://tech.osteel.me/posts/2016/01/19/how-to-enable-nfs-on-laravel-homestead.html ### Backup/Restore Laravel Homestead #### Databases - Backup all Databases ```mysqldump -u homestead -psecret --all-databases > backup.sql``` or - Backup selected Databases ``` mysqldump -u homestead -psecret --databases db1 db2 db3 > ~/www/backup/backup23112020.sql ``` - Restore Databases with backup ```mysql -u homestead -psecret < backup.sql``` #### Files - Backup files (without compress) ```tar -cvf App.tar ~/App``` - Restore files ```tar -xvf App.tar -C ~/App``` *https://linuxize.com/post/how-to-back-up-and-restore-mysql-databases-with-mysqldump/* ## Interface Download fonts (*JetBrainsMono*, *FiraCode*,...) to dir `~/.fonts`: Install Gnome Tweak Tools (https://help.ubuntu.ru/wiki/gnome-tweak-tool) ``` sudo apt-get install gnome-tweak-tool ``` @@ -82,7 +103,7 @@ sudo apt-get install lm-sensors sudo sensors-detect ``` Visit: https://extensions.gnome.org/ Find and install: Dash to Panel, Freon (by UshakovVasilii), ``` sudo apt-get install dconf-editor @@ -103,11 +124,10 @@ sudo snap install youtube-dl sudo snap install wallpaperdownloader sudo snap install flameshot ``` Add keyboard shortcuts: Shift+PrtSc => command: `flameshot gui` ## JatBrains Install JatBrains Toolbox, PhpStorm, activate and sync settings: https://www.jetbrains.com/ru-ru/toolbox-app/ ## FNM ``` @@ -116,6 +136,9 @@ fnm install 12 fnm use 12 fnm default 12 ``` *https://github.com/Schniz/fnm* Example use in projects: ``` npm i @@ -131,7 +154,7 @@ npm i gulp@3.9.1 ``` npm install -g apidoc ``` Example generate docs: ``` apidoc -i app/Http/Controllers/Api -o public/docs ``` @@ -162,14 +185,6 @@ apidoc -i app/Http/Controllers/Api -o public/docs - Postman - GraphQLPlayground - ## Linux: Gnome, Interface, Settings @@ -197,47 +212,9 @@ http://compizomania.blogspot.com/2016/01/gnome-nautilus-318-ubuntu-1604.html - User Themes ### PHP, Git, Composer ```bash sudo apt install git @@ -249,82 +226,4 @@ sudo apt install composer ? - https://losst.ru/ustanovka-php-7-v-ubuntu-2 -
fomvasss revised this gist
Nov 22, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -136,7 +136,7 @@ Exaple ru generate: apidoc -i app/Http/Controllers/Api -o public/docs ``` --- ## OLD: ## Awesome programs -
fomvasss revised this gist
Nov 22, 2020 . 1 changed file with 13 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -125,6 +125,19 @@ npm i gulp@3.9.1 ... ``` ## Other #### APIDoc ``` npm install -g apidoc ``` Exaple ru generate: ``` apidoc -i app/Http/Controllers/Api -o public/docs ``` -- ## OLD: ## Awesome programs - SimpleScreenRecorder? -
fomvasss revised this gist
Nov 22, 2020 . 1 changed file with 16 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,18 @@ ## After install OS ## Upgrate OS ``` sudo apt upgrate ``` ## Install GoogleChrome Download .deb package and run: ``` sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.deb ``` Sync accounts ## Set SSH keys Copy old ssh keys in `~/.ssh` dir and set: ``` chmod 700 ~/.ssh @@ -58,15 +58,15 @@ vagrant plugin install vagrant-hostsupdater ``` ### Backup/Restore Laravel Homestead #### Databases - Backup All Databases ```mysqldump -u homestead -psecret --all-databases > backup.sql``` - Restore All Databases ```mysql -u homestead -psecret < backup.sql``` #### Files - Backup files ```tar -cvf App.tar ~/App``` - Restore files ```tar -xvf App.tar -C ~/App``` ## Interface @@ -116,7 +116,14 @@ fnm install 12 fnm use 12 fnm default 12 ``` Example use in projects: ``` npm i npm run dev npm i gulp@3.9.1 ./node_modules/.bin/gulp build; ./node_modules/.bin/gulp test --noinline --nohtmlmin ... ``` ## OLD: ## Awesome programs -
fomvasss revised this gist
Nov 22, 2020 . 1 changed file with 83 additions and 19 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,25 +1,32 @@ ## After install ## OS ``` sudo apt upgrate ``` ## GoogleChrome Download .deb package and run: ``` sudo dpkg -i ~/Downloads/google-chrome-stable_current_amd64.deb ``` Sync accounts ## SSH keys Copy old ssh keys in `~/.ssh` dir and set: ``` chmod 700 ~/.ssh chmod 644 ~/.ssh/config chmod 600 ~/.ssh/id_rsa* chmod 644 ~/.ssh/*.pub ``` or generate new keys (https://www.digitalocean.com/community/tutorials/ssh-ubuntu-18-04-ru): ``` ssh-keygen ``` ## Console apps: ``` sudo apt install htop sudo apt install curl sudo apt install wget @@ -28,34 +35,91 @@ sudo apt install zsh sudo apt install yadm yadm clone git@github.com:fomvasss/dotfiles.git chsh ``` ``` Login Shell [/bin/bash]: /usr/bin/zsh ``` Set default zsh in your termanal ## Vagrant/Homestead ``` sudo dpkg -i ~/Downloads/virtualbox... sudo dpkg -i ~/Downloads/vagrant... ``` https://laravel.com/docs/8.x/homestead#installation-and-setup Run: ``` vagrant up ``` Install vagrant plugins: ``` vagrant plugin install vagrant-hostsupdater ``` ### Backup/Restore Laravel Homestead #### Databases ***Backup All Databases*** ```mysqldump -u homestead -psecret --all-databases > backup.sql``` ***Restore All Databases*** ```mysql -u homestead -psecret < backup.sql``` #### Files ***Backup files*** ```tar -cvf App.tar ~/App``` ***Restore files*** ```tar -xvf App.tar -C ~/App``` ## Interface Download fonts (*JetBrainsMono*, *FiraCode*,...) to dir `~/.fonts`: Gnome Tweak Tools (https://help.ubuntu.ru/wiki/gnome-tweak-tool) ``` sudo apt-get install gnome-tweak-tool ``` Set: https://i.imgur.com/wC6c7GM.png ``` sudo apt-get install lm-sensors sudo sensors-detect ``` Visit: https://extensions.gnome.org/ Find and install: Dash to Panel, Freon (by UshakovVasilii) ``` sudo apt-get install dconf-editor ``` ## Snap apps ``` sudo apt install snapd sudo snap install opera sudo snap install telegram-desktop sudo snap install code --classic sudo snap install sublime-text --classic sudo snap install mysql-workbench-community sudo snap install postman sudo snap install vokoscreen-ng sudo snap install vlc sudo snap install youtube-dl sudo snap install wallpaperdownloader sudo snap install flameshot ``` (Add keyboard shortcuts: Shift+PrtSc => command: `flameshot gui`) ## JatBrains Install PhpStorm, activate and sync settings https://www.jetbrains.com/ru-ru/toolbox-app/ ## FNM ``` curl -fsSL https://fnm.vercel.app/install | bash fnm install 12 fnm use 12 fnm default 12 ``` ## OLD: ## Awesome programs - SimpleScreenRecorder? - Vokoscreen (`sudo apt-get install vokoscreen` of snap) - Odio (radio)
NewerOlder