See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| /** | |
| * 1. Immediate retry | |
| * 2. delayed retry | |
| * 3. retry with backoff | |
| */ | |
| import { Injectable } from "@angular/core"; | |
| import { HttpClient } from "@angular/common/http"; | |
| import { EMPTY, Observable, of, throwError } from "rxjs"; | |
| import { |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |