Every time you choose to apply a rule(s), explicitly state the rule(s) in the output. You can abbreviate the rule description to a single word or phrase.
[Brief description ]
- [more description]
- [more description]
- [more description]
| #!/bin/bash | |
| create_docker_file() { | |
| [ -f ./Dockerfile ] && > ./Dockerfile | |
| cat << EOF > ./Dockerfile | |
| FROM php8.2-fpm-alpine | |
| RUN apk update && apk add --no-cache \ | |
| git \ | |
| curl \ |
| //This is an example to get the business locations of a user's Business Profile. | |
| // | |
| //Prerequisites: | |
| //1. Get your Google Cloud Platform (GCP) project approved. | |
| //Fill out this form: | |
| //https://docs.google.com/forms/d/1XTQc-QEjsE7YrgstyJxbFDnwmhUhBFFvpNJBw3VzuuE/viewform | |
| //Find out more information here: | |
| //https://developers.google.com/my-business/content/prereqs | |
| //2. In that approved project, you need to enable two APIs: | |
| //My Business Business Information API. There isn’t a typo; ‘business’ is repeated twice. |
| /* MIT License | |
| * | |
| * Copyright (c) 2017 Roland Singer [roland.singer@desertbit.com] | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is | |
| * furnished to do so, subject to the following conditions: |
| REQUIREMENTS: | |
| - php7-mbstring php7-dev | |
| INSTALL: | |
| 1) cd /usr/local/src/ | |
| 2) wget http://pecl.php.net/get/mailparse-3.1.1.tgz | |
| 3) tar -xzvf mailparse-3.1.1.tgz | |
| 4) cd mailparse-3.1.1 | |
| 5) phpize | |
| 6) ./configure |
| #!/bin/bash | |
| usage="PHP Version Manager | |
| Usage: | |
| $(basename "$0") -h Show this help text | |
| $(basename "$0") <version> Switch php version | |
| $(basename "$0") list List installed version | |
| " | |
| version=-1 |