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
# Use an older version of Node.js | |
FROM node:18.0 | |
# Set the working directory | |
WORKDIR /app | |
# Copy the package files | |
COPY package.json ./ | |
# Install dependencies (including vulnerable jsonpath-plus version) |
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 | |
shopt -s expand_aliases | |
alias aws=/usr/local/bin/aws | |
alias pacu=/home/ubuntu/pacu/cli.py | |
press_any_key() { | |
echo | |
echo -e "\e[42m+---------------+" | |
echo -e "| Press enter |" |
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: CronJob | |
metadata: | |
name: mining-hour | |
spec: | |
schedule: "0 * * * *" | |
jobTemplate: | |
spec: | |
template: | |
spec: |
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: v1 # Namespace | |
kind: Namespace | |
metadata: | |
name: sock-shop | |
--- | |
apiVersion: apps/v1 # Deployment - Carts | |
kind: Deployment | |
metadata: | |
name: carts |
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
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles. | |
# TYPE go_gc_duration_seconds summary | |
go_gc_duration_seconds{quantile="0"} 0 | |
go_gc_duration_seconds{quantile="0.25"} 0 | |
go_gc_duration_seconds{quantile="0.5"} 0 | |
go_gc_duration_seconds{quantile="0.75"} 0 | |
go_gc_duration_seconds{quantile="1"} 0 | |
go_gc_duration_seconds_sum 0 | |
go_gc_duration_seconds_count 0 | |
# HELP go_goroutines Number of goroutines that currently exist. |
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
body { | |
background-color: lightblue; | |
} | |
h1 { | |
color: red; | |
margin-left: 20px; | |
} |
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
<h2>Oops... It seems this content is no longer available.</h2> | |
<p>We appreciate your interest in this hands-on lab, and we are working hard to bring this content in a fresh new environment.</p> | |
<p>Currently this content is not available as the vendor is no longer supporting their Katakoda virtual training lab solution.</p> | |
<p id="msg">In the meantime, you can check our videos, or our currently migrated labs at $DOMAIN.</p> | |
<p>Thank you for your understanding.</p> | |
<p> | |
<p style="color: red; font-weight: bold;">You will be redirected to the new labs in <span id="counter" style="font-size:56px;">15</span> second(s).</p> | |
<script> | |
let domainRedir = "https://" + window.location.host + "/working-labs"; | |
let redirHTML = "<a href=\"" + domainRedir + "\">" + domainRedir + "</a>"; |