- implementer
Details : you were told how to fix a problem, and you did as told
Moved deployment from manually-managed hosts to a new Kubernetes cluster.
- solver + implementer
#!/bin/bash | |
MAXDEPTH=("-maxdepth" "0") | |
OPTIONS=() | |
while getopts RcfvhHLP OPTION | |
do | |
if [[ "${OPTION}" != "?" && "${OPTION}" != "R" ]]; then | |
OPTIONS+=("-${OPTION}") | |
fi | |
if [[ "${OPTION}" = "R" ]]; then |
version: "3.3" | |
services: | |
traefik: | |
image: "traefik:v3.0" | |
container_name: "traefik" | |
command: | |
#- "--log.level=DEBUG" | |
- "--api.dashboard=true" | |
- "--ping=true" |
#!/bin/bash | |
usage() { | |
echo "Usage: $0 [OPTIONS] [file_path]" | |
echo "OPTIONS:" | |
echo " -p, --prefix PREFIX Specify the prefix for environment variables" | |
echo " -h, --help Show this help message" | |
echo "If no file_path is provided, the script reads from stdin." | |
exit 1 | |
} |
<html> | |
<head> | |
<title>Bouncing DVD Logo</title> | |
<style> | |
* {margin:0; padding: 0; color:red;} | |
</style> | |
</head> | |
<body> | |
<canvas id="tv-screen"></canvas> |
quick action
no input
in Finder.app
run apple script
and double-click on ittell application "Finder"
set txt to make new file at (the target of the front window) as alias with properties {name:"newfile.txt"}
select txt
#!/usr/bin/env bash | |
# Bash3 Boilerplate. Copyright (c) 2014, kvz.io | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
# set -o xtrace | |
# Set magic variables for current file & dir | |
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" |
# source : https://stackoverflow.com/a/52033580 | |
# the wait allows COMMAND2 to finish before COMMAND1 | |
# the trap allows the user to kill all the commands with one control-c | |
(trap 'kill 0' SIGINT; COMMAND1 & COMMAND2 & wait) |
# ubuntu install Postman without snap | |
DOWNLOAD_PATH="${HOME}/Downloads" | |
POSTMAN_FILENAME="postman-linux-x64.tar.gz" | |
POSTMAN_DOWNLOAD_PATH="${DOWNLOAD_PATH}/${POSTMAN_FILENAME}" | |
POSTMAN_URL="https://dl.pstmn.io/download/latest/linux_64" | |
wget -c "${POSTMAN_URL}" -O "${POSTMAN_DOWNLOAD_PATH}" | |
sudo rm -rf /opt/Postman/ |
Latest docker version to support macos 10 => https://desktop.docker.com/mac/main/amd64/93002/Docker.dmg | |
https://docs.docker.com/desktop/release-notes/#4150 |