3 ms·
Yesterday I thought about this... I picking up Rails using the 'Agile rails 4' book (by DHH). I have done many Sinatra applications using the MVC model so I'm q
by atmosx 12y ago
Yesterday I thought about this... I picking up Rails using the 'Agile rails 4' book (by DHH). I have done many Sinatra applications using the MVC model so I'm quite familiar with most concepts, all I have to do is memorise and get a better grasp of Rails structure and rails approach to problem-solving.
So I used a hack to create an easy 'note' solution adding this to my .zshrc:
n() {
# $EDITOR ~/.mynotes/"$".md
open ~/.mynotes/"$".md
}
nls() {
ls -c ~/.mynotes/ | grep "$*"
}
Then I just "mkdir ~/.mynotes". I keep mostly 'rake' and 'rails' commands and a short explanation in 'md' format. It works like a charm because most of the times, I just open the note and leave it open using MacDown (an MD editor with preview mode) + it can be synced via Dropbox and you could even add encryption if you wanted too. But I'm not sure it would work for teams, while StackNotes apparently seems to me extremely well suited for teams.
Good luck with everything!