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
{ | |
"name": "kibana.mops.example.com", | |
"uuid": "0cf8c51c-2fd7-4090-ac1b-eb032a19041e", | |
"version": { | |
"number": "7.4.2", | |
"build_hash": "d7f39418dcaf7a243158b89f84bb82f39b04e5e5", | |
"build_number": 26506, | |
"build_snapshot": false | |
}, | |
"status": { |
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
module ActiveRecordStructuralOrAddition | |
def or!(other) # :nodoc: | |
raise | |
incompatible_values = structurally_incompatible_values_for_or(other) | |
unless incompatible_values.empty? | |
raise ArgumentError, "Relations passed to #or must be structurally compatible. Incompatible values: #{incompatible_values}" | |
end | |
self.where_clause = self.where_clause.or(other.where_clause) | |
self.having_clause = having_clause.or(other.having_clause) |
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
"use strict"; | |
Object.defineProperty(exports, "__esModule", { | |
value: true | |
}); | |
exports.default = tapeToJest; | |
var _imports = require("../utils/imports"); | |
var _consts = require("../utils/consts"); |
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
get('hello')(new Map([['hello', 'world']])) | |
get('hello')({hello: 'world'}) | |
get('hello')({goodbye: 'world'}) | |
get(0)(['hello world']) | |
get(0)('hello world') | |
get(0)(null) | |
get(0)(undefined) |
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 {upTo} = require("@unction/complete") | |
const {length} = require("@unction/complete") | |
const {reverse} = require("@unction/complete") | |
const {shuffle} = require("@unction/complete") | |
const {sample} = require("@unction/complete") | |
const {reduceKeys} = require("@unction/complete") | |
const {reduceWithValueKey} = require("@unction/complete") | |
const {mapValues} = require("@unction/complete") | |
const {last} = require("@unction/complete") | |
const {first} = require("@unction/complete") |
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 chunk = | |
(maximum) => | |
(list) => | |
reduceWithValueKey( | |
(accumulated) => | |
(item) => | |
(index) => { | |
const [latestChunk, ...previousChunks] = accumulated; | |
if ((length(latestChunk) !== maximum) && (length(list) === index + 1)) { |
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
{ | |
"Abbreviations": [{ | |
"det": "determiner", | |
"n": "noun", | |
"vi": "intransitive", | |
"vt": "transitive", | |
"vs": "stative", | |
"ex": "example" | |
}], | |
"Pronouns": [{ |
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
Show hidden characters
{ | |
"presets": [ | |
"@babel/preset-typescript", | |
"@babel/env", | |
"minify" | |
], | |
"plugins": [ | |
["module-resolver", {"alias": {"^@types/(.+)$": "./types/\\1"}}], | |
"@babel/plugin-syntax-dynamic-import", | |
"@babel/plugin-proposal-object-rest-spread" |
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
require "highline" | |
class RenderingEngine < Concurrent::Actor::Context | |
attr_reader :search | |
attr_reader :terminal | |
attr_reader :previous | |
attr_reader :current | |
def initialize() | |
@search = SearchEngine.spawn(:search) |
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
E0324 19:04:43.304806 1 reflector.go:134] github.com/prometheus/prometheus/discovery/kubernetes/kubernetes.go:282: Failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:default:promtail" cannot list pods at the cluster scope | |
level=debug ts=2019-03-24T19:04:49.135627749Z caller=filetargetmanager.go:130 msg="new target" labels="{__address__=\"10.32.0.4\", __meta_kubernetes_pod_container_name=\"fluentd-gcp\"}" | |
level=debug ts=2019-03-24T19:04:49.138892921Z caller=filetargetmanager.go:144 msg="ignoring target, wrong host" labels="{__address__=\"10.32.0.4\", __host__=\"gke-primary-production-default-pool-a94f2735-037l\", __meta_kubernetes_namespace=\"kube-system\", __meta_kubernetes_pod_annotation_scheduler_alpha_kubernetes_io_critical_pod=\"\", __meta_kubernetes_pod_container_name=\"fluentd-gcp\", __meta_kubernetes_pod_controller_kind=\"DaemonSet\", __meta_kubernetes_pod_controller_name=\"fluentd-gcp-v3.2.0\", __meta_kubernetes_pod_host_ip=\"10.138.0.13\", __meta_kubernetes_pod_ip=\"10.32.0. |