Skip to content

Instantly share code, notes, and snippets.

View gbrlsnchs's full-sized avatar

Gabriel Sanches gbrlsnchs

View GitHub Profile
@gbrlsnchs
gbrlsnchs / survive.yaml
Created March 10, 2021 22:21 — forked from itzg/survive.yaml
Example kubernetes deployment of itzg/minecraft-server and itzg/mc-backup and annotation for itzg/mc-router
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
labels:
server: survive
name: survive
spec:
accessModes:
- ReadWriteOnce
@gbrlsnchs
gbrlsnchs / tabc.sh
Created December 16, 2020 21:28 — forked from jpentland/tabc.sh
Add or remove windows from suckless' tabbed
#!/bin/sh
# Usage:
# tabc.sh <tabbed-id> <command>
# Commands:
# add <window-id> - Add window to tabbed
# remove <window-id> - Remove window from tabbed
# list - List all clients of tabbed
#
@gbrlsnchs
gbrlsnchs / description.md
Created May 25, 2020 15:24 — forked from yanmendes/description.md
Números por Extenso

Challenge Description

Fazer uma função que receba um número inteiro entre 0 e 999 e retorne uma string, que é esse número por extenso em português.

Baby steps: recomendamos que você comece pelos menores números e vá evoluindo o algoritmo até resolver os maiores.

A cada passo que der, tenha testes unitários mostrando o funcionamento, independentemente de estar usando um framework ou não.