Skip to content

Instantly share code, notes, and snippets.

View nhaancs's full-sized avatar

Nhan Nguyen (Nathan) nhaancs

View GitHub Profile
@Xotabu4
Xotabu4 / Dokerfile
Created February 28, 2017 12:16
Simplest way to start protractor in container (as far as i know). Comments are welcome!
FROM node:7
COPY . /e2e
WORKDIR /e2e
RUN npm install
CMD npm test
@chaman-k
chaman-k / app.component.ts
Created March 3, 2019 09:10
Compress images in Angular recursively using rxJS
import { Component } from '@angular/core';
import { map, expand } from 'rxjs/operators';
import { EMPTY } from 'rxjs';
import { CompressorService } from './compressor.service';
@Component({
selector: 'app-root',
template: '<input type="file" (change)="process($event)" multiple/>',
styles: ['']
})
@trungvose
trungvose / nx-structure-angular-nestjs.md
Last active July 16, 2024 05:15
Nx workspace structure for NestJS and Angular

Nx

https://nx.dev/

Nx is a suite of powerful, extensible dev tools to help you architect, test, and build at any scale — integrating seamlessly with modern technologies and libraries while providing a robust CLI, caching, dependency management, and more.

It has first-class support for many frontend and backend technologies, so its documentation comes in multiple flavours.

Principles