Last active
June 15, 2018 17:24
-
-
Save mvoto/c23e555fb16202a16a1d7e9cd153a38f to your computer and use it in GitHub Desktop.
Revisions
-
mvoto revised this gist
Jun 15, 2018 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) Avoid customizing it too much, otherwise when editing things on a server you will find it hard. -
mvoto revised this gist
Jun 14, 2018 . 1 changed file with 13 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) -
mvoto revised this gist
Apr 18, 2018 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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) ``` -
mvoto revised this gist
Apr 16, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 === -
mvoto revised this gist
Apr 10, 2018 . 1 changed file with 13 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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 ``` -
mvoto renamed this gist
Apr 10, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
mvoto revised this gist
Apr 9, 2018 . 1 changed file with 12 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
mvoto revised this gist
Apr 9, 2018 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,11 +1,19 @@ 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 -
mvoto revised this gist
Mar 24, 2018 . No changes.There are no files selected for viewing
-
mvoto revised this gist
Mar 24, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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 -
mvoto revised this gist
Mar 24, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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 -
mvoto revised this gist
Mar 24, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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 -
mvoto revised this gist
Mar 24, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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 -
mvoto revised this gist
Mar 24, 2018 . 1 changed file with 11 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
mvoto created this gist
Mar 24, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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