Skip to content

Instantly share code, notes, and snippets.

View claudiobastos's full-sized avatar
🏠
Working from home

Cláudio Bastos claudiobastos

🏠
Working from home
  • Belo Horizonte, Brasil
View GitHub Profile
@claudiobastos
claudiobastos / dynatrace.md
Last active December 13, 2024 14:44
Dynatrace - 5 min Observability Overview

Dynatrace - 5 min Observability Overview

  • Produto: Dynatrace
  • Tipo: Plataforma SaaS "All-in-One"
  • Escopo: Vai além da observabilidade tradicional, oferecendo:
    • Automação de diagnóstico
    • Esteira de código
    • Business analytics
  • Vendor Lock-in: Sim, a plataforma tem algumas restrições como
  • não permite exportar telemetria
@claudiobastos
claudiobastos / .gitconfig
Created July 10, 2019 11:56
GIT ALIASES
[alias]
br = branch
changes = diff --name-status -r
ciall = commit -a
ci = commit
co = checkout
commitsde = --log --follow
criadosem = --log --dif-filter=A
dc = diff --cached
df = diff
@claudiobastos
claudiobastos / cloudbuild.yaml
Created September 10, 2018 16:14
From Push to Kubernetes : using Google Cloud Build
# build containers
steps:
# $PROJECT_ID : the project ID of the build.
# $BUILD_ID : the autogenerated ID of the build.
# $REPO_NAME : the source repository name specified by RepoSource.
# $BRANCH_NAME : the branch name specified by RepoSource.
# $TAG_NAME : the tag name specified by RepoSource.
# $REVISION_ID
# $COMMIT_SHA : the commit SHA specified by RepoSource or resolved from the specified branch or tag.
@claudiobastos
claudiobastos / cloudsql-deployment.yaml
Created August 30, 2018 21:40
Google Cloud SQL Proxy Deployment
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: cloudsql
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
#!/bin/bash
# dump-tables-mysql.sh
# Descr: Dump MySQL table data into separate SQL files for a specified database.
# Usage: Run without args for usage info.
# Author: @Trutane
# Ref: http://stackoverflow.com/q/3669121/138325
# Notes:
# * Script will prompt for password for db access.
# * Output files are compressed and saved in the current working dir, unless DIR is
@claudiobastos
claudiobastos / tests.sky
Created February 2, 2018 15:00
lint tests for kubetest helper
#// vim: set ft=python:
#assert_equal
#assert_contains
#assert_not_contains
#assert_not_equal
#assert_nil
#assert_not_nil
#fail
@claudiobastos
claudiobastos / mysql_user.html
Created June 22, 2017 15:21
MySQL User Grant Generator
<!doctype html>
<html>
<head>
<title>mySQL user generator</title>
<style>
body, html {
background-color: #E3E3E3;
font: normal normal normal 1em Arial, sans-serif;
}
label {

Keybase proof

I hereby claim:

  • I am claudiobastos on github.
  • I am maghatus (https://keybase.io/maghatus) on keybase.
  • I have a public key whose fingerprint is 46F8 AE66 9E4C 5ED2 F79E 9E4C 9190 EF35 CD0B 2570

To claim this, I am signing this object: