Skip to content

Instantly share code, notes, and snippets.

View thiago-rezende's full-sized avatar
🎮

Thiago Rezende thiago-rezende

🎮
View GitHub Profile
@thiago-rezende
thiago-rezende / .clang-format
Last active June 25, 2024 20:30
Simple Clang Format and Tidy
---
BasedOnStyle: Chromium
ColumnLimit: 120
IndentWidth: 2
TabWidth: 2
SortIncludes: Never
PointerAlignment: Right
@thiago-rezende
thiago-rezende / .editorconfig
Created February 20, 2024 14:43
Simple EditorConfig
root = true
[*]
charset = utf-8
tab_width = 2
indent_size = 2
indent_style = space
end_of_line = lf
@thiago-rezende
thiago-rezende / dev-helper.sh
Last active June 19, 2024 14:54
Development Environment Helper
#!/bin/bash
# ██░ ██ ▒█████ ██▀███ █ ██ ██████
# ▓██░ ██▒▒██▒ ██▒▓██ ▒ ██▒ ██ ▓██▒▒██ ▒
# ▒██▀▀██░▒██░ ██▒▓██ ░▄█ ▒▓██ ▒██░░ ▓██▄
# ░▓█ ░██ ▒██ ██░▒██▀▀█▄ ▓▓█ ░██░ ▒ ██▒
# ░▓█▒░██▓░ ████▓▒░░██▓ ▒██▒▒▒█████▓ ▒██████▒▒
# ▒ ░░▒░▒░ ▒░▒░▒░ ░ ▒▓ ░▒▓░░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░
# ▒ ░▒░ ░ ░ ▒ ▒░ ░▒ ░ ▒░░░▒░ ░ ░ ░ ░▒ ░ ░
# ░ ░░ ░░ ░ ░ ▒ ░░ ░ ░░░ ░ ░ ░ ░ ░
@thiago-rezende
thiago-rezende / .tmux.conf
Created February 8, 2024 19:25
Simple TMUX config
# ██░ ██ ▒█████ ██▀███ █ ██ ██████
# ▓██░ ██▒▒██▒ ██▒▓██ ▒ ██▒ ██ ▓██▒▒██ ▒
# ▒██▀▀██░▒██░ ██▒▓██ ░▄█ ▒▓██ ▒██░░ ▓██▄
# ░▓█ ░██ ▒██ ██░▒██▀▀█▄ ▓▓█ ░██░ ▒ ██▒
# ░▓█▒░██▓░ ████▓▒░░██▓ ▒██▒▒▒█████▓ ▒██████▒▒
# ▒ ░░▒░▒░ ▒░▒░▒░ ░ ▒▓ ░▒▓░░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░
# ▒ ░▒░ ░ ░ ▒ ▒░ ░▒ ░ ▒░░░▒░ ░ ░ ░ ░▒ ░ ░
# ░ ░░ ░░ ░ ░ ▒ ░░ ░ ░░░ ░ ░ ░ ░ ░
# ░ ░ ░ ░ ░ ░ ░ ░
#
@thiago-rezende
thiago-rezende / .vimrc
Last active February 11, 2023 17:59
Simple Vim Config
"
" ██░ ██ ▒█████ ██▀███ █ ██ ██████
" ▓██░ ██▒▒██▒ ██▒▓██ ▒ ██▒ ██ ▓██▒▒██ ▒
" ▒██▀▀██░▒██░ ██▒▓██ ░▄█ ▒▓██ ▒██░░ ▓██▄
" ░▓█ ░██ ▒██ ██░▒██▀▀█▄ ▓▓█ ░██░ ▒ ██▒
" ░▓█▒░██▓░ ████▓▒░░██▓ ▒██▒▒▒█████▓ ▒██████▒▒
" ▒ ░░▒░▒░ ▒░▒░▒░ ░ ▒▓ ░▒▓░░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░
" ▒ ░▒░ ░ ░ ▒ ▒░ ░▒ ░ ▒░░░▒░ ░ ░ ░ ░▒ ░ ░
" ░ ░░ ░░ ░ ░ ▒ ░░ ░ ░░░ ░ ░ ░ ░ ░
" ░ ░ ░ ░ ░ ░ ░ ░
@thiago-rezende
thiago-rezende / .emacs
Last active March 1, 2023 14:13
Simple Emacs Config
;; package initialization
(require 'package)
(package-initialize)
;; package archives
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
;; editor
@thiago-rezende
thiago-rezende / Makefile
Last active February 24, 2024 12:05
Sample Makefile
CC = clang
DEBUGGER = lldb
BUILD_DIR = build
BIN_DIR = $(BUILD_DIR)/bin
OBJ_DIR = $(BUILD_DIR)/obj
LIBS_CFLAGS = $(shell pkg-config --cflags uuid)
LIBS_LDFLAGS = $(shell pkg-config --libs uuid)
@thiago-rezende
thiago-rezende / cli.sh
Last active June 17, 2023 19:54
Shell CLI
#!/usr/bin/env bash
# ██░ ██ ▒█████ ██▀███ █ ██ ██████
# ▓██░ ██▒▒██▒ ██▒▓██ ▒ ██▒ ██ ▓██▒▒██ ▒
# ▒██▀▀██░▒██░ ██▒▓██ ░▄█ ▒▓██ ▒██░░ ▓██▄
# ░▓█ ░██ ▒██ ██░▒██▀▀█▄ ▓▓█ ░██░ ▒ ██▒
# ░▓█▒░██▓░ ████▓▒░░██▓ ▒██▒▒▒█████▓ ▒██████▒▒
# ▒ ░░▒░▒░ ▒░▒░▒░ ░ ▒▓ ░▒▓░░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░
# ▒ ░▒░ ░ ░ ▒ ▒░ ░▒ ░ ▒░░░▒░ ░ ░ ░ ░▒ ░ ░
# ░ ░░ ░░ ░ ░ ▒ ░░ ░ ░░░ ░ ░ ░ ░ ░
@thiago-rezende
thiago-rezende / init.lua
Last active September 17, 2023 20:19
Simple NeoVim config
--
-- ██░ ██ ▒█████ ██▀███ █ ██ ██████
-- ▓██░ ██▒▒██▒ ██▒▓██ ▒ ██▒ ██ ▓██▒▒██ ▒
-- ▒██▀▀██░▒██░ ██▒▓██ ░▄█ ▒▓██ ▒██░░ ▓██▄
-- ░▓█ ░██ ▒██ ██░▒██▀▀█▄ ▓▓█ ░██░ ▒ ██▒
-- ░▓█▒░██▓░ ████▓▒░░██▓ ▒██▒▒▒█████▓ ▒██████▒▒
-- ▒ ░░▒░▒░ ▒░▒░▒░ ░ ▒▓ ░▒▓░░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░
-- ▒ ░▒░ ░ ░ ▒ ▒░ ░▒ ░ ▒░░░▒░ ░ ░ ░ ░▒ ░ ░
-- ░ ░░ ░░ ░ ░ ▒ ░░ ░ ░░░ ░ ░ ░ ░ ░
-- ░ ░ ░ ░ ░ ░ ░ ░
/**
* @file windows.h
* @brief Clean inclusion of the Windows.h header
*
*/
#pragma once
/* Target Windows 10 or later */
#define WINVER 0x0A00