For use with Roll20
/roll ?{Roll Type|Standard, 1d20|Advantage, 2d20kh1|Disadvantage, 2d20kl1} + (?{Modifier|0})
/roll 1d20+ (?{DEX Modifier|0}) &{tracker}
/roll {1d20, 1d0+10}kh1 + (?{Modifier|0})
[PHP] | |
;;;;;;;;;;;;;;;;;;; | |
; About php.ini ; | |
;;;;;;;;;;;;;;;;;;; | |
; PHP's initialization file, generally called php.ini, is responsible for | |
; configuring many of the aspects of PHP's behavior. | |
; PHP attempts to find and load this configuration from a number of locations. | |
; The following is a summary of its search order: |
#!/bin/bash | |
set -eou pipefail | |
# shellcheck disable=SC2155 | |
readonly WP_WORKSPACE=$(mktemp -d /tmp/wpworkspace_XXXXXXX) | |
# Trap any exit and print the temporary workspace path back to the terminal | |
trap 'echo " | |
Working Directory: ${WP_WORKSPACE}"' EXIT |
#!/bin/bash | |
set -eou pipefail | |
IFS=$'\n\t' | |
readonly THIS_REPO="pantheon-systems/plugin-pipeline-example" | |
readonly DEPENDENCIES_YML="./dependencies.yml" | |
##### | |
# Sample dependencies.yml | |
# --- | |
# dependencies: |
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
### | |
# | |
# Requires: git, gh (https://cli.github.com/) | |
# Usage: bash test-fork-pr.sh "${REPO}" "${PR_ID}" | |
# example: bash test-fork-pr.sh pantheon-systems/wp-redis 100 | |
# | |
### |
#!/bin/bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
PULL_REQUEST_ID=${1:-} | |
if [[ -z "${PULL_REQUEST_ID}" ]]; then | |
echo "usage: $0 PULL_REQUEST_ID" | |
exit 1 | |
fi |
For use with Roll20
/roll ?{Roll Type|Standard, 1d20|Advantage, 2d20kh1|Disadvantage, 2d20kl1} + (?{Modifier|0})
/roll 1d20+ (?{DEX Modifier|0}) &{tracker}
/roll {1d20, 1d0+10}kh1 + (?{Modifier|0})