https://www.w3schools.com/tags/ref_urlencode.ASP
" %22
, %2C
: %3A
= %3D
\ %5C
[ %5B
] %5D
https://www.w3schools.com/tags/ref_urlencode.ASP
" %22
, %2C
: %3A
= %3D
\ %5C
[ %5B
] %5D
| // First complete match wins. | |
| // Because exact children are tried before `*` which is tried before `**`. | |
| // The most-specific rule wins without an explicit priority sort. | |
| package redirect | |
| import ( | |
| "fmt" | |
| "strings" | |
| ) |
In a multi-language repository—for example, one that includes both Go and Ruby—you can run into conflicts around the vendor/ directory. Ruby commonly uses a vendor/ directory to store dependencies, but Go’s toolchain assumes that a vendor/ directory follows its own vendoring format (including the modules.txt file that defines vendored modules).
If Ruby’s vendor/ directory is present, the Go toolchain may attempt to interpret it as a Go vendoring directory, leading to unexpected errors.
To prevent this, configure Go to use module mode explicitly and ignore the vendor/ directory (which, in this case, is only relevant to Ruby):
-mod=mod to commands such as go build and go test.export GOFLAGS=-mod=mod for commands like go tool that do not expose a -mod flag directly.| for f in *.aifc; do | |
| ffmpeg -i "$f" -c:a aac -b:a 192k "${f%.aifc}.m4a" | |
| done |
How to communicate effectively...
| # https://www.makemkv.com/ | |
| makemkvcon -r info | |
| makemkvcon mkv disc:0 all ./output-dir/ |
| # use perl to strip ASCII escape codes so we can copy delta's diff output | |
| # this is because unlike `git diff` there is no `--no-color` flag. | |
| # and using the classic `diff` is just hard to decipher | |
| delta foo.yaml bar.yaml | perl -pe 's/\x1b\[[0-9;]*[mK]//g' | pbcopy |
| gh pr list --repo whatever/example -s merged -L 4666 --search "merged:>2025-05-13" --json author,mergeCommit,number,title,createdAt | jq -r '.[] | select( | |
| ( | |
| (.title | startswith("build(deps)")) or | |
| (.title | startswith("bump:")) or | |
| (.title | startswith("build: bump")) or | |
| (.title | startswith("Data update")) | |
| ) | not | |
| ) | "• \(.title) (\(.number)) -- \(.author.name)"' |