GithubHelp home page GithubHelp logo

guoyu07 / mac-2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scribbyx/mac

0.0 0.0 0.0 8 KB

macOS Sierra v. 10.12 Setup

Home Page: https://www.taniarascia.com/setting-up-a-brand-new-mac-for-development/

mac-2's Introduction

macOS Sierra v. 10.12 Setup

View a more detailed explanation of these steps here.

This is a simple list of instructions to make setting up your Apple computer as fast and efficient as possible for front end web development.

Preferences

  • Keyboard > Text > Disable "Correct spelling automatically".
  • Security and Privacy > Firewall > On
  • Security and Privacy > General > App Store and identified developers
  • File Sharing > Off
  • Users & Groups > Login Items > Spectacle, Flux

Show Library folder

chflags nohidden ~/Library

Show hidden files

This can also be done by pressing command + shift + ..

defaults write com.apple.finder AppleShowAllFiles YES

Show path bar

defaults write com.apple.finder ShowPathbar -bool true

Show status bar

defaults write com.apple.finder ShowStatusBar -bool true

Homebrew

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

Mac App Store

brew install mas

Sign in

Brewfile

touch Brewfile
tap 'caskroom/cask'

brew 'git'
brew 'npm'

cask 'brackets'
cask 'flux'
cask 'firefox'
cask 'gimp'
cask 'google-chrome'
cask 'opera'
cask 'spectacle'
cask 'sequel-pro'
cask 'utorrent'
cask 'vlc'

mas 'Numbers', id: 409203825
mas 'Pages', id: 409201541
mas 'Slack', id: 803453959
mas 'Sip', id: 507257563 
mas 'Simplenote', id: 692867256 
mas 'Todoist', id: 585829637

GitHub

Config - ~/.gitconfig

[user]
	name = First Last
	email = [email protected]
[github]
	user = username
[alias]
	a = add
	ca = commit -a
	cam = commit -am
	s = status
	pom = push origin master
	pog = push origin gh-pages
	puom = pull origin master
	puog = pull origin gh-pages
	cob = checkout -b
[credential]
	helper = osxkeychain

SSH

Config - ~./ssh/config

Host example
    HostName example.com
    User example-user
    IdentityFile key.pem

Generate SSH key

ssh-keygen -t rsa -b 4096 -C "[email protected]"

Bash

Config - ~/.bash_profile

alias brewup='brew update; brew upgrade; brew prune; brew cleanup; brew doctor'
source ~/.bash_profile

Terminal Colors

export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad

Node.js

Download Node

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
nvm install node
nvm use node

Node Package Manager

Gulp

npm install --global gulp-cli

Ruby Version Manager

Download rvm

\curl -sSL https://get.rvm.io | bash -s stable

Install Ruby version

rvm install ruby-head
rvm --default use 2.4.0
gem install bundler

mac-2's People

Contributors

taniarascia 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.