Skip to content

Instantly share code, notes, and snippets.

@goodtouch
goodtouch / osx-for-hackers.sh
Created May 18, 2016 10:30 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
require "time"
require "date"
class Date
def to_time
Time.local(year, month, day)
end
end
class Time