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 | |
# | |
# v1.0 - 2014-09-18 | |
# | |
# downloads rar files from modern.ie and extracts them. | |
# | |
# INSTRUCTIONS: place this script in your home directory, set the executable bit, and run it. | |
URL='https://www.modern.ie/vmdownload?platform=mac&virtPlatform=vmware&browserOS=IE9-Win7&parts=4&filename=VMBuild_20131127/VMware/IE9_Win7/Mac/' | |
RAR_REGEX='IE9.Win7.For.MacVMware.part0{1.sfx,2.rar,3.rar,4.rar}' |
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 | |
# | |
# This script will recursively delete the .DS_Store file generated by Macintosh computers. | |
# It takes a single argument, the path of the directory where you wish to begin the recursive deletion. | |
# | |
# works on both Linux and Macs (with GNU find or BSD find) | |
# | |
# EXAMPLE: | |
# dsstore_cleanup.sh /path/to/directory/ | |
# |
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
#!/bin/bash | |
# | |
# Uninstall Office for Mac 2011 per http://support.microsoft.com/kb/2398768 | |
# | |
# by [email protected] | |
# Remove Office 2011 | |
rm -Rf /Applications/Microsoft\ Office\ 2011 |
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
#!/bin/bash | |
# Phone List Generator v. 2 by bill_wellington at aw.org | |
# This script will pull live data from Active Directory and output a .csv | |
# file (named as an argument) including first name, last name, department, | |
# phone ext. and mobile phone ext. It goes through a strips out all | |
# constituents who are students, members of the "Class of...", or who do | |
# not have a 4 digit extension listed in either their phone number or | |
# their mobile number. The list can then be used to generate a phone list | |
# using MS Word's mail merge functions. |
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 python | |
# | |
# This script will launch the Cisco AnyConnect Mobility Client from the | |
# command line, and using credentials stored in the the user's Logon Keychain, | |
# will initiate a connection to the VPN endpoint. | |
# | |
# Requirements: | |
# - Cisco AnyConnect Mobility Client is assumed to be installed, and in its | |
# default location. | |
# - Python 'keyring' package is assumed to be installed. Please see |
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
#!/bin/bash | |
# | |
# crashplanFixup.sh for Macintosh OS X 10.9 (and probably earlier versions) | |
# | |
# This script will prevent CrashPlan from de-duplicating data on files greater than 1k. | |
# Based on information from http://networkrockstar.ca/2013/09/speeding-up-crashplan-backups/ | |
# | |
# NOTE: Must be run with sudo! IE: $ sudo sh ./crashplanFixup | |
# | |
# v1.1 2014-03-13 by [email protected] |
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
defaults -currentHost write com.apple.Bluetooth DiscoverableState -bool no |
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
#!/bin/bash | |
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction |
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
#!/bin/bash | |
# | |
# Used to tar up all the directories in the cwd and create tgzs with the names of the original directories | |
for i in `find . -type d -depth 1`; do tar -czvf $i.tgz $i; done |
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
# | |
# | |
# | |
# first, read current exports file | |
rdfile /vol/vol0/etc/exports | |
# second, copy output to text editor, make necessary changes | |
# third, copy/paste new exports file |