Não use UUID
como PK nas tabelas do seu banco de dados.
This file contains 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
spec: | |
template: | |
spec: | |
containers: | |
- name: {{ .Chart.Name }} | |
# ... | |
# | |
## Application health checks | |
# initialDelaySeconds: Number of seconds after the container has started before startup, liveness or readiness probes are initiated. | |
# periodSeconds: How often (in seconds) to perform the probe. Default to 10 seconds. The minimum value is 1. |
This file contains 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
diff --git lib/hive/acquisitions/document_template.ex lib/hive/acquisitions/document_template.ex | |
index 411b0d8a..2ce227ee 100644 | |
--- lib/hive/acquisitions/document_template.ex | |
+++ lib/hive/acquisitions/document_template.ex | |
@@ -21,7 +21,21 @@ defmodule Hive.Acquisitions.DocumentTemplate do | |
has_many( | |
:processes_templates, | |
- through: [:processes_templates_documents_templates, :process_template] | |
+ through: [:processes_templates_documents_templates, :process_template], |
This file contains 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
{ | |
"functions": "~`(function() {\n var hueStep = 2", | |
"blue-1": "color(~`colorPalette(\"@{blue-6}\", 1)`)", | |
"blue-2": "color(~`colorPalette(\"@{blue-6}\", 2)`)", | |
"blue-3": "color(~`colorPalette(\"@{blue-6}\", 3)`)", | |
"blue-4": "color(~`colorPalette(\"@{blue-6}\", 4)`)", | |
"blue-5": "color(~`colorPalette(\"@{blue-6}\", 5)`)", | |
"blue-6": "#1890ff", | |
"blue-7": "color(~`colorPalette(\"@{blue-6}\", 7)`)", | |
"blue-8": "color(~`colorPalette(\"@{blue-6}\", 8)`)", |
This file contains 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
diff --git i/src/components/Pages/Sections/GenericSection.tsx w/src/components/Pages/Sections/GenericSection.tsx | |
index 0e58d20..8a04ac7 100644 | |
--- i/src/components/Pages/Sections/GenericSection.tsx | |
+++ w/src/components/Pages/Sections/GenericSection.tsx | |
@@ -2,17 +2,19 @@ import * as React from 'react'; | |
import { Theme, withStyles, WithStyles, StyleRules } from 'material-ui/styles'; | |
-import Section, { SectionColor, SectionProps } from '../../../ui/Section'; | |
+import { MetaInfo } from '../../PrismicRender'; |
This file contains 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
import * as React from 'react'; | |
import * as classNames from 'classnames'; | |
import { Theme } from 'material-ui/styles'; | |
import { withStyles, WithStyles, StandardProps } from 'material-ui'; | |
import MButton, { ButtonProps, ButtonClassKey } from 'material-ui/Button'; | |
export const styles = (theme: Theme) => ({ | |
root: { | |
borderRadius: 4, |
This file contains 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
{ | |
"body": { | |
"message": { | |
"body": "#PID<0.16608.4> running Hive.Endpoint terminated\nServer: hive-staging.yube.com.br:80 (http)\nRequest: POST /graphql\n** (exit) an exception was raised:\n ** (KeyError) key :value not found in: %Absinthe.Blueprint.Input.Object{errors: [], fields: [%Absinthe.Blueprint.Input.Field{errors: [], flags: %{}, input_value: %Absinthe.Blueprint.Input.Value{data: nil, literal: %Absinthe.Blueprint.Input.String{errors: [], flags: %{}, schema_node: nil, source_location: nil, value: \"input.content.cpf-front\"}, normalized: %Absinthe.Blueprint.Input.String{errors: [], flags: %{}, schema_node: nil, source_location: nil, value: \"input.content.cpf-front\"}, schema_node: nil}, name: \"cpf-front\", schema_node: nil, source_location: nil}, %Absinthe.Blueprint.Input.Field{errors: [], flags: %{}, input_value: %Absinthe.Blueprint.Input.Value{data: nil, literal: %Absinthe.Blueprint.Input.String{errors: [], flags: %{}, schema_node: nil, source_location: nil, value: \"rj\"}, normalized: |
This file contains 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/sh | |
usage() { | |
echo " | |
sh <( curl -sSL https://gist.githubusercontent.com/gullitmiranda/53488e29cd52c1b9a9685c65a0b49e7f/raw/80fb0c4007b2c3964fc66f00312b50c15892fe3e/docker_dc.sh ) IMAGE_MATCH | |
" | |
} | |
IMAGE_MATCH=${1:-$IMAGE_MATCH} |
This file contains 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
react-native-git-upgrade --verbose | |
git-upgrade info Check for updates | |
git-upgrade info Using yarn 0.19.1 | |
git-upgrade info Read package.json files | |
git-upgrade info Check declared version | |
git-upgrade info Check matching versions | |
git-upgrade info Check React peer dependency | |
git-upgrade info Check that Git is installed | |
git-upgrade info Get information from NPM registry | |
{ |
This file contains 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 | |
function valid_required_envs() { | |
# Configs | |
required_envs=(KUBE_CONTEXT KUBE_SERVER) | |
# Securities | |
required_envs+=(KUBE_CERTIFICATE_AUTHORITY) | |
required_envs+=(KUBE_CLIENT_CERTIFICATE KUBE_CLIENT_KEY) | |
errors=() |
NewerOlder