Skip to content

Instantly share code, notes, and snippets.

View knoxjeffrey's full-sized avatar

Jeff Knox knoxjeffrey

View GitHub Profile
@knoxjeffrey
knoxjeffrey / gist:e2832abd231d51aac8db
Created December 11, 2014 12:43
module while loop
module Text
def self.print_string(text)
puts "\n*** #{text} ***"
end
def self.chomp_it
gets.chomp
end
end
@knoxjeffrey
knoxjeffrey / config_issue
Created December 3, 2014 16:23
.git/config problem when opening
Last login: Wed Dec 3 00:10:05 on ttys000
/Users/knoxjeffrey/Ruby/programming_introduction/.git/config ; exit;
Jeffreys-MacBook-Pro:~ knoxjeffrey$ /Users/knoxjeffrey/Ruby/programming_introduction/.git/config ; exit;
/Users/knoxjeffrey/Ruby/programming_introduction/.git/config: line 1: [core]: command not found
/Users/knoxjeffrey/Ruby/programming_introduction/.git/config: line 2: repositoryformatversion: command not found
/Users/knoxjeffrey/Ruby/programming_introduction/.git/config: line 3: filemode: command not found
/Users/knoxjeffrey/Ruby/programming_introduction/.git/config: line 4: bare: command not found
/Users/knoxjeffrey/Ruby/programming_introduction/.git/config: line 5: logallrefupdates: command not found
/Users/knoxjeffrey/Ruby/programming_introduction/.git/config: line 6: ignorecase: command not found
/Users/knoxjeffrey/Ruby/programming_introduction/.git/config: line 7: precomposeunicode: command not found