Skip to content

Instantly share code, notes, and snippets.

video: https://youtu.be/8EXS9wR0VRc

A lean organization understands customer value and focuses its key processes to continuously increase it. The ultimate goal is to provide perfect value to the customer through a perfect value creation process that has zero waste.

To accomplish this, lean thinking changes the focus of management from optimizing separate technologies, assets, and vertical departments to optimizing the flow of products and services through entire value streams that flow horizontally across technologies, assets, and departments to customers.

Eliminating waste along entire value streams, instead of at isolated points, creates processes that need less human effort, less space, less capital, and less time to make products and services at far less costs and with much fewer defects, compared with traditional business systems. Companies are able to respond to changing customer desires with high variety, high quality, low cost, and with very fast throughput times. Also, information management becom

Princípios por trás do Manifesto Ágil

Nós seguimos estes princípios:

Nossa maior prioridade é satisfazer o cliente através da entrega contínua e adiantada de software com valor agregado.

Mudanças nos requisitos são bem-vindas,

@airtonGit
airtonGit / nginx-symfony.conf
Created May 21, 2020 17:08
nginx symfony config
server {
server_name domain.tld www.domain.tld;
root /var/www/project/public;
location / {
# try to serve file directly, fallback to index.php
try_files $uri /index.php$is_args$args;
}
# optionally disable falling back to PHP script for the asset directories;
package main
import (
"context"
"fmt"
"log"
"net/http"
"os"
"os/signal"
"sync"
@airtonGit
airtonGit / Dockerfile
Created May 18, 2020 19:39
Exemplo de Dockerfile para gerar imagem de microserviço em GO
FROM golang as build-env
WORKDIR /app
ADD ./vendor/* /go/src/github.com/
ADD . /app
ENV GOOS=linux
ENV GOARCH=amd64
ENV CGO_ENABLED=0
RUN cd /app && go build -o app
@airtonGit
airtonGit / nginx-reverse-proxy.conf
Created May 16, 2020 21:37
Exemplo simples nginx reverse proxy
server {
listen 80;
server_name localhost;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
location /api/ {
proxy_pass http://localhost:5000/;
}
@airtonGit
airtonGit / drone-pipeline.yaml
Created May 16, 2020 18:34
Exemplo de drone.io CI/CD pipeline
name: default
kind: pipeline
type: docker
steps:
- name: backend
image: golang
commands:
- go get
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2 # tells deployment to run 2 pods matching the template
template:
@airtonGit
airtonGit / Kubernetes.md
Last active May 18, 2020 18:08
Migrando do Docker Swarm para Kubernetes, comandos lado a lado e identificando problemas

Kubernetes vs Docker

swarm kubernetes
docker service list kubectl get pods
docker service logs service-name kubectl logs deployment-name container-name
docker exec -it container-id command kubectl exec -it pod-name [-c container-name] -- command
kubectl describe pod/srv pod-name/srv-name

Container Image Auto Update