Skip to content

Instantly share code, notes, and snippets.

@adrianschneider94
Last active December 4, 2024 20:25
Show Gist options
  • Save adrianschneider94/fa3a70cb1146f39d45d658cc4846b259 to your computer and use it in GitHub Desktop.
Save adrianschneider94/fa3a70cb1146f39d45d658cc4846b259 to your computer and use it in GitHub Desktop.
Dev Setup

Dev setup

Tools

  • uv (Python)
  • bun (JS/TS)
  • Rust (Rustup)
  • cursor

From Macports

  • SSH-Client with support for FIDO security keys (openssh +fido2)
  • GPG client (gnupg2)
  • Github CLI (gh)

Config

Configure gpg:

curl -s https://github.com/adrianschneider94.gpg | gpg --import

Configure git:

curl -LsSf https://gist.githubusercontent.com/adrianschneider94/fa3a70cb1146f39d45d658cc4846b259/raw/git-config.sh | sh
#!/bin/sh
# Prune merged branches
git config --global fetch.prune true
# Automatically create branches on the remote on push
git config --global push.autoSetupRemote true
# Use rebasing as default pull strategy
git config --global pull.rebase true
# Always sign commits with my key
git config --global commit.gpgsign true
git config --global user.signingkey 679C5BA6B0E0266F
# Automatically push tags
git config --global push.followtags true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment