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
| // main.go | |
| package main | |
| import ( | |
| "context" | |
| "errors" | |
| "log" | |
| "net/http" | |
| "os" | |
| "os/signal" |
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
| git log --format=format: --name-only --since=12.month| egrep -v '^$' | sort | uniq -c | sort -nr | head -50 |
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
| defmodule CustomerManagement.Accounts do | |
| @moduledoc """ | |
| Accounts context. | |
| Use this context for any interaction with business rules with person or company related. | |
| """ | |
| alias CustomerManagement.Accounts.Person | |
| alias CustomerManagement.Accounts.Commands.CreatePersonCommand |
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
| defmodule CustomerManagement.Origination.Commands.CreateProposalCommand do | |
| use Ecto.Schema | |
| import Ecto.Changeset | |
| alias MyApp.Repo | |
| alias Ecto.Multi | |
| alias CustomerManagement.Origination.Proposal | |
| alias CustomerManagement.Origination.Events.ProposalCreatedEvent | |
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
| "realty_regularized" => $bean->realty_regularized_c, | |
| "description" => $bean->description, | |
| "guarantee_address_state" => $bean->guarantee_address_state_c, | |
| "primary_phone_number" => $bean->primary_phone_number_c, | |
| "digital_signature" => $bean->digital_signature_c, | |
| "trading_name" => $bean->trading_name_c, | |
| "registration_reason" => $bean->registration_reason_c, | |
| "realty_registred" => $bean->realty_registred_c, | |
| "credit_analysis_date" => $bean->credit_analysis_date_c, | |
| "amortization" => $bean->amortization_c, |
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
| { | |
| "opportunity": { | |
| "opportunity": { | |
| "sales_stage": "Lead Qualificado", | |
| "registered_realty": false, | |
| "realty_value": 15000000, | |
| "realty_type": "registred_residential_property", | |
| "payment_term": 240, | |
| "paid_value": null, | |
| "paid_realty": false, |
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
| @contract_mappings %{ | |
| external_id: %{ | |
| field: "NUMERO_CONTRATO", | |
| type: :string | |
| }, | |
| enterprise_name: %{ | |
| field: "NOME_EMPREENDIMENTO", | |
| type: :string | |
| }, | |
| enterprise_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
| helm init | |
| kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller | |
| kubectl create serviceaccount --namespace kube-system tiller | |
| kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' |
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
| SPC | |
| SPC: find file | |
| , switch buffer | |
| . browse files | |
| : MX | |
| ; EX | |
| < switch buffer | |
| ` eval | |
| u universal arg | |
| x pop up scratch |
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
| @statuses %{ | |
| "1.0 Cobrança Jurídica" => %{ | |
| "Leilão" => {:foreclosure_auction, "auction_in_progress"}, | |
| "Tentativa de Negociação" => {:notification, "attempt_to_negotiate"}, | |
| "Não Notificar (Casos de exceção)" => {:notification, "not_notify"} | |
| }, | |
| "1.1 Notificação" => %{ | |
| "Emissão" => {:notification, "notification_in_progress"}, | |
| "Envio e Custas" => {:notification, "notification_in_progress"}, | |
| "Análise do Cartório" => {:notification, "notification_in_progress"}, |
NewerOlder