forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomputer-setup.sh
More file actions
34 lines (27 loc) · 991 Bytes
/
computer-setup.sh
File metadata and controls
34 lines (27 loc) · 991 Bytes
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
#!/bin/bash
# setting up a new machine:
#install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#install some software
brew install homebrew/cask-fonts/font-inconsolata
brew install gpg
brew install tmux
brew cask install visual-studio-code
brew install pass
brew cask install tunnelblick
brew install pinentry-mac
brew install dnsmasq
brew install mtr
#install from mac app store:
# slack, tweetbot, 1blocker, tyme, onedrive, kindle
# git repo for team-pass (needs to fix ssh first)
git clone git@github.com:safespring/pass.git
# set up dnsmasq - fix local dns settings manually:
echo 'server=/cloud.ipnett.se/10.11.20.22' >> /usr/local/etc/dnsmasq.d/10-safespring
echo 'server=/cloud.ipnett.no/10.11.20.22' > /usr/local/etc/dnsmasq.d/10-safespring
sudo brew services start dnsmasq
# virtualenv
export PIP_REQUIRE_VIRTUALENV=false
pip3 install virtualenv
pip3 install virtualenvwrapper
export PIP_REQUIRE_VIRTUALENV=true