See https://forums.virtualbox.org/viewtopic.php?f=8&t=90446&start=60#p455853
brew install python
brew install python2
sudo easy_install pip
sudo pip install virtualenv
virtualenv -p python3.7 .
This file contains hidden or 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
function nvm() { | |
echo "Lazy loading nvm..." | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
nvm "$@" | |
} | |
function setup-prompt() { | |
if [ -f "$(brew --prefix)/etc/bash_completion" ]; then | |
. $(brew --prefix)/etc/bash_completion |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.0</real> |
This file contains hidden or 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
# 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 |
This file contains hidden or 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug CRA Tests", | |
"type": "node", | |
"request": "launch", | |
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts", | |
"args": [ | |
"test", |
This file contains hidden or 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
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
This file contains hidden or 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
{ | |
"window.zoomLevel": 1, | |
"eslint.autoFixOnSave": true, | |
"workbench.colorCustomizations": { | |
"statusBar.background": "#000000", | |
"statusBar.noFolderBackground": "#000000" | |
}, | |
"files.trimTrailingWhitespace": true, | |
"editor.renderWhitespace": "all" | |
} |