P R O D U C T I V I T Y T I P S
F O R D E V E L O P E R S
S E B A S T I A N W I T O W S K I
@ S e b a W i t o w s k i
Done with “Karabinier elements” software
D O T F I L E S
. b a s h r c , . v i m r c , . g i t c o n f i g
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias ll='ls -al'
alias g="git"
alias ga="git add"
alias gb="git branch"
alias gci="git commit"
alias prod1='ssh production-server-01‘
alias prod2='ssh production-server-02’
alias chown='chown --preserve-root'
Source: https://github.com/switowski/dotfiles/blob/master/.aliases.symlink
D O T F I L E S
. b a s h r c , . v i m r c , . g i t c o n f i g
syntax enable " enable syntax processing
set number " display line numbers
set showcmd " show command in bottom bar
set showmatch " higlight matching parenthesis
set history=1000 " store lots of :cmdline history
set incsearch " search as characters are entered
" Allow saving of files as sudo
command W w !sudo tee % > /dev/null
" Pressing s will toggle and untoggle spell checking
map s :setlocal spell!
Source: https://github.com/switowski/dotfiles/blob/master/.vimrc.symlink
D O T F I L E S
. b a s h r c , . v i m r c , . g i t c o n f i g
[alias]
ci = commit
co = checkout
d = diff
l = log
# Squash last N commits together
squash = "!f(){ git reset --soft HEAD~${1} && …; };f"
# Checkout a PR (usage: git copr 1234)
copr = "!f() { git fetch -fu ${2:-origin} …; }; f"
# Merge GitHub pull request on top of the `master` branch
...
Source: https://github.com/switowski/dotfiles/blob/master/git/.gitconfig.symlink
T E X T E X PA N D E R S
M A C B O O K T O U C H B A R C U S T O M I Z AT I O N
How to customize it: https://vas3k.com/blog/touchbar/
Tool that I use: BetterTouchTool
W H AT A R E Y O U R T R I C K S ?
@ S e b a W i t o w s k i
S l i d e s : b i t . l y / d e v - t r i c k s

Productivity tips for developers

  • 1.
    P R OD U C T I V I T Y T I P S F O R D E V E L O P E R S S E B A S T I A N W I T O W S K I @ S e b a W i t o w s k i
  • 3.
    Done with “Karabinierelements” software
  • 7.
    D O TF I L E S . b a s h r c , . v i m r c , . g i t c o n f i g alias ..="cd .." alias ...="cd ../.." alias ....="cd ../../.." alias ll='ls -al' alias g="git" alias ga="git add" alias gb="git branch" alias gci="git commit" alias prod1='ssh production-server-01‘ alias prod2='ssh production-server-02’ alias chown='chown --preserve-root' Source: https://github.com/switowski/dotfiles/blob/master/.aliases.symlink
  • 8.
    D O TF I L E S . b a s h r c , . v i m r c , . g i t c o n f i g syntax enable " enable syntax processing set number " display line numbers set showcmd " show command in bottom bar set showmatch " higlight matching parenthesis set history=1000 " store lots of :cmdline history set incsearch " search as characters are entered " Allow saving of files as sudo command W w !sudo tee % > /dev/null " Pressing s will toggle and untoggle spell checking map s :setlocal spell! Source: https://github.com/switowski/dotfiles/blob/master/.vimrc.symlink
  • 9.
    D O TF I L E S . b a s h r c , . v i m r c , . g i t c o n f i g [alias] ci = commit co = checkout d = diff l = log # Squash last N commits together squash = "!f(){ git reset --soft HEAD~${1} && …; };f" # Checkout a PR (usage: git copr 1234) copr = "!f() { git fetch -fu ${2:-origin} …; }; f" # Merge GitHub pull request on top of the `master` branch ... Source: https://github.com/switowski/dotfiles/blob/master/git/.gitconfig.symlink
  • 10.
    T E XT E X PA N D E R S
  • 11.
    M A CB O O K T O U C H B A R C U S T O M I Z AT I O N How to customize it: https://vas3k.com/blog/touchbar/ Tool that I use: BetterTouchTool
  • 12.
    W H ATA R E Y O U R T R I C K S ? @ S e b a W i t o w s k i S l i d e s : b i t . l y / d e v - t r i c k s