This gist documents the setup of my Mac, primarily for personal use and data science.
Hardware/software details:
- MacBook Air (M1, 2020)
- Big Sur (11.2.2)
- Install HomeBrew
| #!/usr/bin/env bash | |
| # Requires Bash 4.0 or newer. | |
| # This script updates the 'updated' field in the front matter of modified .md | |
| # files setting it to their last modified date. | |
| # Function to exit the script with an error message. | |
| function error_exit() { | |
| echo "ERROR: $1" >&2 | |
| exit "${2:-1}" |
| ;; Copyright of the below functions belong to the author/contributors of https://github.com/dominikh/go-mode.el. | |
| ;; Usage: Plug go-mode's gofmt to the new go-ts-mode (built-in go mode which uses tree-sitter) in emacs. | |
| ;; go-ts-mode landed on emacs `master` branch on 2022-12-16. | |
| (defcustom gofmt-command "gofmt" | |
| "The 'gofmt' command. | |
| Some users may replace this with 'goimports' | |
| from https://golang.org/x/tools/cmd/goimports." |
| ;;; init.el --- Fun stuff all around -*- lexical-binding: t; -*- | |
| ;;; Commentary: | |
| ;; This is a simple init.el which offers a Python configuration. Each package | |
| ;; usage is annotated with the how and why of its use. `use-package' is used to | |
| ;; manage the configuration as it provides lots of facilities to load modes, | |
| ;; define custom variables and key-maps, etc. | |
| ;;; Code: |
#protonmail #debian #linux
Currently protonmail bridge for linux is distributed as part of an open beta program, but soon it will be made public (https://protonmail.com/bridge/install).
Consider that the bridge linux client requires a paid protonmail account to work.
| # ~/.config/starship.toml | |
| [battery] | |
| full_symbol = "🔋" | |
| charging_symbol = "🔌" | |
| discharging_symbol = "⚡" | |
| [[battery.display]] | |
| threshold = 30 | |
| style = "bold red" |
pacman -S wine-staging)pacman -S nvidia-dkms nvidia-utils lib32-nvidia-utils)DXVK_CONFIG_FILE=/<PATH_TO_YOUR_CONFIG>/gta_dxvk.conf %command%steam/steamapps/common/Proton 3.7/user_settings.sample.py to steam/steamapps/common/Proton 3.7/user_settings.py
"PROTON_NO_ESYNC": "1" in user_settings.py/usr/share/fonts/WindowsFonts OR install ttf-ms-win10 from the AURfc-cache -vfr to rebuild the font cache| ! model | |
| pc101 Generic 101-key PC | |
| pc102 Generic 102-key (Intl) PC | |
| pc104 Generic 104-key PC | |
| pc105 Generic 105-key (Intl) PC | |
| dell101 Dell 101-key PC | |
| latitude Dell Latitude series laptop | |
| dellm65 Dell Precision M65 | |
| everex Everex STEPnote | |
| flexpro Keytronic FlexPro |