- Install iTerm
brew install --cask iterm2 - Install font (may not be required depending on theme used)
brew tap homebrew/cask-fonts && brew install --cask font-source-code-pro
Install
| #/bin/bash | |
| # $1 rancher url (e.g. https://rancher.my-company.co.za) | |
| # $2 rancher bearer token | |
| # $3 overwrite current kubeconfig with resulting config (default false) | |
| if [[ -z "${1}" ]]; then | |
| echo "Must specify Rancher url to use as first argument (e.g. https://rancher.my-company.co.za). Exiting!" | |
| exit 1 | |
| else | |
| RANCHER_URL="${1}" |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Alpha Component</key> | |
| <real>1</real> | |
| <key>Blue Component</key> | |
| <real>0.0</real> |
| # Sourced directly from https://zeroturnaround.com/rebellabs/switching-java-versions-on-the-command-line/. Credit to Oleg Shelajev | |
| removeFromPath () { | |
| export PATH=$(echo $PATH | sed -E -e "s;:$1;;" -e "s;$1:?;;") | |
| } | |
| # set and change java versions | |
| function setjdk() { | |
| if [ $# -ne 0 ]; then | |
| removeFromPath '/System/Library/Frameworks/JavaVM.framework/Home/bin' |
| # | |
| # Himawari-8 Downloader | |
| # | |
| # | |
| # | |
| # This script will scrape the latest image from the Himawari-8 satellite, recombining the tiled image, | |
| # converting it to a JPG which is saved in My Pictures\Himawari\ and then set as the desktop background. | |
| # | |
| # http://himawari8.nict.go.jp/himawari8-image.htm | |
| # |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition: