Last active
April 13, 2019 18:29
-
-
Save yizhexu/b33ccf048ed9a1e9d62b56a161978586 to your computer and use it in GitHub Desktop.
Reinstall Scripts
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
defaults write com.apple.finder AppleShowAllFiles YES | |
defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}' | |
killall Dock | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew cask install atom cisco-spark hipchat anaconda | |
brew install [email protected] r git gnupg2 pass | |
Rscript -e "install.packages(c('tidyverse', 'rstan'), repo = 'https://cran.rstudio.org')" |
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
#!/bin/bash | |
# Font | |
mv Hack /usr/share/fonts/ | |
fc-cache -f -v | |
fc-list | grep "Hack" | |
# password manager | |
pacman -S pass | |
# import keys | |
gpg2 --import path-to-keys | |
gpg2 --edit-key [email protected] | |
# icon pack | |
yay -S paper-icon-theme-git | |
# printer | |
yay -S lib32-glibc | |
yay -S brother-mfc-j4420dw | |
yay -S brscan4 |
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
#!/bin/bash | |
## Partition information if fresh install | |
## /swap 32 GiB, swap 2x ram | |
## /boot 500 MiB, ex3 | |
## / rest, ex4 | |
## Fedora 26 | |
dnf install guake.noarch git | |
## Browser | |
dnf install -y https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm | |
wget -O atom.rpm https://atom.io./download/rpm | |
dnf install atom.x86_64.rpm | |
# install themes | |
dnf install arc-theme numix-icon-theme-circle plank | |
# install and configure printer + scanner | |
dnf install sane-backends sane-backends-drivers-scanners simple-scan | |
sane-find-scanner # to find scanners | |
scanimage -L # see the scanner | |
# install encyption tool and password manager | |
sudo dnf install gnupg2 pass | |
# install go | |
sudo dnf install golang | |
mkdir -p $HOME/go | |
echo 'export GOPATH=$HOME/go' >> $HOME/.bashrc | |
source $HOME/.bashrc | |
go env GOPATH | |
# install docker | |
sudo dnf install docker docker-compose | |
sudo usermod -aG docker $USER | |
sudo systemctl enable docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment