The Tale of Five Monkeys
The following story, though often presented as an experiment, is apocryphal and serves as a metaphor rather than a real scientific account. It’s used in business and social sciences to illustrate...
The following story, though often presented as an experiment, is apocryphal and serves as a metaphor rather than a real scientific account. It’s used in business and social sciences to illustrate...
Having multiple accounts on GitHub (e.g. one private and one or more for work) requires setting up either custom hosts or setting per-repo local config. Signed commits would require local config ...
Using sh() helper from the previous post we can make a script for dumping DLQ locally for inspecting failed events. const queue_url = Bun.argv[2]; ( await sh(`aws sqs receive-message`, { 'q...
Bun shell is great for shorter commands, but when they become too long, then it gets a bit tricky. Thankfully, there is {raw: } feature, that can help us to handle numerous arguments and long com...
In order to use both AWS CLI and Bun together, we need to put them on the same image. We can use public.ecr.aws/aws-cli/aws-cli as base and then add the Bun binary. The standard way of installing ...
Sometimes one needs to know state of a plist before changing settings. For example, when changing LSHandlers in LaunchServices. We can see what’s inside the file using defaults read command: $ d...
Updating Xcode/macOS usually resets file type associations and requires reassigning default program for them to some other editor that is not as slow and inflexible as Xcode. I personally prefer ...
I usually print my Python data structures encoded as JSON to make them more readable: import json def print_data(value): print(json.dumps(value, indent=2, default=repr)) This is great, but ...
After being assigned permissions via AWS Identity Center, one would need to create profiles in ~/.aws/config file in order to be able to use them with AWS CLI and/or aws-vault, e.g.: aws-vault exe...
youtu.be/VhrswtPLn_U?t=9