-
mv a/submodule a/submodule_tmp -
git submodule deinit -f -- a/submodule -
rm -rf .git/modules/a/submodule -
git rm -f a/submodule
https://stackoverflow.com/questions/1260748/how-do-i-remove-a-submodule
mv a/submodule a/submodule_tmp
git submodule deinit -f -- a/submodule
rm -rf .git/modules/a/submodule
git rm -f a/submodule
https://stackoverflow.com/questions/1260748/how-do-i-remove-a-submodule
git clone https://<Bitbucket_Username>@bitbucket.org/<Bitbucket_Username>/<Repo_Name>.gitcd <Repo_Name>
git remote add upstream https://github.com/<Bitbucket_Username>/<Repo_Name>.gitType in the Windows file explorer :
\\wsl$\docker-desktop-data\data\docker\volumes\\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\You will have one directory per volume.
| @WebSocketGateway() | |
| export class ChatGateway | |
| implements OnGatewayInit | |
| { | |
| constructor( | |
| private roomService: RoomService | |
| ) {} | |
| @WebSocketServer() | |
| public server: Server = new Server(); |
| // Executing the callback after number of milliseconds. | |
| const debound = (callback, delay) => { | |
| let timeout = 0; | |
| return (...args) => { | |
| clearTimeout(timeout); | |
| timeout = setTimeout(() => { | |
| callback(...args); | |
| }, delay); | |
| } |