A Pen by Luís Henrique Puhl on CodePen.
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
| import { Component, OnInit } from '@angular/core'; | |
| @Component({ | |
| selector: 'app-a', | |
| templateUrl: `<p> | |
| a works! | |
| </p> | |
| <app-b>app-b</app-b>`, | |
| styleUrls: [] | |
| }) |
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
| import { Component, OnInit } from '@angular/core'; | |
| @Component({ | |
| selector: 'app-a', | |
| template: `<p>a works!</p> | |
| <app-b>app-b</app-b>` | |
| }) | |
| export class AComponent implements OnInit { | |
| constructor() { } |
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
| #!/bin/bash | |
| # the same, no tunnel. | |
| ssh remote "tar -c /some/stuff | pv | pigz" | pigz -d | tar x | |
| ### Let's start by going to the remote with SSH, also leaving a SSH-Tunnel | |
| # you@local:~ $ | |
| ssh remote -L 31000:127.0.0.1:31000 | |
| ### Then we: |
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
| #!/bin/bash | |
| # start time, to know how long it took | |
| start=`date +%s.%N`; | |
| # counter, to know how many files we processed | |
| i=0; | |
| # Max concurrent processes | |
| waitevery=60; |