sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
Unfortunately nvm use on Windows does not change the node version to that specified in the .nvmrc file as its not supported on nvm for Windows: coreybutler/nvm-windows#388
So the easiest solution to this is to use a simple Powershell command that performs an approximation of the command as follows:
nvm use $(Get-Content .nvmrc).replace( 'v', '' );
However, thats a bit awkward and we can do a bit more so instead, we can create an 'alias' to a function that calls the command instead:
function callnvm() {
| # Parameters for load testing (adjust as needed) | |
| $duration = "30s" # Duration for the test | |
| $concurrentConnections = 50 # Number of concurrent connections | |
| $queryPerSecond = 10 # Queries per second | |
| # Parameters for load testing (adjust as needed) | |
| $duration = "30s" # Duration for the test | |
| $concurrentConnections = 50 # Number of concurrent connections | |
| $queryPerSecond = 10 # Queries per second |
Gives the reviewer some context about the work and why this change is being made, the WHY you are doing this. This field goes more into the product perspective.
Provide a detailed description of how exactly this task will be accomplished. This can be something technical. What specific steps will be taken to achieve the goal? This should include details on service integration, job logic, implementation, etc.
This is where becomes technical. Here is where you can be more focused on the engineering side of your solution. Include information about the functionality they are adding or modifying, as well as any refactoring or improvement of existing code.
| import excelJS from 'exceljs' | |
| export interface ISheetExcel { | |
| columns: Array<string> | |
| rows: Array<ObjectI> | |
| sheetName: string, | |
| } | |
| export interface ITablesExcel { | |
| sheets: Array<ISheetExcel> |
| class Base { | |
| private readonly api: string | |
| private readonly headers: HeadersInit | |
| constructor(api: string, headers: HeadersInit = {}) { | |
| this.api = api | |
| this.headers = headers | |
| } | |
| private params(params: Record<string, any>): string { |