Step | Questions |
---|---|
Change Request | Why? What? How? |
Confirmation | Metrics, Success/Failure criteria; |
Execution | Given/When/Then? How Long? How Many? What is Required? Inputs/Outputs/Trends? |
Decisions and Artifacts | Automated metric grabber (per hour, per day); Side effects |
This file contains 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
{ | |
// ... trimmed ... | |
"todo-tree.general.tags": [ | |
"BUG", | |
"HACK", | |
"FIXME", | |
"TODO", | |
"XXX", | |
"[ ]", | |
"[x]", |
This file contains 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
#!/usr/bin/env bash | |
# shellcheck disable=SC2155,SC2034,SC2059 | |
# get script directory | |
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
# is allowed to use macOS extensions (script can be executed in *nix environment) | |
use_macos_extensions=false | |
if [[ "$OSTYPE" == "darwin"* ]]; then use_macos_extensions=true; fi |
This file contains 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 { glob } from 'glob' | |
import fs from 'node:fs' | |
const cwd = { | |
message: `Current working directory (ex. ~/project, ../project, ./project):`, | |
type: `autocomplete`, | |
limit: 10, | |
choices: [ | |
/* force prompts to render 10 lines */ | |
{ title: `Current working directory`, value: process.cwd() }, |
This file contains 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
// Here's a sample binary tree node class: | |
open class BinaryTreeNode constructor(var value: Int) { | |
var left: BinaryTreeNode = Empty | |
protected set | |
var right: BinaryTreeNode = Empty | |
protected set | |
fun insertLeft(leftValue: Int): BinaryTreeNode { | |
check(leftValue >= 0) { "Expected only positive values" } | |
this.left = BinaryTreeNode(leftValue) |
- Does the code work?
- Description of the project status is included.
- Code is easily understand.
- Code is written following the coding standarts/guidelines (React in our case).
- Code is in sync with existing code patterns/technologies.
- DRY. Is the same code duplicated more than twice?
This file contains 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
## build production version | |
# https://hub.docker.com/_/node | |
# FROM node:16 as build-dev | |
# FROM node:16-alpine as build-dev | |
FROM cypress/base:16 as build-dev | |
WORKDIR /app | |
# copy project source code into docker container folder | |
# .dockerignore configures what to skip during the execution |
This file contains 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
#!/usr/bin/env bash | |
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
container_name=${CI_CONTAINER_NAME:="hvc-csp"} | |
container_port=${CI_CONTAINER_PORT:=8081} | |
# include other scripts | |
# shellcheck disable=SC1090 source=./dependencies.sh | |
source "$SCRIPT_DIR/dependencies.sh" |
This file contains 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
#!/usr/bin/env bash | |
# shellcheck disable=SC2086 | |
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
# include other scripts | |
# shellcheck disable=SC1090 source=dependencies.sh | |
source "$SCRIPT_DIR/dependencies.sh" | |
# shellcheck disable=SC1090 source=commons.sh | |
source "$SCRIPT_DIR/commons.sh" |
This file contains 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
#!/usr/bin/env bash | |
# shellcheck disable=SC2155,SC2034,SC2059 | |
# get script directory | |
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
# is allowed to use macOS extensions (script can be executed in *nix environment) | |
use_macos_extensions=false | |
if [[ "$OSTYPE" == "darwin"* ]]; then use_macos_extensions=true; fi |
NewerOlder