Skip to content

Instantly share code, notes, and snippets.

View lpiot's full-sized avatar
🏒
Working from my river boat

Ludovic Piot lpiot

🏒
Working from my river boat
View GitHub Profile
@lpiot
lpiot / ocp-k8s-version.md
Last active May 27, 2025 09:37 — forked from jeyaramashok/ocp-k8s-version.md
openshift kubernetes version mapping
@lpiot
lpiot / gist:7d0c55e9c2090fd201ef6217eeb63dc9
Created April 22, 2025 15:21
outscale/outscale v1.1.0 crash when multiple provider aliases are used
# tofu plan --var-file=/secrets/customer-A.tfvars --var-file=/secrets/storcloud.tfvars
Planning failed. OpenTofu encountered an error while generating this plan.
β•·
β”‚ Error: Plugin did not respond
β”‚
β”‚ with provider["registry.opentofu.org/outscale/outscale"],
β”‚ on provider.tf line 10, in provider "outscale":
β”‚ 10: provider outscale {
@lpiot
lpiot / shell_tips-and-tricks.sh
Last active April 30, 2020 09:52
SHELL - How-to convert a string with line breaks into a file
# source: https://stackoverflow.com/questions/52065016/how-to-replace-n-string-with-a-new-line-in-unix-bash-script
# Works everywhere
foo='1\n2\n3'; echo "${foo//'\n'/$'\n'}"
# With bash 4.4 and upper
foo='1\n2\n3'; echo "${foo@E}"

Keybase proof

I hereby claim:

  • I am lpiot on github.
  • I am obic (https://keybase.io/obic) on keybase.
  • I have a public key ASCI1hFXYLRGILi3cjRXQ1U3fpMFJ3aVDjz8u3K_E65HFAo

To claim this, I am signing this object: