- TDD
- Branch merge allowed via pull requests only
- Before branch merge: Linter check
- Before branch merge: Prettier check
- Before branch merge: Code Quality check
- Before branch merge: Test Coverage Check of Dev Unit Test + QA functional / integrated test automation
- Working code demo evidence
- Before branch merge: Code Review
- Before branch merge: Code Approval from concerned Product / Engineering Managers / QA
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 characters
| const getParsedQueenPosition = queenPosition => queenPosition.replace('(', '').replace(')', '').split(','); | |
| const getDiagnolAttackPositions = ({ position: queenPosition, rowIncrement, colIncrement }) => { | |
| const diagnolAttackPositions = {} | |
| const position = getParsedQueenPosition(queenPosition); | |
| const reviseRowPosition = currPosition => parseInt(currPosition) + (rowIncrement ? 1 : -1) | |
| const reviseColPosition = currPosition => parseInt(currPosition) + (colIncrement ? 1 : -1) | |
| let nextRowPosition = reviseRowPosition(position[0]); | |
| let nextColPosition = reviseColPosition(position[1]); | |
| isValidPosition = (rowPosition, colPosition) => { |
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 characters
| const calculate = (num1, operator, num2) => { | |
| switch (operator) { | |
| case '+': return num1 + num2; | |
| case '-': return num1 - num2; | |
| case '*': return num1 * num2; | |
| case '/': return num1 / num2; | |
| } | |
| } | |
| const isOperator = str => ['+','-', '*', '/'].includes(str); |
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 characters
| const https = require('https'); | |
| const callback = response => { | |
| let str = ''; | |
| response.on('data', function (chunk) { | |
| str += chunk; | |
| }); | |
| response.on('end', function () { |
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 characters
| const TimeConvert = num => `${Math.floor(num/60)}:${num%60}`; |
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 characters
| interface HashItem { | |
| value: string | |
| next: null | string | |
| } | |
| interface Hash { | |
| [key: string]: HashItem | |
| } | |
| interface ListConfig { |
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 characters
| package main | |
| import ( | |
| "testing" | |
| ) | |
| const bookCost int = 8 | |
| type purchasedBooksStruct struct { | |
| potterBooksList map[string]int |
- DataBase > Table > Character Set >
utf-8 - DataBase > Table > Collation >
utf8_general_ci - Response Headers > Content Type >
application/json; charset=utf-8 - [Frontend] Website Application > HTML > charset meta tag > utf-8 =>
<meta charset="utf-8"> - Database > Table > Column > Correct value
- SQL file > Execution >
--default-character-set=utf8
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 characters
| import AWS from 'aws-sdk'; | |
| import fs from 'fs'; | |
| const makeObjectsPrivate = () => { | |
| console.log('===================='); | |
| const data = JSON.parse(fs.readFileSync('data.json', 'utf8')); | |
| console.log('data', data); | |
| const { | |
| accessKeyId, | |
| secretAccessKey, |
- Requirement Gathering
- SRS
- PRD
- Software Application Basic Features
- Project Dependencies
- Cache Policy
- Programming Standards
- Project Dependencies