-
Notifications
You must be signed in to change notification settings - Fork 2
/
start.sh
executable file
·98 lines (85 loc) · 2.61 KB
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/bin/sh
# Installs git, clang, ...
xcode-select --install
# Show "Allow running apps from anywhere"
# Stop hiding options apple, seriously!
sudo spctl --master-disable
# Install Homebrew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install casks
brew install homebrew/cask
# Install Browsers.
brew install FireFox
brew install google-chrome
# Install Dev apps.
# GUI
brew install visual-studio-code
brew install docker
brew install minikube
brew install iterm2
brew install obsidian
brew install amethyst
# CLI
brew install pyenv
brew install direnv
pip install virtualenv
brew install entr
brew install ag
brew install httpie
brew install pypy3
brew install gpg
gpg --list-keys
# For Arc
brew install php
git clone https://github.com/phacility/arcanist.git ~/Documents/GitHub/
git clone https://github.com/phacility/libphutil.git ~/Documents/GitHub/
# Install Misc.
brew install vlc
brew install keka
# Install Tools.
sudo chown -R "$(whoami)" /usr/local/lib/pkgconfig
brew install openvpn
brew install netcat
brew install findutils
brew install binutils
brew install gnu-sed
brew install openssl
brew install autoconf
brew install pygobject3
brew install pstree
brew install wget
mkdir -p ~/Documents/GitHub
git clone [email protected]:slimm609/checksec.sh.git
# git clone [email protected]:longld/peda.git ~/peda
wget -O ~/.gdbinit-gef.py -q https://github.com/hugsy/gef/raw/master/gef.py \
&& echo "source ~/.gdbinit-gef.py" >> ~/.gdbinit \
&& echo "set disassembly-flavor intel" >> ~/.gdbinit
git clone [email protected]:sdispater/poetry.git ~/poetry
cd ~/poetry
pyenv install 3.9.0
pyenv local 3.9.0
python ~/poetry/get-poetry.py
brew install git-lfs
git lfs install --system
git config --global pull.ff only
brew install neofetch
# Needed in Mac Sierra.
brew install coreutils
sudo ln -s /usr/local/bin/gsha256sum /usr/local/bin/sha256sum
sudo ln -s /usr/local/bin/gsha512sum /usr/local/bin/sha512sum
# Stop Safari notifications.
defaults write com.apple.coreservices.uiagent CSUIHasSafariBeenLaunched -bool YES
defaults write com.apple.coreservices.uiagent CSUIRecommendSafariNextNotificationDate -date 2050-01-01T00:00:00Z
defaults write com.apple.coreservices.uiagent CSUILastOSVersionWhereSafariRecommendationWasMade -float 10.99
# Colorful bash
sudo gem install artii lolcat
# Agnoster Fonts
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/powerline/fonts.git --depth=1 ~/Documents/fonts
pushd ~/Documents/fonts
./install.sh
popd
rm -rf ~/Documents/fonts
# Setup bash settings.
chmod +x ./reload.sh
./reload.sh