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
#!/usr/bin/env bash | |
# Setup Homebrew | |
# Setup macOS: hidden files, keyboard press and hold etc | |
# Make hidden files visible in Finder.app | |
defaults write com.apple.finder AppleShowAllFiles yes | |
# When press and hold a key, send repeat key strokes |
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
{ | |
"variables": { | |
"fruit": "banana", | |
"vegetable": "carrot" | |
}, | |
"rerun" : 1, | |
"items": [ | |
{ | |
"uid": "desktop", | |
"type": "file", |
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
# install build essentials | |
sudo apt-get update | |
sudo apt-get install -y build-essential | |
# install from NodeSource PPA | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sudo apt-get install -y nodejs |
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
# import GPG key | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 | |
# write APT source list | |
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list | |
# Update APT cache | |
sudo apt update | |
# Install | |
sudo apt-get install -y mongodb-org |