Open ~/.bash_profile
in your favorite editor and add the following content to the bottom.
# Git branch in prompt.
parse_git_branch() {
#!/bin/zsh | |
# Installs bazelisk in case it isn't installed | |
if ! command -v bazelisk &> /dev/null; then | |
HOMEBREW_NO_AUTO_UPDATE=true brew install bazelisk | |
fi | |
# If you already have a registered certificate in the App Store Connect, you can | |
# export the private key from the Keychain (without a password). It will be saved | |
# in p12 format, you need to convert it to pem: | |
# `openssl pkcs12 -in key.p12 -out key.pem -nocerts -nodes` | |
# Then write the path to the key.pem in this variable |
Each YouTube video has 4 generated images. They are predictably formatted as follows: | |
http://img.youtube.com/vi/<insert-youtube-video-id-here>/0.jpg | |
http://img.youtube.com/vi/<insert-youtube-video-id-here>/1.jpg | |
http://img.youtube.com/vi/<insert-youtube-video-id-here>/2.jpg | |
http://img.youtube.com/vi/<insert-youtube-video-id-here>/3.jpg | |
The first one in the list is a full size image and others are thumbnail images. The default thumbnail image (ie. one of 1.jpg, 2.jpg, 3.jpg) is: | |
http://img.youtube.com/vi/<insert-youtube-video-id-here>/default.jpg |
Create an empty git repo or reinitialize an existing one
git init