Skip to content

Instantly share code, notes, and snippets.

View josephmidura's full-sized avatar

Joseph Midura josephmidura

  • University of Texas
  • Austin, TX
View GitHub Profile
#!/bin/bash
# Update homebrew
CYAN=$(tput setaf 6)
RESET=$(tput sgr0)
echo "${CYAN}Updating homebrew and local base of available packages and versions...${RESET}"
brew update
# Github
Host github.com
Hostname github.com
User git
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/github_key
UserKnownHostsFile ~/.ssh/known_hosts_github
IdentitiesOnly yes
@josephmidura
josephmidura / #colors.sh
Last active May 28, 2024 16:50
test terminal colors
#!/bin/bash
#
# This file echoes a bunch of colour codes to the terminal to demonstrate
# what's available. Each line is one colour on black and gray
# backgrounds, with the code in the middle. Verified to work on white,
# black, and green BGs.
#
# This is badly in need of an update. Use at your own risk...
echo " On Light Gray: On Black:"
echo -e "\033[47m\033[1;37m White \033[0m\