Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am bdesperanza on github.
  • I am bdesd (https://keybase.io/bdesd) on keybase.
  • I have a public key ASCi7v0JuaGI7b0SGLNNR3WG3DKaTu90rxAxnzvxz4rTNQo

To claim this, I am signing this object:

@bdesperanza
bdesperanza / increase_key_repeat_rate.sh
Created April 30, 2025 16:03 — forked from roalcantara/increase_key_repeat_rate.sh
Increase the Key repeat rate in Mac OS
# reset the system defaults
# xset r rate
# output the current InitialKeyRepeat`value
defaults read NSGlobalDomain InitialKeyRepeat
# output the current KeyRepeat`value
defaults read NSGlobalDomain KeyRepeat
# disable alternate characters when holding a key

XDG - Base Directory Specification

Directories

Base

The intended use-case for BaseDirectories is to query the paths of user-invisible standard directories that have been defined according to the conventions of the operating system the library is running on.

#!/bin/bash
# =============================================================================
# Script Name: add-gpg-osx-keychain.sh
# Description: add gpg signing key to osx keychain
# Args: $1 = <gpg key id>
# Version: 1.0
# Date: 2025-01-15
# Slack: @bdesperanza
# =============================================================================

Bash Startup Files

@bdesperanza
bdesperanza / bash_strict_mode.md
Created October 1, 2024 23:31 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation