I recorded the process for creating this at https://www.youtube.com/watch?v=H7Z6napwjW4
Fork it and see where you can take it from here.
A Pen by John Brown on CodePen.
# Enable tab completion | |
source ~/git-completion.bash | |
# colors! | |
green="\[\033[0;32m\]" | |
blue="\[\033[0;34m\]" | |
purple="\[\033[0;35m\]" | |
reset="\[\033[0m\]" | |
# Change command prompt |
// First install the Sublime Text 2/3 package named Highlighter | |
// then update the user settings here: highlighter.sublime-settings -User | |
{ | |
"highlighter_enabled": true, | |
"highlighter_regex": "(\t+ +(?![*]))|( +\t+)|[^\\x00-\\x7F]|[\u2026\u2018\u2019\u201c\u201d\u2013\u2014]|[\t ]+$", | |
"highlighter_scope_name": "invalid", | |
"highlighter_scope_name_cool": "constant.character.entity.html", | |
"highlighter_max_file_size": 1048576, | |
"highlighter_delay": 3000 |
I recorded the process for creating this at https://www.youtube.com/watch?v=H7Z6napwjW4
Fork it and see where you can take it from here.
A Pen by John Brown on CodePen.
Class name Table name In belongs_to In has_many In has_and_belongs_to_many
-----------------------------------------------------------------------------------------------------------------------
Task tasks belongs_to(:task) has_many(:tasks) has_and_belongs_to_many(:tasks)
Person people belogns_to(:person) has_many(:people) has_and_belongs_to_many(:people)
CreditCard credit_cards belongs_to(:credit_card) has_many(:credit_cards) has_and_belongs_to_many(:credit_cards)
singular plural singular snake case plural snake case plural snake case