Skip to content

Instantly share code, notes, and snippets.

View datwright's full-sized avatar
🤠
YEEHAW

Dave Wright datwright

🤠
YEEHAW
View GitHub Profile
require 'csv'
def transform_merge(csv_file)
CSV.open(@csv_file).read.each do |line|
end
end
def multiple_merge(inputs)
errors = []
@datwright
datwright / gist:7755579
Created December 2, 2013 19:23
Customize OSX terminal. Put this in your ~/.bash_profile \u is the username \h is the current host \w is the current directory
# \u is the username
# \h is the current host
# \w is the current directory
function prompt {
local GRAY="\[\033[0;37m\]"
local WHITE="\[\033[1;37m\]"
local GREEN="\[\033[0;32m\]"
local CYAN="\[\033[0;36m\]"