Pour ne pas polluer les .gitignore des projets, on va configurer notre propre gitignore global qui sera appliqué dans chaque projet local.
Commencez par créer et éditer votre fichier
vi ~/.gitignore
| package megha.codingproblems.general; | |
| /** | |
| * Fibonacci program - Both iterative and recursive versions | |
| * Fibonacci series - 1,1,2,3,5,8,13.... | |
| * | |
| * @author megha krishnamurthy | |
| * | |
| */ | |
| public class Fibonacci { |
| FROM nginx:alpine | |
| # stock verison from php:alpine image | |
| # ensure www-data user exists | |
| RUN set -x \ | |
| && addgroup -g 82 -S www-data \ | |
| && adduser -u 82 -D -S -G www-data www-data | |
| # 82 is the standard uid/gid for "www-data" in Alpine | |
| # http://git.alpinelinux.org/cgit/aports/tree/main/apache2/apache2.pre-install?h=v3.3.2 |
| ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
| # Don't add passphrase | |
| openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
| cat jwtRS256.key | |
| cat jwtRS256.key.pub |