Skip to content

Instantly share code, notes, and snippets.

View CompeyDev's full-sized avatar

Erica Marigold CompeyDev

View GitHub Profile
@CompeyDev
CompeyDev / .bashrc
Created August 12, 2023 16:44 — forked from 4x8Matrix/.bashrc
My saved BASH confliguration
#!/bin/bash
[[ $- != *i* ]] && return
# EXPORTS
export PATH="$PATH:~/.foreman/bin"
export PATH="$PATH:~/.cargo/bin"
export PATH="$PATH:~/.luaU/bin"
export HISTFILESIZE=10000
export HISTSIZE=500
@CompeyDev
CompeyDev / README.md
Last active July 30, 2023 06:29
My android 13 setup.

July 2023 Android Setup

[*] Launcher: Smart Launcher 6

  • For the layout, I'm using the "classic theme" and replacing all the homescreen icons and widgets to only include a spotify classic and battery widget. I'm also using JetBrains Mono as my font everywhere.
@CompeyDev
CompeyDev / settings.json
Last active June 8, 2023 11:18
A "one-like" and dimmer version of the Purple Horizon VSCode theme.
"[Purple Horizon]": {
"terminalCursor.foreground": "#1f1929",
"editorLineNumber.activeForeground": "#1f1929",
"sideBar.border": "#1f1929",
"focusBorder": "#1f1929",
"sideBarSectionHeader.border": "#1f1929",
"editorGroup.border": "#1f1929",
"panel.border": "#1f1929",
"tab.border": "#1f1929",
"tab.activeBackground": "#1f1929",
@CompeyDev
CompeyDev / kitty.conf
Created May 23, 2023 16:10
Minimal kitty configuration featuring catpuccin.
# vim:fileencoding=utf-8:foldmethod=marker
include ./theme.conf
#: Fonts {{{
#: kitty has very powerful font management. You can configure
#: individual font faces and even specify special fonts for particular
#: characters.
@CompeyDev
CompeyDev / crc32.lua
Last active December 26, 2024 06:22
An example CRC32 implementation in pure luau.
-- This is a dysfunctional PoC for a luau implementation of crc32.
local POLY = 0x04C11DB7
local crc32 = {}
local crc32_t = {}
setmetatable(crc32_t, {
__call = function (crc32_t, ...): {[number]: number}
local c = 1
@CompeyDev
CompeyDev / settings.json
Created April 13, 2023 14:50
A "one" version of the Tokyo Night Horizon V2 theme.
"workbench.colorCustomizations": {
"[Tokyo Night Horizon (Syntax, Dark+ V2)]": {
"terminalCursor.foreground": "#ffffff",
"editorLineNumber.activeForeground": "#ffffff",
"sideBar.border": "#24292e",
"focusBorder": "#24292e",
"sideBarSectionHeader.background": "#1f1f1f",
"sideBar.background": "#1f1f1f",
"sideBarSectionHeader.border": "#24292e",
"editorGroup.border": "#24292e",
@CompeyDev
CompeyDev / README.md
Last active November 23, 2022 09:24
yatsg - Yet Another TypeScript Style Guide

yatsg

Yet another TypeScript Style Guide

yatsg is a personal style guide that I usually follow when writing TypeScript code. This generally borrows heavily from the standard.js style guide, so it may be worth checking that out first.

Table of Contents

  • Naming Convention
  • Specific Data Types
@CompeyDev
CompeyDev / settings.json
Last active November 6, 2022 16:37
A "one" version of the GitHub Dark theme.
"workbench.colorTheme": "GitHub Dark",
"workbench.colorCustomizations": {
"[GitHub Dark]": {
"terminalCursor.foreground": "#24292e",
"editorLineNumber.activeForeground": "#24292e",
"sideBar.border": "#24292e",
"focusBorder": "#24292e",
"sideBarSectionHeader.border": "#24292e",
"editorGroup.border": "#24292e",
"panel.border": "#24292e",
@CompeyDev
CompeyDev / nvim_alpha_startup.lua
Created October 22, 2022 16:24
A customized Neovim splash screen using alpha.
local status_ok, alpha = pcall(require, "alpha")
if not status_ok then
return
end
local dashboard = require "alpha.themes.dashboard"
dashboard.section.header.val = {
[[ __ ]],
[[ ___ ___ ___ __ __ /\_\ ___ ___ ]],
[[ / _ `\ / __`\ / __`\/\ \/\ \\/\ \ / __` __`\ ]],
@CompeyDev
CompeyDev / Cargo.toml
Created August 16, 2022 03:41 — forked from CoolOppo/Cargo.toml
How to compile to a DLL in rust while using it as a normal rust library
[package]
name = "test"
version = "0.1.0"
authors = ["YOU <YOU@users.noreply.github.com>"]
edition = "2018"
[lib]
crate-type = ["cdylib"]