Skip to content

Instantly share code, notes, and snippets.

@fguisso
Last active June 9, 2017 13:40
Show Gist options
  • Save fguisso/f46c59d013e73658ccf6456fad11aeb7 to your computer and use it in GitHub Desktop.
Save fguisso/f46c59d013e73658ccf6456fad11aeb7 to your computer and use it in GitHub Desktop.
What to install in a new Mac

Se lig na config

Essa são as configurações e programas que eu acho importante, parafraseando um outro gist:

"This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this."

Instalando os apps

Todos apps aqui foram testados.

App Store

  • Xcode
  • The Unarchiver
  • LimeChat IRC
  • Dash

Outros

  • AppCleaner

  • Browsers

    • Google Chrome
    • Firefox
  • Development

    • Sublime Text
      • Package Controll
      • Material Theme
  • Utilities

    • Thunderbird
    • Adium
    • HyperTerm
    • uTorrent
    • Skype
    • Spotify
    • FL Studio
  • Virtualization

    • Docker

Xcode Command Line Tools

Xcode > Preferences > Downloads > Command Line Tools

Homebrew

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

brew doctor ver se esta tudo ok e nao tem nada faltando para rodar o brew

Cask

brew install caskroom/cask/brew-cask

Apps via Cask

brew cask install sublime-text
brew cask install spotify
brew cask install google-chrome
brew cask install appcleaner
brew cask install adium
brew cask install spectacle
brew cask install the-unarchiver
#diferentão
brew cask install utorrent

Set hostname

Muda o nome do computador visivel no terminal sudo scutil --set HostName Pandora-Box

Git & Github

Setup

# generate a key
ssh-keygen -t rsa -C "[email protected]"
# go to github > settings > SSH and GPG keys and paste you key
pbcopy < ~/.ssh/id_rsa.pub

# Test connection
ssh -T [email protected]

git config values

git config --global user.name "Fernando Guisso"
git config --global user.email "[email protected]"
git config --global github.user fernandoGuisso
git config --global github.token your_token_here

git config --global core.editor "subl -w"
git config --global color.ui true

Development

Só pros hackudo

Node.js

brew install node
#test
npm --version
#agora os queridinhos
npm install -g n gulp-cli

n for node version control

Gems

gem update -system

# install rvm into your ~
$ \curl -sSL https://get.rvm.io | bash -s stable

# install latest version of ruby into your ~
$ rvm install ruby

# installs a gem into your ~
$ gem install <gempack>

Sublime-text

Open the console in sublime via the ctrl + `

Install package controll

import urllib.request,os,hashlib; h = 'df21e130d211cfc94d9b0905775a7c0f' + '1e3d39e33b79698005270310898eea76'; 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)

install packages

jade syntax stylus syntax material-theme Auto-File-Name MarkdownEditing

Gist (need a github token)

Sidebar Enhancements /Users/{user}/Library/Application Support/Sublime Text 2/Packages

.Dotfiles

Comming soon!!!!

Funcking Done!

Fucking done

{
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"fallback_encoding": "UTF-8",
"folder_exclude_patterns":
[
".svn",
".git",
".hg",
"CVS",
"node_modules",
".sass-cache",
".github",
"apigen",
"tmp",
"__pycache__"
],
"ignored_packages":
[
"Vintage"
],
"material_theme_appbar_lime": true,
"material_theme_bold_tab": true,
"material_theme_compact_sidebar": true,
"material_theme_contrast_fileicon": true,
"material_theme_small_tab": true,
"material_theme_tree_headings": true,
"theme": "Material-Theme.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true
}
{
"bootstrapped": true,
"install_packages":
[
"AutoFileName",
"EditorConfig",
"Gist",
"Jade",
"MarkdownEditing",
"Material Theme",
"Material Theme - Appbar",
"Materialize",
"Package Control",
"Pug",
"Stylus",
"SublimeLinter",
"SublimeLinter-contrib-eslint"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment