Giter Club home page Giter Club logo

fresh-install's Introduction

Marko's Setup

The following is a guide I wrote to guide one through a fresh installation on a new machine. Enjoy!

Quote time:

“To be in hell is to drift; to be in heaven is to steer.” ― George Bernard Shaw

Version

1.4.0

App Store Applications

  • iTunes
  • NepTunes
  • Quiver
  • Xcode

Third Party Applications

  • Adobe Acrobat
  • Adobe Illustrator
  • Adobe Photoshop
  • Backup & Sync from Google
  • Docker
  • Google Chrome Canary

Homebrew Cask Applications

  • Alfred 3
  • Bartender
  • BetterTouchTool
  • CleanMyMac
  • Dropbox
  • Figma
  • Firefox Developer Edition
  • Hands Off!
  • iTerm2
  • ImageOptim
  • Kaleidoscope
  • Kodi
  • OnePassword
  • PoEdit
  • Postman
  • Querious
  • Sketch
  • Slack
  • Sublime Text
  • The Unarchiver
  • Telegram
  • Thunderbird
  • Tower
  • Transmit
  • Ungoogled Chromium
  • VLC
  • Vox

.vimrc

.zshrc (primary)

.bash_profile

Sublime Text Preferences

VS Code Preferences

Neofetch Settings

Nowplaying

Fonts

Fonts are Backed up to Dropbox/Resources/

Configure Sublime Text Command Line

mkdir -p ~/bin && ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl

zsh

# sudo apt-get install zsh
brew install zsh
sh -c "$(c
* DaisyDiskurl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# Make Default Shell
chsh -s $(which zsh)

Sublime Text 3 Plugin Installer

Hit Control + ` to access Console.

import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

Sublime Text Plugins

Plugins to install via Package Control:

  • A File Icon
  • Alignment
  • All Autocomplete
  • AutoFileName
  • AutoSetSyntax
  • Babel
  • Better JavaScript
  • BracketHighlighter
  • Color Highlighter
  • Dockerfile Syntax Highlighting
  • DotENV
  • EditorConfig
  • File Icons Mono
  • GitGutter
  • GitOpenChangedFiles
  • HTML-CSS-JS Prettify
  • Liquid
  • Monokai Extended
  • nginx
  • Pane Pane
  • Pretty JSON
  • Sass
  • SassBeautify
  • SidebarEnhancer
  • Theme - Spacegray

iTerm Colors

Set Up SSH Keys

# check if installed
ls -al ~/.ssh

# Actually generate it
ssh-keygen -t rsa -C "[email protected]"

# Copy
pbcopy < ~/.ssh/id_rsa.pub

# Test if worked
ssh -T [email protected]

Set Up Git

git config --global user.name "Name"
git config --global user.email [email protected]
git config --global github.user user_name_here
git config --global github.token your_token_here
git config -l --global
git config --global core.editor "subl ."
git config --global color.ui true

Set Hostname

sudo scutil --set HostName ###

Set Up Mac OS X Preferences

# Set a fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 0

# Set a shorter delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12

# Remove Animations
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001

# Hide the Desktop
defaults write com.apple.finder CreateDesktop false; killall Finder

# Skip Verify Images
defaults write com.apple.frameworks.diskimages skip-verify true

# Prevent Apple Character Press and Hold
defaults write -g ApplePressAndHoldEnabled -bool false

# Add a contextual menu item to show the Web Inspector in web views
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true

# Show the ~/Library folder
chflags nohidden ~/Library

# Store screenshots in subfolder on desktop
mkdir ~/Documents/Screenshots
defaults write com.apple.screencapture location ~/Screenshots
killall SystemUIServer

# Add Message to Login Screen
sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "In case of loss, please call ###-###-####"

# Make Sublime Default Text Editor
defaults write com.apple.LaunchServices LSHandlers -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.sublimetext.3;}'

# Enable Text Selection in QuickLook
defaults write com.apple.finder QLEnableTextSelection -bool TRUE; killall Finder

# Faster Dock Animation
defaults write com.apple.dock autohide-time-modifier -float 0.15; killall Dock

# Dull Hidden Apps in Dock
defaults write com.apple.Dock showhidden -bool TRUE; killall Dock

# Disable Dashboard
defaults write com.apple.dashboard mcx-disabled -bool true

# Make Dock only Show Active Apps
defaults write com.apple.dock static-only -bool true; killall Dock

# Recents & Favorites in Dock (Favorite Items & Recent Docs)
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'; killall Dock
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'; killall Dock

# Just in Case: Revert Dock to Default
defaults write com.apple.dock static-only -bool false; killall Dock

Install Xcode

xcode-select --install

Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew doctor

# Install Cask Fonts
brew tap caskroom/fonts

# Install Brew Packages
brew install exa wp-cli googler howdoi itermocil neofetch themekit wget

Install Python 3

http://python-guide-pt-br.readthedocs.io/en/latest/starting/install3/osx/

brew install python3
# python3 for python3 command line

Install PHP from Homebrew & Xdebug from Pecl

https://medium.com/zenchef-tech-and-product/how-to-upgrade-your-version-of-php-to-7-0-on-macos-sierra-e1bfdea55a63

brew update && brew upgrade
brew untap homebrew/php
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew unlink php56
brew install php
brew cleanup
brew doctor

pecl install xdebug

export PATH=”$(brew — prefix homebrew/php/php7X)/bin:$PATH

Just remember to change the X in the PHP version in the last export line to whatever the latest one you're using is.

Add Line Manually, Do not add through prompts

zend_extension="/usr/local/php/modules/xdebug.so"

Install Apps Via Homebrew Cask

# Install Brew Cask
brew install caskroom/cask/brew-cask

# Common Programs
brew install ack autojump automake bash-completion bower colordiff curl exa figma git git-flow googler hub icoutils imagemagick jq libmemcached memcached neofetch openssl ossp-uuid qt readline redis tmux watch wget wp-cli libxml2

# Cask Applications
brew cask install 1password alfred arduino bartender bettertouchtool cleanmymac daisydisk discord dropbox eloston-chromium firefoxdeveloperedition grandperspective hands-off helium iterm2 imageoptim kaleidoscope poedit postman querious robo-3t sketch slack sublime-text telegram the-unarchiver thunderbird tower vlc vox vox-preference-pane

# Install Quick Look Plugins (preview code etc)
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv betterzipql webp-quicklook suspicious-package && qlmanage -r

Install Docker

Alfred Cask Link

brew cask alfred link

Install MySQL

# Install
brew install mysql

# Check & Start
mysql.server start

# If Installation Failed
brew remove mysql
brew cleanup
sudo rm -rf /usr/local/var/mysql/
brew install mysql
mysql.server start

# Check MySQL Info
brew info mysql

Install MongoDB

brew install mongodb

Install Ruby Gem

gem update --system
gem install rubygems-update
update_rubygems

# Install Gems
gem install compass
gem install foundation
gem install sass

Install PEAR/PECL

curl -O http://pear.php.net/go-pear.phar
sudo php -d detect_unicode=0 go-pear.phar

# Type 1 and press return.
# Enter:

/usr/local/pear

# Type 4 and press return.
# Enter:

/usr/local/bin

# Press return

pear version

Sketch Plugins

Plugins to install:

Marko Bajlovic

Sourced from all over.

fresh-install's People

Contributors

arbitrarily avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.