show dbs
  
    
      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
    
  
  
    
  | ffmpeg -f avfoundation -framerate 30 -i "0" -target pal-vcd ./test-1.mpg -t 5 | 
  
    
      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
    
  
  
    
  | "log": { | |
| "command": "node script.js", | |
| "options": { | |
| "cwd": "libs/api/routing-registry" | |
| } | |
| } | 
  
    
      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
    
  
  
    
  | npm ls -g --depth=0 --link=true | 
  
    
      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
    
  
  
    
  | public poll$<T>( | |
| request$: () => Observable<T>, | |
| delayTime: number = this.getPollingInterval() | |
| ): Observable<T> { | |
| return interval(delayTime).pipe( | |
| switchMap(() => request$()) | |
| ); | |
| } | 
- Generate library
npx nx generate @nrwl/angular:library --name=location-autocomplete --directory=angular/components/core --buildable --importPath=@truckstop-components/core-location-autocomplete --prefix=tsx --publishable --standaloneConfig- Generate component
npx nx generate @schematics/angular:component --name=location-autocomplete --project=angular-components-core-location-autocomplete --style=scss --changeDetection=OnPush --export --prefix=tsx
  
    
      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
    
  
  
    
  | class Dog { | |
| sound = "barking"; | |
| } | |
| class Lion { | |
| sound = "roaring"; | |
| } | |
| const b: Lion = new Dog(); | 
  
    
      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
    
  
  
    
  | const news = [ | |
| "https://jsonplaceholder.typicode.com/posts/1", | |
| "https://jsonplaceholder.typicode.com/posts/2", | |
| "https://jsonplaceholder.typicode.com/posts/3", | |
| "https://jsonplaceholder.typicode.com/posts/4", | |
| "https://jsonplaceholder.typicode.com/posts/5", | |
| "https://jsonplaceholder.typicode.com/posts/6", | |
| "https://jsonplaceholder.typicode.com/posts/7", | |
| "https://jsonplaceholder.typicode.com/posts/8", | |
| "https://jsonplaceholder.typicode.com/posts/9", | 
  
    
      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
    
  
  
    
  | console.log('start') | |
| setTimeout(() => { | |
| console.log('setTimeout') | |
| }) | |
| Promise.resolve().then(() => { | |
| console.log('resolve') | |
| }) | |
| console.log('end') | 
  
    
      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
    
  
  
    
  | const counter = createCounter(); // { increment: Function, decrement: Function, value: Number } | |
| counter.increment(); | |
| counter.value | 
NewerOlder