Skip to content

Instantly share code, notes, and snippets.

View glektarssza's full-sized avatar
🐍
Hisssssss!

G'lek Tarssza glektarssza

🐍
Hisssssss!
View GitHub Profile
@glektarssza
glektarssza / .vimrc
Last active October 31, 2024 17:45
Vim Configuration
set nocompatible
filetype off
set packpath^=~/.vim
set runtimepath^=~/.vim
execute pathogen#infect()
set encoding=utf-8
set fileformats=unix
@glektarssza
glektarssza / .editorconfig
Created February 11, 2022 18:48
C# EditorConfig
##########################################
# Common Settings
##########################################
# This file is the top-most EditorConfig file
root = true
# All Files #
[*]
indent_style = space
@glektarssza
glektarssza / .prettierrc.js
Last active June 18, 2024 13:49
Typescript + ESlint Configs
module.exports = {
arrowParens: "always",
bracketSameLine: true,
bracketSpacing: false,
endOfLine: "lf",
htmlWhitespaceSensitivity: "css",
jsxSingleQuote: true,
overrides: [
{
files: [
@glektarssza
glektarssza / .clang-format
Last active August 8, 2023 13:05
clang-format Configuration
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: -4
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveMacros: None
AlignConsecutiveAssignments: None
AlignConsecutiveBitFields: None
AlignConsecutiveDeclarations: None
@glektarssza
glektarssza / mods.json
Last active August 8, 2023 13:07
Oxygen Not Included Mod List
{
"version": 1,
"mods": [
{
"label": {
"distribution_platform": 1,
"id": "2493100777",
"title": "Pip Plant Overlay",
"version": 1645431313
},
@glektarssza
glektarssza / rustfmt.toml
Last active April 26, 2024 15:45
rustfmt Configuration
unstable_features = true
edition = "2021"
newline_style = "Unix"
error_on_line_overflow = false
error_on_unformatted = false
brace_style = "SameLineWhere"
control_brace_style = "AlwaysSameLine"
max_width = 80
comment_width = 80
format_code_in_doc_comments = true
@glektarssza
glektarssza / cleanup-merged-branches.sh
Last active December 15, 2023 15:42
One-line Cleanup Merged Git Branches
git remote prune origin && git branch --merged | sed -rne '/(^\*|main$)/d;p' | xargs -n1 git branch -d
@glektarssza
glektarssza / Makefile
Last active July 5, 2024 18:56
Odin Makefile Template
#-- Project Settings
PROJECT_NAME := # TODO: Fill this in
PROJECT_DESCRIPTION := # TODO: Fill this in
PROJECT_VERSION := # TODO: Fill this in
SOURCE_DIR := ./src/
TESTS_DIR := ./tests/
BUILD_DIR := ./build/
#-- Target Configuration
EXE_NAME := # TODO: Fill this in
@glektarssza
glektarssza / odinfmt.json
Last active March 27, 2025 19:39
odinfmt Configuration
{
"$schema": "https://raw.githubusercontent.com/DanielGavin/ols/master/misc/odinfmt.schema.json",
"brace_style": "_1TBS",
"character_width": 80,
"convert_do": false,
"exp_multiline_composite_literals": false,
"indent_cases": false,
"inline_single_stmt_case": false,
"newline_limit": 1,
"newline_style": "LF",
@glektarssza
glektarssza / deno.json
Last active February 7, 2025 01:10
Deno Configuration
{
"bench": {
"include": ["./bench/*.ts", "./bench/**/*.ts"]
},
"compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"exactOptionalPropertyTypes": true,
"noErrorTruncation": true,
"noFallthroughCasesInSwitch": true,