$ tail -n +1 file1 folder1/* folder2/*
==> file <==
<content of file>
==> folder1/file1 <==
<content of folder/file1>
Assuming we have forked the repo.
Now we clone our forked repo:
$ git clone [email protected]:YOUR-USERNAME/THE-REPO.git
Please refer to here for how to generate internal CA.
$ openssl genrsa -out private/example.key.pem 2048
$ cat > cnf/example.cnf <<EOF
[ req ]
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 | |
| # Dependencies: cf, jq >= 1.5 | |
| set -euo pipefail | |
| umask 0077 | |
| PROPERTIES_TO_SHOW_H=("#" guid name last_operation last_operation_at service_name organization space) | |
| PROPERTIES_TO_SHOW=(.metadata.guid .entity.name .entity.last_operation.state .entity.last_operation.updated_at .extra.service_name .extra.organization .extra.space) |
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 | |
| ORIGINAL_TARGET_ORG=`cf target | awk '/org:/{ print $2 }'` | |
| ORIGINAL_TARGET_SPACE=`cf target | awk '/space:/{ print $2 }'` | |
| ALL_ORGS=(`cf orgs | awk 'NR > 3'`) | |
| # flag for printing the header | |
| PRINT_HEADER=0 |
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
| Mon Mar 27 08:34:47 UTC 2017 |