Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| <?php | |
| define('MODX_API_MODE', true); | |
| // Full path to the index | |
| require_once('index.php'); | |
| $modx = new modX(); | |
| $modx->initialize('mgr'); | |
| ######################## Variables |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| printeval() { test $# -gt 0 && echo $@ && eval $@; } | |
| upstall() { type -P $1 || printeval $2 && printeval $3; } | |
| addset() { grep -q "^$1" $3 && sed -i "" "s/^$1.*/$1=$2/" $3 || echo "$1=$2" >> $3; } | |
| xcode-select --install | |
| upstall brew 'ruby -e "$(curl -s https://raw.githubusercontent.com/Homebrew/install/master/install)" && brew tap caskroom/cask' | |
| upstall subl 'brew cask install sublime-text-dev && brew cask install subl' | |
| upstall alcatraz 'brew cask install alcatraz' |
A single-file developer tool for modern eXist-db workflows
generated by ChatGPT (OpenAI), scallion4o personality
This script provides a command-line development toolkit for eXist-db applications, enabling fast and safe deployment directly from your local filesystem.