Skip to content

Instantly share code, notes, and snippets.

View bytesandbeans's full-sized avatar
💀
I may be slow to respond.

Bytes & Beans bytesandbeans

💀
I may be slow to respond.
View GitHub Profile
@bytesandbeans
bytesandbeans / remove-dropboxsync.sh
Created August 22, 2016 17:00
script for removing Dropbox from a Mac
#!/bin/sh
# Is Dropbox Installe
if [ ! -d ""$HOME"/Dropbox" ]; then
e_error "DROPBOX NOT FOUND"
e_error "Without Dropbox we will exit"
e_error "EXITING"
exit 1
else
@bytesandbeans
bytesandbeans / install_mso_2016_15240.sh
Created August 17, 2016 15:39
Office 2016 Install Script
#!/bin/bash
# Determine working directory
install_dir=`dirname $0`
# Install unlicensed Office 2016
/usr/sbin/installer -dumplog -verbose -pkg $install_dir/"Microsoft_Office_2016_15.24.0_160709_Installer.pkg" -target "$3"
# Install Office 2016 15.24.0 Updates
@bytesandbeans
bytesandbeans / install-mso-postflight.sh
Created August 16, 2016 21:30
install microsoft office 2016
#!/bin/bash
# Determine working directory
install_dir=`dirname $0`
# Install unlicensed Office 2016
/usr/sbin/installer -dumplog -verbose -pkg $install_dir/"Microsoft_Office_2016_Installer.pkg" -target "$3"