Skip to content

Instantly share code, notes, and snippets.

@RoseSecurity
Created August 13, 2024 16:57
Show Gist options
  • Save RoseSecurity/6a3e2ac6d235e6d1204ccc5190aa50f3 to your computer and use it in GitHub Desktop.
Save RoseSecurity/6a3e2ac6d235e6d1204ccc5190aa50f3 to your computer and use it in GitHub Desktop.

RoseSecurity’s Configuration Shenanigans

Essential Beliefs

Important

💯 The JetBrains Mono font is the only acceptable option

💯 If you’re using light mode, you’re wrong

💯 :x basically does the same thing as :wq! in Vim. Save yourself some keystrokes

Random Aliases and Such

A brief snapshot of aliases I enjoy and frequently use:

# Clean Docker Resources
alias prunedocker='docker system prune --all --force'

# Gcloud
alias gal='gcloud auth login'

# Saving keystrokes
alias kns='kubens'

# Autocomplete kubectl commands
[[ $commands[kubectl] ]] && source <(kubectl completion zsh)

# I swear by this plugin
npm install --global git-branch-select && echo "alias gb='git branch-select'" >> ~/.zprofile && source ~/.zprofile

# FZF open file by typing "f"
# Replace nvim with your desired editor, which the only acceptable should be: vi, vim, or nvim
alias f='fzf --print0 | xargs -0 -o nvim'

Brew Recommendations

This is an opinionated Brewfile of tools that I use in my tech stack. To install the following toolset, run: brew bundle install

# Command-line prompt customization tool
brew "starship"

# Version manager for multiple runtime versions
brew "asdf"

# Cloud-native infrastructure automation tool
brew "atmos"

# Official Amazon AWS command-line interface
brew "awscli"

# Unix shell and command language
brew "bash"

# Cert-manager kubectl plugin
brew "cmctl"

# Syntax-aware diff tool
brew "difftastic"

# Load/unload environment variables based on $PWD
brew "direnv"

# Container Image Linter for Security
brew "dockle"

# CLI tool for viewing Amazon EKS node information
brew "eks-node-viewer"

# Command-line fuzzy finder
brew "fzf"

# GNU awk utility
brew "gawk"

# GNU compiler collection
brew "gcc"

# GitHub CLI
brew "gh"

# Distributed version control system
brew "git"

# GNU multiple precision arithmetic library
brew "gmp"

# GNU Pretty Good Privacy (PGP) package
brew "gnupg"

# GNU Privacy Guard 1.4.x
brew "[email protected]"

# GNU Transport Layer Security (TLS) Library
brew "gnutls"

# Open source programming language
brew "go"

# Stricter gofmt
brew "gofumpt"

# Fast linters runner for Go
brew "golangci-lint"

# Deliver Go binaries as fast and easily as possible
brew "goreleaser"

# Graph visualization software
brew "graphviz"

# Dockerfile linter
brew "hadolint"

# Kubernetes package manager
brew "helm"

# Helm Language Server
brew "helm-ls"

# Cloud cost estimation tool
brew "infracost"

# Interactive JSON filter using jq expressions
brew "jnv"

# Lightweight and flexible command-line JSON processor
brew "jq"

# Kubernetes CLI To Manage Your Clusters In Style!
brew "k9s"

# Kubernetes namespace switcher
brew "kns"

# Package manager for kubectl plugins
brew "krew"

# Project to provide ctx and ns for Kubernetes
brew "kubectx"

# Kubernetes deprecation checking tool
brew "kubent"

# Kubernetes command-line interface
brew "kubernetes-cli"

# Fully functional local AWS cloud stack
brew "localstack"

# Powerful, lightweight programming language
brew "lua"

# Just-In-Time Compiler (JIT) for the Lua programming language
brew "luajit"

# Ambitious Vim-fork focused on extensibility and agility
brew "neovim"

# Port scanning utility for large networks
brew "nmap"

# Cryptography and SSL/TLS Toolkit
brew "openssl@3"

# Universal document converter
brew "pandoc"

# Perl-compatible regular expression library
brew "pcre2"

# Passphrase entry dialog utilizing the Assuan protocol
brew "pinentry"

# Passphrase entry dialog utilizing the Assuan protocol (macOS version)
brew "pinentry-mac"

# Object-relational database system
brew "postgresql@16"

# Framework for managing multi-language pre-commit hooks
brew "pre-commit"

# Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML
brew "prettier"

# AWS security assessment, auditing, and hardening tool
brew "prowler"

# Python version management
brew "pyenv"

# PyEnv plugin to manage virtualenv
brew "pyenv-virtualenv"

# Python's setuptools
brew "python-setuptools"

# Interpreted, interactive, object-oriented programming language
brew "[email protected]"

# Interpreted, interactive, object-oriented programming language
brew "[email protected]"

# Search tool like grep and The Silver Searcher
brew "ripgrep"

# Static analysis and lint tool, for (ba)sh scripts
brew "shellcheck"

# Cross-shell prompt for astronauts
brew "starship"

# Tool to build, change, and version infrastructure
brew "terraform"

# Generate documentation for Terraform modules
brew "terraform-docs"

# Terraform Language Server
brew "terraform-ls"

# Language Server Protocol for Terraform
brew "terraform-lsp"

# Terraform state file cleanup
brew "terramaid"

# Terraform linter
brew "tflint"

# Security scanner for Terraform code
brew "tfsec"

# Display directories as trees
brew "tree"

# Incremental parsing system for programming tools
brew "tree-sitter"

# Vulnerability scanner for container images, file systems, and Git repos
brew "trivy"

# Scanner for secrets in source code
brew "trufflehog"

# Generate terminal GIFs from simple scripts
brew "vhs"

# Language Server for YAML Files
brew "yaml-language-server"

# Linter for YAML files
brew "yamllint"

# Process YAML, JSON, XML, CSV and properties documents
brew "yq"

# Shell extension to navigate your filesystem faster
brew "zoxide"

# Automatic tiling window manager similar to xmonad
cask "amethyst"

# App to build and share containerized applications and microservices
cask "docker"

# Full TeX Live distribution with GUI applications
cask "mactex"

# Replacement for Docker Desktop
cask "orbstack"

# GPU-accelerated cross-platform terminal emulator and multiplexer
cask "wezterm"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment