Skip to content

Instantly share code, notes, and snippets.

View lbs-rodrigo's full-sized avatar
🕷️

Rodrigo A. Batista lbs-rodrigo

🕷️
View GitHub Profile
@marcosborges
marcosborges / example_package.json
Created January 28, 2019 15:31
Angular - Trabalhando com criação dinâmica das configurações com base nas variáveis de ambiente
...
"scripts": {
"ng": "ng",
"config": "ts-node ./src/set-env.ts",
"start": "npm run config -- --environment=dev && ng serve",
"build": "npm run config && ng build --output-path=dist",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
@nrobinaubertin
nrobinaubertin / app.component.ts
Created January 17, 2017 13:36
Exemple of ngb-date-parser-formatter implementation (ng-bootstrap)
import { NgbDatepickerConfig, NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
import { NgbDateFRParserFormatter } from "./ngb-date-fr-parser-formatter"
@Component({
providers: [{provide: NgbDateParserFormatter, useClass: NgbDateFRParserFormatter}]
})
export class AppComponent {}