This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This can probably be simplified somehow. Not sure why I need to add it in the component to init the service. | |
import { Component, OnInit } from '@angular/core'; | |
import {TitleService} from "./@core/utils/title.service"; | |
@Component({...}) | |
export class AppComponent implements OnInit { | |
constructor(private titleService: TitleService) {...} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository | |
$ git ls-files | xargs wc -l |