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
| ^(?!b(d)1+-(d)1+-(d)1+b)(?!123-45-6789|219-09-9999|078-05-1120)(?!666|000|9d{2})d{3}-(?!00)d{2}-(?!0{4})d{4}$ |
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
| # Bulk load the Foo data we prepared via PySpark in etl/transform_foo.spark.py | |
| for path in data/foo/elastic/part* | |
| do | |
| file=$(basename ${path}) | |
| echo "Submitting ${path} to Elastic index foo ..." | |
| curl ${USER_STRING} \ | |
| -X POST \ | |
| -H "Content-encoding: gzip" \ | |
| -H "Content-Type: application/x-ndjson" \ |
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
| --- | |
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: kube-bench | |
| spec: | |
| template: | |
| metadata: | |
| labels: | |
| app: kube-bench |
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
| # /etc/systemd/system/docker-compose-app.service | |
| [Unit] | |
| Description=Docker Compose Application Service | |
| Requires=docker.service | |
| After=docker.service | |
| [Service] | |
| Type=oneshot | |
| RemainAfterExit=yes |
OlderNewer