Monday, February 25, 2013

Must-know terminal Rails commands

rails g controller Comments method1 method2 method3 (...)
rails g model Comment text:text user_id:integer
rails g migration (check on documentation for change_column etc.)

bundle exec rake db:migrate
bundle exec rake assets:recompile

On Heroku:
heroku run bundle exec rake db:migrate

heroku run bundle exec rake assets:recompile

Wednesday, February 20, 2013

The importance of Telling

Writing things down helps me remember.

It helps me encapsulate things in a way that I can return to it later on.

It helps me improve my writing skills. When you know other people read it, you try to make it great.

Hopefully, it'll help others.


Sunday, February 17, 2013

The Importance of Finishing Stuff

Getting things done is a very important topic.

When you get things done you:
1. Remove it from your RAM, your short time memory.
2. You give your self the option to improve it.
3. You leave more time to other things you want to do.
4. You feel good.


Go back to my Stance

Karate moves start usually from a standart stance.
A Chita start its chase from a standart stance.
A baseball player is only ready to hit the ball when he/she in his/her stance.

When I want to think, be productive, learn or whatever, I get into my Stance.

Let's look at a structure of some situation.

You're doing something. You've prepared some documents. You feel you're ready. Then something happen. You don't know what to do next. You are stuck. You go watch some TV. Next day you forget about it and start all over again.

This scenario happens almost everyday to me.

Nothing is wrong in this scenario, except the event of forgetting. It's ok to be stuck. It only means you didn't think of something. Everyone don't think of everything. It's really OK.
But.
You do need to know that you will forget stuff. When you'll forget it, you need to not do all the work you've done so far. Knowing my Stance helps me not doing extra work.

Googling "Stance define" gives:
The way in which someone stands, esp. when deliberately adopted (as in baseball, golf, and other sports); a person's posture.
I look at it as a mindset. It's a structured mindset.

Usually when I'm confronted with an issue, I think of several possibilities to address it. This is the start of my Stance. When I'm out of focus, I zoom out back to my Stance.

Things I do to get back to my stance:
1. Read a book - don't worry. You don't have to read the whole book. I just read few pages and then a new idea pops into my mind.
2. Write what I need to do.


How I Feel when in my Stance?
I am relaxed.
I want to address the issue.
I dream how it will look/feel when it will be ready/over/done.