Skip to content

Instantly share code, notes, and snippets.

View theguuholi's full-sized avatar
😃

Gustavo Oliveira theguuholi

😃
View GitHub Profile
@theguuholi
theguuholi / json
Last active December 13, 2020 11:31
[
{
"full_price": 2139.64,
"price_with_discount": 706.08,
"discount_percentage": 67.0,
"start_date": "01/08/2019",
"enrollment_semester": "2019.2",
"enabled": true,
"course": {
"name": "Engenharia Mecânica",

Principais Comandos

  • kubectl #client k8s
    • cluster-info
    • create #comando imperativo para criar objetos
      • secret #tipo do objeto
        • generic #tipo de segurança
          • #nome da chave para ser referencia em configurações
            • —from-literal #vamos adicionar a chave por comando
  • key=valor #valor de configuracao
on:
push:
branches:
- main
name: Build and Deploy a Container
env:
PROJECT_ID: ${{ secrets.GCP_PROJECT }}
SERVICE: rushing
REGION: us-central1
name: Deploy GKE
on:
push:
branches:
- main
env:
PROJECT_ID: ${{ secrets.GKE_PROJECT }}
GKE_CLUSTER: ${{ secrets.GKE_CLUSTER }}
@theguuholi
theguuholi / configvscode.md
Last active June 29, 2021 00:10
Elixir and VsCodeConfig

Plugins: ElixirLinter ElixirLS Beautify Better Comments Bracket Pair Colorizer Docker HtmlSnippets

name: CI
on: push
env:
SECRET_KEY_BASE: "KrVbpnTx/SBlnJkq/IQ+dK+OWP2dUkS98sk1y9l5+okoCU2N/kCJ2PNY1T6CS7/I"
AUTH0_CLIENT_ID: ""
AUTH0_CLIENT_SECRET: ""
HOST: "localhost"
sudo: required
language: elixir
elixir:
- '1.10'
opt_release: '22.2.6'
addons:
postgres: "9.4"
services:
sudo: required
language: elixir
elixir:
- 1.10
opt_release:
- 22.2.6
addons:
postgres: "9.4"
{
"terminal.integrated.automationShell.osx": "",
"editor.fontFamily": "FiraCode-Retina",
"emmet.includeLanguages": {
"html-eex": "html"
},
"files.associations": {
"*.eex": "html-eex",
"*.leex": "html-eex"
},
# VSCode
Plugins:
- [ ] (https://marketplace.visualstudio.com/items?itemName=HookyQR.beautify)[Beautify]