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
| WITH target_tables AS ( | |
| SELECT DISTINCT(constr.relname) | |
| FROM pg_class constr | |
| JOIN pg_namespace nmsp ON nmsp.oid = constr.relnamespace | |
| LEFT join pg_attribute attrs ON constr.oid = attrs.attrelid | |
| AND attrs.attnum > 0 | |
| AND NOT attrs.attisdropped | |
| LEFT JOIN pg_type t ON attrs.atttypid = t.oid | |
| WHERE constr.relkind in ('r', 'p') | |
| AND NOT constr.relispartition |
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
| alias: Adjust Adaptive Lighting Controlled Lights While Off | |
| mode: restart | |
| triggers: | |
| - trigger: time_pattern | |
| minutes: /5 | |
| variables: | |
| adjust_hue: true | |
| adjust_inovelli: true | |
| - trigger: state | |
| entity_id: !include ../../entity_lists/adaptive-lighting.yaml |
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 | |
| set -e | |
| JQ="jq --raw-output --exit-status" | |
| if [ -x "$(command -v kustomize)" ]; then | |
| KUSTOMIZE="kustomize build" | |
| else | |
| KUSTOMIZE="kubectl kustomize" |
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
| apiVersion: apiextensions.k8s.io/v1beta1 | |
| kind: CustomResourceDefinition | |
| metadata: | |
| name: managedcertificates.networking.gke.io | |
| spec: | |
| group: networking.gke.io | |
| names: | |
| kind: ManagedCertificate | |
| plural: managedcertificates | |
| shortNames: |
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
| /* @flow */ | |
| import { | |
| forOwn, | |
| size, | |
| get, | |
| transform, | |
| noop, | |
| } from 'lodash'; |
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
| /* @flow */ | |
| import React, { type Element } from 'react'; | |
| import Relay from 'react-relay/classic'; | |
| class CreateListMutation extends Relay.Mutation { | |
| static fragments = { | |
| viewer: () => Relay.QL` | |
| fragment on User { | |
| id |
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 | |
| set -e | |
| JQ="jq --raw-output --exit-status" | |
| # @env region | |
| # @env task_family | |
| # @returns via stderr | |
| locate-task() { |
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 | |
| set -e | |
| JQ="jq --raw-output --exit-status" | |
| escape-json() { | |
| python -c "import sys; import json; sys.stdout.write(json.dumps(sys.stdin.read().strip())[1:-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
| var through = require('through2'); | |
| var setup = function(b, cb) { | |
| b.on('reset', cb); | |
| cb(); | |
| }; | |
| module.exports = function offsetify(b, externalBundles) { | |
| setup(b, function() { | |
| b.pipeline.get('sort').push(through.obj(function(row, enc, next) { |
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
| var Liftoff = require('liftoff'); | |
| var argv = require('minimist')(process.argv.slice(2)); | |
| var invoke = function(env) { | |
| console.log('modulePath: %j', env.modulePath); | |
| console.log('configBase: %j', env.configBase); | |
| console.log('cwd: %j', env.cwd); | |
| }; | |
| var liftoff = new Liftoff({ |
NewerOlder