Run 32-bit apps on macOS Catalina (10.15) and Big Sur (11.0).
First install homebrew brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"| " General sane defaults. | |
| " taken from https://mitjafelicijan.com/apersonal-sane-vim-defaults.html | |
| syntax enable | |
| colorscheme sorbet | |
| nnoremap q: <nop> | |
| set nocompatible | |
| set relativenumber | |
| set nohlsearch | |
| set smartcase | |
| set ignorecase |
| require("options") | |
| require("plugins") | |
| -- borrowed config options from https://github.com/khuedoan/dotfiles/blob/master/.config/nvim |
| # NOTE: | |
| # docs: | |
| # ghostty +show-config --default --docs | nvim | |
| # examples: | |
| # https://github.com/search?q=path%3Aghostty%2Fconfig&type=code | |
| # more info: | |
| # https://fredrikaverpil.github.io/blog/2024/12/04/ghostty-on-macos/ | |
| font-family = Symbols Nerd Font Mono | |
| font-family = JetBrains Mono |
| -- vim: tabstop=2 shiftwidth=2 expandtab | |
| -- We almost always start by importing the wezterm module | |
| local wezterm = require 'wezterm' | |
| -- Define a lua table to hold _our_ module's functions | |
| local module = {} | |
| -- Returns a bool based on whether the host operating system's | |
| -- appearance is light or dark. | |
| function module.is_dark() |
| -- vim: tabstop=2 shiftwidth=2 expandtab | |
| local wezterm = require 'wezterm' | |
| local module = {} | |
| -- Returns a bool based on whether the host operating system's | |
| -- appearance is light or dark. | |
| function module.is_dark() | |
| -- wezterm.gui is not always available, depending on what | |
| -- environment wezterm is operating in. Just return true |
| theme = "catppuccin_mocha" # nightfox | dracula | sonokai | tokyonight | |
| [editor] | |
| line-number = "relative" | |
| cursorline = true | |
| color-modes = true | |
| true-color = true | |
| auto-pairs = true | |
| # auto-format = false | |
| bufferline = "multiple" |
| # vim:fileencoding=utf-8:foldmethod=marker | |
| #: Fonts {{{ | |
| #: kitty has very powerful font management. You can configure | |
| #: individual font faces and even specify special fonts for particular | |
| #: characters. | |
| font_family JetBrainsMono Nerd Font |
| # Configuration for Alacritty, the GPU enhanced terminal emulator. | |
| # Import additional configuration files | |
| # | |
| # Imports are loaded in order, skipping all missing files, with the importing | |
| # file being loaded last. If a field is already present in a previous import, it | |
| # will be replaced. | |
| # | |
| # All imports must either be absolute paths starting with `/`, or paths relative | |
| # to the user's home directory starting with `~/`. |
Run 32-bit apps on macOS Catalina (10.15) and Big Sur (11.0).
First install homebrew brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Our db is hosted on Amazon. Our web server can connect to the db. Connections to the db are not allowed outside of the web server.
This creates a tunnel from my local machine to the web server:
ssh -N -L 3307:my-rds-db.us-east-1.rds.amazonaws.com:3306 ec2-my-web-server.compute-1.amazonaws.com