Skip to content

Instantly share code, notes, and snippets.

@msamendinger
msamendinger / Brewfile
Last active October 24, 2023 17:24
Brewfile
tap "Azure/kubelogin"
tap "filippo.io/age", "https://filippo.io/age"
tap "hashicorp/tap"
tap "homebrew/bundle"
tap "homebrew/cask-fonts"
tap "homebrew/cask-versions"
tap "homebrew/services"
tap "spacelift-io/spacelift"
brew "Azure/kubelogin"
brew "age"
age1ymqu0c2rgsyv4c6mew6m3thrxjkyhe7n4ldd6mf5px3ww3fghu3qnjaz5q
# what happens when we want to replace a string with a variable with a forward slash in its value?
$ var1="test/string"
$ echo "this is a test" | sed "s/test/$var1/"
sed: 1: "s/test/test/string/g": bad flag in substitute command: 's'
# set has delimiter confusion let's use another delimiter
$ echo "this is a test" | sed "s#test#$var1#"
this is a test/string
# works but what if we want to use #s
$ var2="test/string # comment"
$ echo "this is a test" | sed "s#test#$var2#"

Installing Photostructure

nice animation

OK I get quite some options to choose from, but they seem to make sense. I just realized that I'm on a newly installed PC so no Pictures on the hard disk let's see if Photostructure can work with UNC paths.

Oh, I just pressed Enter because I thought it would go

Post-Installation

Tip #3

Says PhotoStructure gathers duplicate files under an Asset and by opening the asset info panel I can see one or more of the file paths. It took me a bit to understand that by asset info panel the (in my terms) text box that the