Skip to content

Instantly share code, notes, and snippets.

View gbrlsnchs's full-sized avatar

Gabriel Sanches gbrlsnchs

View GitHub Profile
@gbrlsnchs
gbrlsnchs / steaminfo.txt
Last active February 25, 2022 22:02
Steam Info
Computer Information:
Manufacturer: Gigabyte Technology Co., Ltd.
Model: A320M-S2H-CF
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 3 3200G with Radeon Vega Graphics
CPU Family: 0x17
@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.

@gbrlsnchs
gbrlsnchs / README.md
Last active January 29, 2024 00:10
Void Linux Installation Guide (UEFI + chroot + brtfs + LUKS-encrypted root and swapfile)

Installation guide for Void Linux with LUKS-encrypted btrfs root

NOTE

I have ported this Gist to a handbook. I'll not maintain this Gist anymore, but will keep it here for future references. You can access the respective chapter in the handbook here.

Introduction

In this guide you will find:

  • btrfs with Zstandard compression
  • LUKS-encrypted root and swapfile
  • GRUB with UEFI