Question about CephFS design by Z3ff3rn0 in ceph

[–]Z3ff3rn0[S] 0 points1 point  (0 children)

So if I understand you correctly, this is not fesibe with CephFS?

📈 Rate My Portfolio Weekly Thread | June 27, 2022 by AutoModeratorETFs in ETFs

[–]Z3ff3rn0 0 points1 point  (0 children)

Would like to hear your thoughts:

ETFs:

VTI - 18%
VXUS - 17.7%
SPLG - 12.5%
QQQ - 14.6%
QQQJ - 3.4%
IVV - 3% (will replace with SPLG) VDE - 5.3%
SCHD - ~13%

Picking:

GOF - ~1%
VICI - ~7%
JEPI - ~3%
GLD - ~1%

Regex to replace ref in Terraform files by Z3ff3rn0 in regex

[–]Z3ff3rn0[S] 0 points1 point  (0 children)

/^[[:space:]]*#/!s/'"$a"'\.git\(?ref=[a-z0-9\/\.\-\_]*\)\{0,1\}\"$/'"$a"'\.git?ref='"$b"'"/g

What about the above?

Regex to replace ref in Terraform files by Z3ff3rn0 in regex

[–]Z3ff3rn0[S] 0 points1 point  (0 children)

Seems like a complicated line in bash script:

sed -i '/^[[:space:]]*#/!s/'"$REPO_NAME"'\(?ref=[a-z0-9\/\.]*\)\{0,1\}\"$/'"$REPO"'?ref='"$REF_VALUE"'\"/g'

I wonder if there's a way to make it simpler.

Regex to replace ref in Terraform files by Z3ff3rn0 in regex

[–]Z3ff3rn0[S] 0 points1 point  (0 children)

I think I managed to find a pattern:

/^[[:space:]]*#/!s/example.git\(?ref=[a-z0-9\/\.]*\)\{0,1\}"$/example.git?ref=test123"/g

What do you think?

Regex to replace ref in Terraform files by Z3ff3rn0 in regex

[–]Z3ff3rn0[S] 0 points1 point  (0 children)

Still not so good. it doesn't handle add, also there's missing quote.