Skip to content

Instantly share code, notes, and snippets.

@SeunghoonBaek
Last active October 12, 2018 06:36
Show Gist options
  • Save SeunghoonBaek/0e6ed111255a1dbf36926b5139ff820b to your computer and use it in GitHub Desktop.
Save SeunghoonBaek/0e6ed111255a1dbf36926b5139ff820b to your computer and use it in GitHub Desktop.
#!/bin/bash
## download path
dpath=${HOME}/Downloads
cd ${dpath}
## brew (take a long time)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
## wget
brew install wget
## p7zip
brew install p7zip
## cmake
brew install cmake
## League of legends (KR)
wget https://riotgamespatcher-a.akamaihd.net/KR_Live_Mac/installer/deploy/League%20of%20Legends%20installer%20KR.dmg?macAgreeCheck01=on&macAgreeCheck02=on -O ${dpath}/lol.dmg
## Sublime text
wget https://download.sublimetext.com/Sublime%20Text%20Build%203176.dmg -O ${dpath}/sublime.dmg
## iTerm2
wget https://iterm2.com/downloads/stable/iTerm2-3_2_1.zip -O ${dpath}/iTerm.app
## Spectacle
wget https://s3.amazonaws.com/spectacle/downloads/Spectacle+1.2.zip -O ${dpath}/spectacle.zip
## chrome
wget https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg -O ${dpath}/chrome.dmg
## source tree
wget https://downloads.atlassian.com/software/sourcetree/Sourcetree_2.7.6a.zip -O ${dpath}/sourcetree.zip
## CLion
wget https://download-cf.jetbrains.com/cpp/CLion-2017.2.4.dmg -O ${dpath}/clion.dmg
## IntelliJ
wget https://download-cf.jetbrains.com/idea/ideaIU-2017.2.7.dmg -O {dpath}/intellij.dmg
## JDK 1.8
wget http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-macosx-x64.dmg?AuthParam=1538139285_e82ce157158dae658af6f6d3cfbcf7d1 -O ${dpath}/jdk_1_8.dmg
## tomcat 8.0.53
wget http://apache.mirror.cdnetworks.com/tomcat/tomcat-8/v8.0.53/bin/apache-tomcat-8.0.53.tar.gz -O ${dpath}/tomcat.8.0.53.tar.gz
## FFmpeg and FFprobe, FFplay
wget https://evermeet.cx/ffmpeg/ffmpeg-4.0.2.7z -O ${dpath}/ffmpeg.7z
7z e ./ffmpeg.7z
wget https://evermeet.cx/ffmpeg/ffprobe-4.0.2.7z -O ${dpath}/ffprobe.7z
7z e ./ffprobe.7z
wget https://evermeet.cx/ffmpeg/ffplay-4.0.2.7z -O ${dpath}/ffplay.7z
7z e ./ffplay.7z
mkdir -p ${HOME}/bin
mv ./ffmpeg ${HOME}/bin
mv ./ffprobe ${HOME}/bin
mv ./ffplay ${HOME}/bin
echo "export PATH=\${HOME}/bin:\${PATH}" >> ${HOME}/.bash_profile
## Bash and Vim
mkdir -p ${HOME}/Projects
cd ${HOME}/Projects
git clone https://github.com/SeunghoonBaek/dev_environment.git
cd dev_environment
./setup.sh
## install mac development tool (UI needed)
xcode-select --install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment