Skip to content

Instantly share code, notes, and snippets.

View JoeyPinilla's full-sized avatar

Joey Pinilla JoeyPinilla

  • Independent
  • United States
View GitHub Profile
if [ -f "$rvm_path/scripts/rvm" ]; then
source "$rvm_path/scripts/rvm"
if [ -f ".rvmrc" ]; then
source ".rvmrc"
fi
if [ -f ".ruby-version" ]; then
rvm use `cat .ruby-version`
fi
@JoeyPinilla
JoeyPinilla / OSX Development System Maintenance Tasks
Created October 2, 2016 22:54 — forked from kevinelliott/OSX Development System Maintenance Tasks
OSX 10.8 Mountain Lion Development System Maintenance Tasks
#OSX 10.8 Mountain Lion Development System Maintenance Tasks
Tasks necessary to maintain a healthy OSX development system environment. Some tasks should be performed daily, weekly, and monthly.
##Daily
* Empty Trash
* Time Machine is automatically keeping daily backups locally, and a weekly Time Machine backup (automatic when you plug in the Time Machine external drive) will capture these. More frequent Time Machine synchronizations to the external drive could/should occur.
##Weekly
@JoeyPinilla
JoeyPinilla / macos-sierra-commands.sh
Created January 24, 2017 21:23 — forked from ProfFrnswrth/macos-sierra-commands.sh
Updating to macOS Sierra Developer Preview 1 directly from Apple
## based on https://github.com/lioonline/OS-X-El-Capitan
## pkg file link - http://osxapps.itunes.apple.com/apple-assets-us-std-000001/Purple30/v4/cc/62/24/cc62243b-7ed7-74cd-d47e-374bc470ecdf/diu414781394017735583.pkg
# !!IMPORTANT!! Run this from folder where you have downloaded or copied diu414781394017735583.pkg file
#create a tmp folder
mkdir sierraRoot && cd sierraRoot
#create a folder structure to match apple server
sudo mkdir -p ./apple-assets-us-std-000001/Purple30/v4/cc/62/24/cc62243b-7ed7-74cd-d47e-374bc470ecdf/