Slide 1

Slide 1 text

Pimp my dev box Víctor Martínez @knoopx http://github.com/knoopx http://knoopx.net

Slide 2

Slide 2 text

I'm sorry, are you from the past?

Slide 3

Slide 3 text

Pimp my shell

Slide 4

Slide 4 text

First of all, get a dark theme Your eyes will thank you at the end of the day (My own) https://github.com/knoopx/knoopx.terminal Solarized http://ethanschoonover.com/solarized

Slide 5

Slide 5 text

Then, please, get a (good) package manager

Slide 6

Slide 6 text

Replace Apple's bundled BSD* tools with the GNU ones $ brew install findutils ack grep bash gcc (...)! they are far more powerful (*) Only some of them are really BSD, but Apple usually ships dinosaur-aged GNU software with their OS.

Slide 7

Slide 7 text

Install some other cool software brew install wget colordiff rmtrash unrar (...) ● wget: downloads files from the internets ● unrar: unpacks files from the internets ● colordiff: get colorful differences between files ● rmtrash: send files to OSX trash instead of deleting them alias diff=colordiff alias find=gfind alias rm=rmtrash ...and make them your defaults

Slide 8

Slide 8 text

Replace BASH with a modern shell ZSH fish

Slide 9

Slide 9 text

I choose ZSH, what do I get? ● colors, rainbows and unicorns ● unified history between tabs ● tab tab tab! out of the box autocompletions for almost everything ● keyboard navigable completion lists ● powerful globbing and expansions ● syntax highlighting ● plays well with floating point calculations ● (many more! STFW!) ZSH is essentially an enhanced experience of everything you already know from BASH $ brew install zsh

Slide 10

Slide 10 text

Don't fall into the configuration madness Use an existing community-maintained package of zsh configurations: ● oh-my-zsh ● zsh-lovers ● zsh-users

Slide 11

Slide 11 text

Keep your settings under version control like all the other cool kids around

Slide 12

Slide 12 text

Pimp my GIT

Slide 13

Slide 13 text

Use __git_ps1 from git/contrib do not reinvent the wheel

Slide 14

Slide 14 text

Send pull-reqs from the terminal $ git co awesome-feature $ git pull-req # $EDITOR opens asking you for PR title/msg $ subl ~/bin/git-pull-req

Slide 15

Slide 15 text

Do the house cleaning once a week Prune stale remote-tracking branches Delete already merged branches Do everything at once $ git remote prune origin $ git branch -d `git branch --merged | grep -v \* | xargs` $ git branch-cleanup $ cat ~/bin/git-branch-cleanup git remote prune origin && git branch -d `git branch --merged | grep -v \* | xargs`

Slide 16

Slide 16 text

Use mergetool

Slide 17

Slide 17 text

Automate conflict resolution $ subl ~/.gitattributes $ subl ~/.gitconfig

Slide 18

Slide 18 text

Use GitX The only useful GIT GUI Lets you visualize

Slide 19

Slide 19 text

Use GitX The only useful GIT GUI Review, stage and commit

Slide 20

Slide 20 text

Use GitX The only useful GIT GUI Friendlier diffs $ git diff master | gitx

Slide 21

Slide 21 text

Use GitX Don't be lame, do everything else from the command line. Mastering GIT will make unstoppable. $ git rebase -i HEAD~5 $ git reset --hard origin/master $ git merge --no-ff awesome-feature $ git checkout -b features/new-one ✕ ✔

Slide 22

Slide 22 text

Pimp my desktop

Slide 23

Slide 23 text

Apply developer-friendly OSX settings These fancy Apple features makes you waste time http://mths.be/osx

Slide 24

Slide 24 text

or better yet, use Quicksilver Use an application launcher Alternatives: Spotlight, Alfred.app, Launchbar http://qsapp.com/

Slide 25

Slide 25 text

What can I do with Quicksilver? Launch/switch applications Play some music

Slide 26

Slide 26 text

What can I do with Quicksilver? Browse your clipboard history Move files

Slide 27

Slide 27 text

What can I do with Quicksilver? Quickly jump right into your project folder

Slide 28

Slide 28 text

What can I do with Quicksilver? Unlimited possibilities! Master it!

Slide 29

Slide 29 text

Manage your windows with the keyboard Use spectacle.app instead http://spectacleapp.com/ Never, ever, use these buttons

Slide 30

Slide 30 text

Master the keyboard shortcuts Hotkey EVE http://hotkeyeve.github.com/eve/ Cheatsheet http://www.cheatsheetapp.com/CheatSheet/

Slide 31

Slide 31 text

Thanks for watching Now you are a little more productive