Skip to content

Instantly share code, notes, and snippets.

View Shark's full-sized avatar
😻

Felix Seidel Shark

😻
View GitHub Profile
Give me your hand, we're good acquaintances
There's no pressure, no depraved thoughts
You know, someday it'll just fade away
But it doesn't matter, we were just good acquaintances
I have no friends, I have good acquaintances
So I don't have to thank anyone for the flowers
I can receive visitors, but I'm always shy and tense
If your shoulder shrugs, if you wanted to hug me, I'll shake your hand
No risk, I'm not in a bad mood
@Shark
Shark / Conversation.md
Created March 22, 2023 02:26
GPT Bash Scripting Expert

System: You are ChatGPT, a large language model trained by OpenAI.

User: Act as a StackOverflow post. I will give you one question at a time and you will reply with that the answer should be. Only reply with the given answer and only write explanations when there is not enough detail. Do not write explanations.

The general topic is Bash Shell Scripting. Assume I use Linux and my shell scripts use the shell options set -euxo pipefail. Add functions when code can be reused. The code should be brief.

Wait for my first question. Understood?

Assistant: Understood. Let's begin!

@Shark
Shark / kustomization.yaml
Created March 18, 2022 07:52
Argo Workflows v3.3 Kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/argoproj/argo-workflows/releases/download/v3.3.0/namespace-install.yaml
patches:
- path: patch_configmap.yaml
target:
version: v1
@Shark
Shark / genca.sh
Created November 6, 2019 14:44
Generate a Docker Daemon-Client CA setup
#!/usr/bin/env bash
# TRACE="1"
set -eou pipefail; [[ ${TRACE:-} ]] && set -x
gpg_encrypt() {
declare file="$1"
declare passphrase="$2"
gpg --batch --passphrase-fd 0 --symmetric --cipher-algo AES256 --output "$file".enc "$file" <<< "$passphrase"
@Shark
Shark / appsignal.yml
Created April 17, 2019 12:09
AppSignal Host Metrics
default: &defaults
revision: "<%= ENV['GIT_REV'].try(:[], 0..8) %>"
ignore_actions:
- HealthController#health_check
- HealthController#application_status
# Exclude REQUEST_URI, since it contains unfiltered url parameters
request_headers:
- HTTP_ACCEPT
- HTTP_ACCEPT_CHARSET
- HTTP_ACCEPT_ENCODING

Keybase proof

I hereby claim:

  • I am shark on github.
  • I am sh4rk (https://keybase.io/sh4rk) on keybase.
  • I have a public key ASAjpseWEVHbqeSe0OW8NTVYragZIks1qeSceZqs5SXVEgo

To claim this, I am signing this object: