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 filename=$1 | |
| if [ -z "$filename" ]; then | |
| echo "No file specified" | |
| echo "Usage: ./quarantine.sh <filename>" | |
| return 1 | |
| fi | |
| xattr -d com.apple.quarantine $filename |
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 | |
| set -e; | |
| PAYAUS_DIR=$(git rev-parse --show-toplevel) | |
| PAYAUS_RUBY_VERSION=$(cat $PAYAUS_DIR/.ruby-version); | |
| PAYAUS_NODE_VERSION=$(cat $PAYAUS_DIR/.nvmrc); | |
| run-setup-macbook-pro() { | |
| echo "Please run the 'setup_macbook_pro.sh' script first". |
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 | |
| set -e; | |
| # Variables | |
| TERMINAL_RC_FILE="$HOME/.zshrc" | |
| DEFAULT_NODE_VERSION="14" | |
| DEFAULT_RUBY_VERSION="2.7.3" | |
| # Install Homebrew |
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
| var getConnectButtonsOnPage = () => { | |
| var buttons = document.querySelectorAll("button.search-result__action-button") | |
| var searchText = "Connect"; | |
| var found = [] | |
| buttons.forEach((button) => { | |
| if (button.textContent.trim() == searchText) { found.push(button) } | |
| }) | |
| return found | |
| } |