Skip to content

Instantly share code, notes, and snippets.

View freshlogic's full-sized avatar

Shawn Miller freshlogic

View GitHub Profile
@freshlogic
freshlogic / init.sh
Last active June 15, 2021 16:55
This is for Mac computers with Intel processors
# This is for Mac computers with Intel processors
# For Mac computers with Apple silicon (https://support.apple.com/en-us/HT211814) see https://gist.github.com/freshlogic/fa3dcc44eedd36b4602d541ccd5b4368
# Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
# MongoDB
brew tap mongodb/brew
brew install [email protected]
@freshlogic
freshlogic / init.sh
Last active September 26, 2023 02:40
This is for Mac computers with Apple silicon: https://support.apple.com/en-us/HT211814
#!/bin/zsh
set -e
# Enable right clicking
defaults write com.apple.driver.AppleBluetoothMultitouch.mouse MouseButtonMode TwoButton
defaults write com.apple.driver.AppleHIDMouse Button2 -int 2
# You may need to reset the UI server or log out and back in for the changes to take effect
killall "SystemUIServer"
#!/bin/bash
# Install updates
sudo apt update -y
sudo apt -qq upgrade -y
sudo apt -qq autoremove -y > /dev/null
# Install Chromium
sudo apt install -y chromium-browser unclutter