This file contains 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
// tslint:disable:no-any directive-selector | |
import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core'; | |
/** | |
* Declare a variable in the template. | |
* Eg. <i *ngVar="false as variable">{{ variable | json }}</i> | |
*/ | |
@Directive({selector: '[ngVar]'}) | |
export class NgVarDirective { |
This file contains 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
#!/bin/bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |