How to import and indicate empty request or reply messages:
import "google/protobuf/empty.proto";
service SomeService {
rpc SomeOperation (google.protobuf.Empty) returns (google.protobuf.Empty) {}
}
| groups: | |
| - name: node_exporter_alerts | |
| rules: | |
| - alert: Node down | |
| expr: up{job="monitoring-pi"} == 0 | |
| for: 2m | |
| labels: | |
| severity: warning | |
| annotations: | |
| title: Node {{ $labels.instance }} is down |
How to import and indicate empty request or reply messages:
import "google/protobuf/empty.proto";
service SomeService {
rpc SomeOperation (google.protobuf.Empty) returns (google.protobuf.Empty) {}
}
| npx -p @angular/cli ng new hello-world-project | |
| then locally can run | |
| npx ng g c hello-world-component | |
| 'use strict'; | |
| var should = require('should'); | |
| var app = require('../../app'); | |
| var request = require('supertest')(app); | |
| describe('GET /api/incidents', function() { | |
| it('should require authorization', function(done) { | |
| request |
| const atimport = require("postcss-import"); | |
| const { dest, src, task } = require("gulp"); | |
| const postcss = require("gulp-postcss"); | |
| const purgecss = require("@fullhuman/postcss-purgecss"); | |
| const tailwindcss = require("tailwindcss"); | |
| const TAILWIND_CONFIG = "./tailwind.config.js"; | |
| const SOURCE_STYLESHEET = "./src/style.css"; | |
| const DESTINATION_STYLESHEET = "./build/style.css"; |
| { | |
| "presets": ["env"] | |
| } |
| import {CanDeactivate, Router} from '@angular/router'; | |
| import {Injectable} from '@angular/core'; | |
| import {Observable} from 'rxjs/Observable'; | |
| import {Observer} from 'rxjs/Observer'; | |
| import {MatDialog, MatDialogRef, MAT_DIALOG_DATA} from '@angular/material'; | |
| export interface CanComponentDeactivate { | |
| canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean; | |
| } |
| /// <reference path="../../library.test.d.ts"/> | |
| import * as angular from "angular"; angular; | |
| import * as mocks from "angular-mocks/ngMock"; mocks; | |
| describe('feat(localStorage Mock): ', function() { | |
| beforeAll(() => { | |
| angular.module('mock-module',[]) | |
| }); |