Skip to content

Instantly share code, notes, and snippets.

View Distortedlogic's full-sized avatar

Jeremy Meek Distortedlogic

View GitHub Profile
@Distortedlogic
Distortedlogic / .bashrc
Created March 7, 2025 22:30
Default .bashrc
. "$HOME/.cargo/env"
. "$HOME/.rye/env"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# pnpm
export PNPM_HOME="/home/entropybender/.local/share/pnpm"
case ":$PATH:" in
@Distortedlogic
Distortedlogic / .justfile
Last active March 7, 2025 22:26
Fedora Home justfile
DERIVE_ORDER:="Debug,Default,Error,Clone,Copy,Deref,DerefMut,PartialEq,Eq,PartialOrd,Ord,Hash,Serialize,Deserialize,FromStr,EnumIter,Display,EnumString,JsonSchema"
cargo-clean:
#!/usr/bin/env bash
set -euo pipefail
for dir in ~/repos/*/; do
if [ -d "$dir" ]; then
cd "$dir" && cargo clean && rm -f *.lock
fi
done
@Distortedlogic
Distortedlogic / .justfile
Last active June 19, 2025 13:36
Fresh Fedora Just Start
set shell := ["bash", "-uc"]
set export
set dotenv-load
default:
@just --choose --justfile {{justfile()}}
bulk-sys-deps:
#!/usr/bin/env bash
@Distortedlogic
Distortedlogic / start.sh
Created March 7, 2025 22:19
Fresh Fedora Bash Start
#!/usr/bin/env bash
set -euo pipefail
sudo dnf update -y
sudo dnf install -y just fzf plasma-oxygen shellcheck btop
sudo reboot
{"name":"Phronetic Horizons","settings":"{\"settings\":\"{\\n \\\"[html]\\\": {\\n \\\"editor.defaultFormatter\\\": \\\"vscode.html-language-features\\\"\\n },\\n \\\"[graphql][typescript][javascript][javascriptreact][typescriptreact]\\\": {\\n \\\"editor.defaultFormatter\\\": \\\"esbenp.prettier-vscode\\\",\\n \\\"editor.tabSize\\\": 2,\\n \\\"editor.codeActionsOnSave\\\": {\\n \\\"source.fixAll.eslint\\\": \\\"explicit\\\",\\n \\\"source.organizeImports\\\": \\\"explicit\\\",\\n \\\"source.sortPackageJson\\\": \\\"explicit\\\"\\n }\\n },\\n \\\"[sql]\\\": {\\n \\\"editor.formatOnSave\\\": true,\\n \\\"editor.defaultFormatter\\\": \\\"inferrinizzard.prettier-sql-vscode\\\"\\n },\\n \\\"[rust]\\\": {\\n \\\"editor.defaultFormatter\\\": \\\"rust-lang.rust-analyzer\\\",\\n \\\"editor.formatOnSave\\\": true\\n },\\n \\\"rust-analyzer.completion.fullFunctionSignatures.enable\\\": true,\\n \\\"rust-analyzer.completion.termSearch.enable\\\": true,\\n \\\"rust-ana