To enable SSH Agent automatically on Windows, start PowerShell as an Administrator and run the following commands:
# Make sure you're running as an Administrator
Set-Service ssh-agent -StartupType Automatic
Start-Service ssh-agent
| /* Disclaimer: | |
| * This snippet is provided βAS ISβ and could contain technical inaccuracies, typographical errors and out-of-date information. | |
| * Use of the information is therefore at your (very) own risk. | |
| */ | |
| /*_____________________________________________________________________________________________________________________ | |
| * Aim | |
| * Provide some solution in case of complex constructs to manage layout from an Angular point-of-view (ex: ngx-datatable) | |
| * See: https://github.com/swimlane/ngx-datatable/issues/423 | |
| * |
To enable SSH Agent automatically on Windows, start PowerShell as an Administrator and run the following commands:
# Make sure you're running as an Administrator
Set-Service ssh-agent -StartupType Automatic
Start-Service ssh-agent
| import { Component, HostListener } from '@angular/core'; | |
| @Component({ | |
| selector: 'app-root', | |
| template: '<button (click)="addToHomeScreen()" *ngIf="showButton">Add to Home Scree</button>', | |
| styleUrls: ['./app.component.scss'] | |
| }) | |
| export class AppComponent { | |
| deferredPrompt: any; |
| COPIED FROM https://build.opensuse.org/package/view_file/games/stockfish/stockfish-interface.txt?expand=1 | |
| Description of the universal chess interface (UCI) April 2006 | |
| ================================================================= | |
| * The specification is independent of the operating system. For Windows, | |
| the engine is a normal exe file, either a console or "real" windows application. | |
| * all communication is done via standard input and output with text commands, |
| /** | |
| * Peer 1 (Sender) | |
| * Peer 2 (Receiver) | |
| * This example has both the peers in the same browser window. | |
| * In a real application, the peers would exchange their signaling data for a proper connection. | |
| * The signaling server part is omitted for simplicity | |
| */ | |
| const peer1 = new SimplePeer({ initiator: true }); | |
| const peer2 = new SimplePeer(); |
| // ==UserScript== | |
| // @name Google - restore old favicons | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Google fucked up its icons. This unfucks them. See this tweet: | |
| // https://twitter.com/Malcolm_Ocean/status/1316828432483979272 | |
| // @author @Malcolm_Ocean | |
| // @match https://mail.google.com/* | |
| // @match https://drive.google.com/* | |
| // @match https://calendar.google.com/* |
The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.
This means you have the following choices:
import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.await import(β¦) from CommonJS instead of require(β¦).