Skip to content

Instantly share code, notes, and snippets.

@mvoto
Last active June 15, 2018 17:24
Show Gist options
  • Select an option

  • Save mvoto/c23e555fb16202a16a1d7e9cd153a38f to your computer and use it in GitHub Desktop.

Select an option

Save mvoto/c23e555fb16202a16a1d7e9cd153a38f to your computer and use it in GitHub Desktop.

Revisions

  1. mvoto revised this gist Jun 15, 2018. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion daily_guideline.md
    Original file line number Diff line number Diff line change
    @@ -58,4 +58,6 @@ On Tmux, to adjust split screen sizes to be exac same:

    `Ctrl A + Alt 5`

    (Ctrl A is leader)
    (Ctrl A is leader)

    Avoid customizing it too much, otherwise when editing things on a server you will find it hard.
  2. mvoto revised this gist Jun 14, 2018. 1 changed file with 13 additions and 1 deletion.
    14 changes: 13 additions & 1 deletion daily_guideline.md
    Original file line number Diff line number Diff line change
    @@ -46,4 +46,16 @@ bin/rspec $(find ./spec | grep spec_files_preffix.*spec.rb$)
    * Log all SQL stuff on console:
    ```
    ActiveRecord::Base.logger = Logger.new(STDOUT)
    ```
    ```

    ### Vim and Tmux stuff

    On Vim, to adjust split screen sizes to be exac same:

    `Ctrl + w =`

    On Tmux, to adjust split screen sizes to be exac same:

    `Ctrl A + Alt 5`

    (Ctrl A is leader)
  3. mvoto revised this gist Apr 18, 2018. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions daily_guideline.md
    Original file line number Diff line number Diff line change
    @@ -42,4 +42,8 @@ bin/rspec $(find ./spec | grep spec_files_preffix.*spec.rb$)
    * Hash received or default value set:
    ```
    (config[:pool] && config[:pool].to_i) || 1
    ```
    * Log all SQL stuff on console:
    ```
    ActiveRecord::Base.logger = Logger.new(STDOUT)
    ```
  4. mvoto revised this gist Apr 16, 2018. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions daily_guideline.md
    Original file line number Diff line number Diff line change
    @@ -30,6 +30,8 @@ Delivery

    7. PR and ask for code review if all good

    ---

    Protips
    ===

  5. mvoto revised this gist Apr 10, 2018. 1 changed file with 13 additions and 1 deletion.
    14 changes: 13 additions & 1 deletion daily_guideline.md
    Original file line number Diff line number Diff line change
    @@ -28,4 +28,16 @@ Delivery

    6. Review the code and tests(if everything makes sense, quality and if there's any typos) before asking someone else's code review

    7. PR and ask for code review if all good
    7. PR and ask for code review if all good

    Protips
    ===

    * Running rspec on specific file names:
    ```
    bin/rspec $(find ./spec | grep spec_files_preffix.*spec.rb$)
    ```
    * Hash received or default value set:
    ```
    (config[:pool] && config[:pool].to_i) || 1
    ```
  6. mvoto renamed this gist Apr 10, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  7. mvoto revised this gist Apr 9, 2018. 1 changed file with 12 additions and 0 deletions.
    12 changes: 12 additions & 0 deletions development_process.md
    Original file line number Diff line number Diff line change
    @@ -1,17 +1,29 @@
    Estimation
    ===

    1. Understand the problem as much as you can(if not, ask someone for clarification)

    1.1. Break the task as much as possible in order to have an accurate estimation

    1.2. Think about edge cases(this is tricky) but it's a good exercise to try to decrease scope

    Planning
    ===

    2. Analyze code base to check if there's something similar already done(and reusable)

    Development
    ===

    3. Try to separate the task from 2 different perspectives:
    * The developer who has a better understanding of the task
    * The test writer(which is possibly the consumer) and knows almost nothing about the task

    4. Get it done

    Delivery
    ===

    5. Make real tests on it(if possible)

    6. Review the code and tests(if everything makes sense, quality and if there's any typos) before asking someone else's code review
  8. mvoto revised this gist Apr 9, 2018. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion development_process.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,19 @@
    1. Understand the problem as much as I can(if not, ask someone for clarification)
    1. Understand the problem as much as you can(if not, ask someone for clarification)

    1.1. Break the task as much as possible in order to have an accurate estimation

    1.2. Think about edge cases(this is tricky) but it's a good exercise to try to decrease scope

    2. Analyze code base to check if there's something similar already done(and reusable)

    3. Try to separate the task from 2 different perspectives:
    * The developer who has a better understanding of the task
    * The test writer(which is possibly the consumer) and knows almost nothing about the task

    4. Get it done

    5. Make real tests on it(if possible)

    6. Review the code and tests(if everything makes sense, quality and if there's any typos) before asking someone else's code review

    7. PR and ask for code review if all good
  9. mvoto revised this gist Mar 24, 2018. No changes.
  10. mvoto revised this gist Mar 24, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions development_process.md
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@
    1.2. Think about edge cases(this is tricky) but it's a good exercise to try to decrease scope
    2. Analyze code base to check if there's something similar already done(and reusable)
    3. Try to separate the task from 2 different perspectives:
    * a. The developer who has a better understanding of the task
    * b. The test writer(which is possibly the consumer) and knows almost nothing about the task
    * The developer who has a better understanding of the task
    * The test writer(which is possibly the consumer) and knows almost nothing about the task
    4. Get it done
    5. Make real tests on it(if possible)
    6. Review the code and tests(if everything makes sense, quality and if there's any typos) before asking someone else's code review
  11. mvoto revised this gist Mar 24, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions development_process.md
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@
    1.2. Think about edge cases(this is tricky) but it's a good exercise to try to decrease scope
    2. Analyze code base to check if there's something similar already done(and reusable)
    3. Try to separate the task from 2 different perspectives:
    > a. The developer who has a better understanding of the task
    > b. The test writer(which is possibly the consumer) and knows almost nothing about the task
    * a. The developer who has a better understanding of the task
    * b. The test writer(which is possibly the consumer) and knows almost nothing about the task
    4. Get it done
    5. Make real tests on it(if possible)
    6. Review the code and tests(if everything makes sense, quality and if there's any typos) before asking someone else's code review
  12. mvoto revised this gist Mar 24, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions development_process.md
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@
    1.2. Think about edge cases(this is tricky) but it's a good exercise to try to decrease scope
    2. Analyze code base to check if there's something similar already done(and reusable)
    3. Try to separate the task from 2 different perspectives:
    * The developer who has a better understanding of the task
    * The test writer(which is possibly the consumer) and knows almost nothing about the task
    > a. The developer who has a better understanding of the task
    > b. The test writer(which is possibly the consumer) and knows almost nothing about the task
    4. Get it done
    5. Make real tests on it(if possible)
    6. Review the code and tests(if everything makes sense, quality and if there's any typos) before asking someone else's code review
  13. mvoto revised this gist Mar 24, 2018. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions development_process.md
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@
    1.2. Think about edge cases(this is tricky) but it's a good exercise to try to decrease scope
    2. Analyze code base to check if there's something similar already done(and reusable)
    3. Try to separate the task from 2 different perspectives:
    a. The developer who has a better understanding of the task
    b. The test writer(which is possibly the consumer) and knows almost nothing about the task
    * The developer who has a better understanding of the task
    * The test writer(which is possibly the consumer) and knows almost nothing about the task
    4. Get it done
    5. Make real tests on it(if possible)
    6. Review the code and tests(if everything makes sense, quality and if there's any typos) before asking someone else's code review
  14. mvoto revised this gist Mar 24, 2018. 1 changed file with 11 additions and 11 deletions.
    22 changes: 11 additions & 11 deletions development_process.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    1 - Understand the problem as much as I can(if not, ask someone for clarification)
    1.1 - Break the task as much as possible in order to have an accurate estimation
    1.2 - Think about edge cases(this is tricky) but it's a good exercise to try to decrease scope
    2 - Analyze code base to check if there's something similar already done(and reusable)
    3 - Try to separate the task from 2 different perspectives:
    a - The developer who has a better understanding of the task
    b - The test writer(which is possibly the consumer) and knows almost nothing about the task
    4 - Get it done
    5 - Make real tests on it(if possible)
    6 - Review the code and tests(if everything makes sense, quality and if there's any typos) before asking someone else's code review
    7 - PR and ask for code review if all good
    1. Understand the problem as much as I can(if not, ask someone for clarification)
    1.1. Break the task as much as possible in order to have an accurate estimation
    1.2. Think about edge cases(this is tricky) but it's a good exercise to try to decrease scope
    2. Analyze code base to check if there's something similar already done(and reusable)
    3. Try to separate the task from 2 different perspectives:
    a. The developer who has a better understanding of the task
    b. The test writer(which is possibly the consumer) and knows almost nothing about the task
    4. Get it done
    5. Make real tests on it(if possible)
    6. Review the code and tests(if everything makes sense, quality and if there's any typos) before asking someone else's code review
    7. PR and ask for code review if all good
  15. mvoto created this gist Mar 24, 2018.
    11 changes: 11 additions & 0 deletions development_process.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    1 - Understand the problem as much as I can(if not, ask someone for clarification)
    1.1 - Break the task as much as possible in order to have an accurate estimation
    1.2 - Think about edge cases(this is tricky) but it's a good exercise to try to decrease scope
    2 - Analyze code base to check if there's something similar already done(and reusable)
    3 - Try to separate the task from 2 different perspectives:
    a - The developer who has a better understanding of the task
    b - The test writer(which is possibly the consumer) and knows almost nothing about the task
    4 - Get it done
    5 - Make real tests on it(if possible)
    6 - Review the code and tests(if everything makes sense, quality and if there's any typos) before asking someone else's code review
    7 - PR and ask for code review if all good