git clone ssh://[email protected]/repo.git
git init
| import { | |
| Controller, Get, Delete, Param, HttpCode, Patch, Body, Req, UseGuards, Next | |
| } from '@nestjs/common'; | |
| import {UsersService} from '@services'; | |
| import {UserValidationPipe, UserValidatorPipeOptions} from '@pipes'; | |
| import {UserDto} from '@dtos'; | |
| import {NextFunction, Request} from 'express'; | |
| import {AuthGuard} from '@guards'; | |
| import {ObjectID} from 'bson'; |
git clone ssh://[email protected]/repo.git
git init
| const AABB = { | |
| collide: (el1, el2) => { | |
| const rect1 = el1.getBoundingClientRect(); | |
| const rect2 = el2.getBoundingClientRect(); | |
| return !( | |
| rect1.top > rect2.bottom | |
| || rect1.right < rect2.left | |
| || rect1.bottom < rect2.top | |
| || rect1.left > rect2.right |