- Install Google Chrome
- Install Homebrew - http://brew.sh/
- Install GnuPG -
brew install gnupg2
- Generate SSH key -
ssh-keygen -t rsa -b 4096 -C "[email protected]"
- Install node, npm, n
- Git -
brew install git
- Add SSH public key to Github, Bitbucket.
- Restore pgp key https://dev.to/gkucmierz/how-to-make-my-git-contributions-verified-2e76
- To delete words with alt+backspace in Terminal, go to Preferences > (your profile) > Keyboard > Use option as meta key.
- Sublime Text shortcut:
sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// (as: Array[Array[A]]) => Array[A] | |
function flatten (as) { | |
return as.reduce((a, b) => a.concat(b), []) | |
} | |
// (as: Array[A], a: A) => Array[A] | |
function without (as, a) { | |
const bs = as.slice(0) | |
bs.splice(as.indexOf(a), 1) | |
return bs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$names = array('Apollona', | |
'Apollina', | |
'Apolonia', | |
'Arabella', | |
'Ariadna', | |
'Arleta', | |
'Arnolda', | |
'Astryda', | |
'Atena', | |
'Augusta', |