Last active
December 17, 2020 03:52
-
-
Save tinacious/3bc9f0f3f7f04417de4ee82a4d289bfa to your computer and use it in GitHub Desktop.
Some helpful tools to install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew cask | |
brew install wget | |
# Node.js development | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash | |
echo "nvm: Go here and add to your bash profile: https://github.com/nvm-sh/nvm"; | |
# Ruby development | |
brew install rbenv | |
echo "rbenv: remaining instructions: https://github.com/rbenv/rbenv" | |
# Fun Apple icon | |
brew install neofetch | |
# Git - See .tigrc file below | |
brew install tig | |
# ImageMagick | |
brew install imagemagick | |
# Neofetch - for making the Terminal start screen fun | |
# You can do ascii art, e.g. neofetch --asci /path/to/ascii.txt | |
# See the following neofetch config file for details | |
brew install neofetch | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable long press causing accented characters from showing up | |
defaults write -g ApplePressAndHoldEnabled -bool false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/neofetch/config.conf | |
# See this wiki page for more info: | |
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info | |
print_info() { | |
info title | |
info underline | |
info "OS" distro | |
info "Host" model | |
info "Kernel" kernel | |
# info "Uptime" uptime | |
info "Packages" packages | |
info "Shell" shell | |
info "Resolution" resolution | |
# info "DE" de | |
# info "WM" wm | |
# info "WM Theme" wm_theme | |
# info "Theme" theme | |
# info "Icons" icons | |
# info "Terminal" term | |
# info "Terminal Font" term_font | |
# info "CPU" cpu | |
# info "GPU" gpu | |
info "Memory" memory | |
# info "GPU Driver" gpu_driver # Linux/macOS only | |
info "CPU Usage" cpu_usage | |
# info "Disk" disk | |
info "Battery" battery | |
# info "Font" font | |
# info "Song" song | |
# [[ "$player" ]] && prin "Music Player" "$player" | |
info "Local IP" local_ip | |
info "Public IP" public_ip | |
# info "Users" users | |
# info "Locale" locale # This only works on glibc systems. | |
# prin "Weather" "$(curl wttr.in/?0?q?T | awk '/°(C|F)/ {printf $(NF-1) $(NF) " ("a")"} /,/ {a=$0}')" | |
prin "Weather" "$(curl wttr.in/Vancouver%20BC?format=3)" | |
info cols | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.tigrc | |
set vertical-split = no | |
bind stash A !?git stash apply %(stash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fun startup script | |
neofetch --ascii ~/Pictures/logo.txt | |
# Ruby | |
export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)" | |
# Node.js | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may also find these Visual Studio Code extensions helpful: https://gist.github.com/tinacious/01eddd5ccd197dfaefcabcd491eb922e