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 / shell.nix
Last active July 7, 2024 02:17
Simple Nix Shell
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-unstable";
pkgs = import nixpkgs { config = {}; overlays = []; };
in
pkgs.mkShellNoCC {
packages = with pkgs; [
neovim
cowsay
lolcat
@thiago-rezende
thiago-rezende / .clang-format
Last active July 7, 2024 14:59
Simple Clang Format and Tidy
---
BasedOnStyle: Chromium
# column rules
ColumnLimit: 120
# file rules
TabWidth: 2
IndentWidth: 2
LineEnding: LF
@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 August 29, 2024 10:31
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 August 18, 2024 22:19
Simple NeoVim config
--
-- ██░ ██ ▒█████ ██▀███ █ ██ ██████
-- ▓██░ ██▒▒██▒ ██▒▓██ ▒ ██▒ ██ ▓██▒▒██ ▒
-- ▒██▀▀██░▒██░ ██▒▓██ ░▄█ ▒▓██ ▒██░░ ▓██▄
-- ░▓█ ░██ ▒██ ██░▒██▀▀█▄ ▓▓█ ░██░ ▒ ██▒
-- ░▓█▒░██▓░ ████▓▒░░██▓ ▒██▒▒▒█████▓ ▒██████▒▒
-- ▒ ░░▒░▒░ ▒░▒░▒░ ░ ▒▓ ░▒▓░░▒▓▒ ▒ ▒ ▒ ▒▓▒ ▒ ░
-- ▒ ░▒░ ░ ░ ▒ ▒░ ░▒ ░ ▒░░░▒░ ░ ░ ░ ░▒ ░ ░
-- ░ ░░ ░░ ░ ░ ▒ ░░ ░ ░░░ ░ ░ ░ ░ ░
-- ░ ░ ░ ░ ░ ░ ░ ░