Install homebrew: https://brew.sh/
Install Go:
brew install go| # Getting started | |
| # 1. Install homebrew: https://brew.sh/ | |
| # 2. Install nvm: https://github.com/nvm-sh/nvm | |
| # 3. Install other stuff: | |
| # brew install bash-completion | |
| # brew install git | |
| # brew install lolcat | |
| # brew install bash (then folllow instructions here: https://apple.stackexchange.com/a/292760) | |
| # 4. Run: echo "source ./.bashrc" > ~/.bash_profile | |
| # 5. Open a new iterm window |
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Debug CRA Tests", | |
| "type": "node", | |
| "request": "launch", | |
| "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts", | |
| "args": [ | |
| "test", |
| pandoc -V geometry:margin=0.5in -t latex book.epub -o out.pdf && \ | |
| pdfjam out.pdf --nup 2x1 --landscape --outfile combined.pdf |
Install homebrew: https://brew.sh/
Install Go:
brew install go| { | |
| "window.zoomLevel": 1, | |
| "eslint.autoFixOnSave": true, | |
| "workbench.colorCustomizations": { | |
| "statusBar.background": "#000000", | |
| "statusBar.noFolderBackground": "#000000" | |
| }, | |
| "files.trimTrailingWhitespace": true, | |
| "editor.renderWhitespace": "all" | |
| } |
| #!/usr/bin/env node | |
| const fs = require('fs'); | |
| const path = require('path'); | |
| const walk = require('walk'); | |
| const yargs = require('yargs'); | |
| const getOwnersForFile = require('./get-owners-for-file'); | |
| const argv = yargs.command('$0 [options] <path>', false, _yargs => { | |
| _yargs |
| shopt -s autocd | |
| shopt -s cdspell | |
| shopt -s direxpand | |
| shopt -s dirspell | |
| alias ls="ls -G" | |
| export GREP_OPTIONS='--color=always' | |
| if [ -f "$(brew --prefix)/etc/bash_completion" ]; then | |
| . $(brew --prefix)/etc/bash_completion |
| { | |
| "extends": [ | |
| "skyscanner", | |
| "prettier", | |
| "prettier/react" | |
| ], | |
| "env": { | |
| "browser": true, | |
| "jest": true | |
| }, |