| title | The Best Cloud GPU Providers for Artificial Intelligence & Machine Learning | |||
|---|---|---|---|---|
| tags |
|
This file contains hidden or 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
| # Install Homebrew | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| eval "$(/opt/homebrew/bin/brew shellenv)" | |
| # Tap needed repos | |
| brew tap homebrew/cask-fonts | |
| # Install some stuff from Homebrew | |
| brew install --cask \ | |
| alex313031-thorium \ |
This file contains hidden or 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
| #!/usr/bin/env sh | |
| # stuff to do when setting up a fresh install of MacOS | |
| set -o errexit -o nounset -o noclobber | |
| [ -e /etc/pam.d/sudo_local ] || \ | |
| echo 'auth sufficient pam_tid.so' \ | |
| | sudo tee /etc/pam.d/sudo_local | |
| softwareupdate --install-rosetta --agree-to-license |
This file contains hidden or 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
| ### Test on https://github.com/yousseb/meld/releases/tag/osx-20 | |
| ### OSX - 3.21.0 (r4) Sonoma | |
| ### !!! Note: You need put the Meld.app r4 build to the /Applications path first. | |
| #!/bin/zsh | |
| #Fix libpng16.16.dylib not found | |
| install_name_tool -change /usr/local/opt/libpng/lib/libpng16.16.dylib @executable_path/../Frameworks/libpng16.16.dylib /Applications/Meld.app/Contents/Frameworks/libfreetype.6.20.0.dylib | |
| #Fix libbrotlidec.1.dylib not found |
This file contains hidden or 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
| #!/bin/bash | |
| SCRIPTNAME=$(basename "$0") | |
| function realpath () { | |
| f=$@; | |
| if [ -d "$f" ]; then | |
| base=""; | |
| dir="$f"; | |
| else | |
| base="/$(basename "$f")"; |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # git clone git@github.com:14e1a09abfdb9e762683c10cfeff3b4a.git gists-blog | |
| # cd gists-blog | |
| # ./generate.sh | |
| # git add . | |
| # git commit -m "updated links" | |
| # git push | |
| page_count=$(curl -I https://api.github.com/users/peteristhegreat/gists | grep link | grep -oP '(?<=\?page=)(\d+)(?=>; rel="last")') |
This file contains hidden or 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
| # local | |
| - ScreenBrush (https://imagestudiopro.com/screenbrush/) | |
| - Presentify (https://presentifyapp.com/) | |
| - Shottr (https://shottr.cc/) | |
| - PhotoScape X (http://x.photoscape.org/) | |
| - Paint X (https://paint-x.com/) | |
| - Skitch (https://evernote.com/intl/zh-tw/products/skitch) | |
| - Seashore (https://github.com/robaho/seashore) | |
| - CleanShot X (https://cleanshot.com/) | |
| - Snipaste (https://www.snipaste.com/) |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # shellcheck disable=SC2034 | |
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| # shellcheck disable=SC1090 source=commons.sh | |
| source "$SCRIPT_DIR/commons.sh" | |
| logger dependencies "$@" # register own debug tag & logger functions | |
| #set -x # Uncomment to DEBUG |
Not necessarily meant to be followed step by step, although it is recommended. Some steps are valid during all levels, others give way to better alternatives further on.