Skip to content

Instantly share code, notes, and snippets.

View math3vz's full-sized avatar

Matheus Moraes math3vz

  • São Paulo, Brasil
View GitHub Profile
@math3vz
math3vz / config
Created February 2, 2018 18:56
Bitbucket alternative ssh
host bitbucket.org
port 443
hostname altssh.bitbucket.org
host github.com
port 443
hostname ssh.github.com
user git

sed -i '45d' /home/matheusmmo/.ssh/known_hosts

[11:14:07] $ cat a.txt 
a
b

[matheusmmo@bbrandsti-07:~]
[11:14:47] $ cat b.txt 
b
c
#!/bin/bash
# : ${2?"Usage: $0 [number of days] [base url of elastic]"}
days="30"
baseURL=${2}
indexes=("my-cool-index" "my-not-so-cool-index")
for i in "${indexes[@]}"
@math3vz
math3vz / kube-registry.yaml
Created August 26, 2019 16:17 — forked from coco98/kube-registry.yaml
Docker registry on minikube
apiVersion: v1
kind: ReplicationController
metadata:
name: kube-registry-v0
namespace: kube-system
labels:
k8s-app: kube-registry
version: v0
spec:
replicas: 1

Keybase proof

I hereby claim:

  • I am math3vz on github.
  • I am math3vz (https://keybase.io/math3vz) on keybase.
  • I have a public key ASB1BuVLTdvhOtK9z9egj03Lge3zwtwOlXhMa0Rkw0mwgwo

To claim this, I am signing this object: