[time= 2023 09 15]
- Generating a new SSH key
$ ssh-keygenset file name: id_rsa_other_name
| code --install-extension aprilandjan.ascii-tree-generator | |
| code --install-extension dracula-theme.theme-dracula | |
| code --install-extension esbenp.prettier-vscode | |
| code --install-extension github.copilot | |
| code --install-extension github.copilot-chat | |
| code --install-extension mhutchie.git-graph | |
| code --install-extension ms-azuretools.vscode-containers | |
| code --install-extension ms-azuretools.vscode-docker | |
| code --install-extension oderwat.indent-rainbow | |
| code --install-extension rangav.vscode-thunder-client |
| type LockAsyncFunction<T extends any[], R> = (...args: T) => Promise<R>; | |
| function lockAsyncFn<T extends any[], R>( | |
| fn: LockAsyncFunction<T, R> | |
| ): LockAsyncFunction<T, R> { | |
| let locked = false; | |
| let queue: { | |
| resolve: (value: R) => void; | |
| reject: (reason: unknown) => unknown; | |
| }[] = []; |