TBD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [profile central] | |
| region=us-east-1 | |
| output=json | |
| mfa_serial=arn:aws:iam::123456789012:mfa/mydeviceid | |
| mfa_process=op item get qwertyuiopasdfghjklzxcvbnm --otp | |
| [profile production] | |
| source_profile=central | |
| role_arn=arn:aws:iam::123456789013:role/admin | |
| role_session_name=j.doe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Launch iTerm | |
| tell application "iTerm" | |
| activate | |
| end tell | |
| -- comment example: | |
| -- A man could lose himself in London, lose himself in London! | |
| -- Legend: | |
| -- meta-dir is special dir where notes (long-file.md/short-file.txt) are located |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| target_namespaces=( default ) | |
| target_cluster_context=$(kubectl config current-context | awk -F'/' '{print $NF}') | |
| KNOWN_REGISTRY="123456789012.dkr.ecr.us-west-1.amazonaws.com" | |
| inspect_container () { | |
| echo -n '{{printf "%s,%s,%s,%d,%s,%s,%s," $element.metadata.namespace $podOwnerType $element.metadata.name $count $containerType $container.name $container.image }} | |
| {{- range $envFromItem := $container.envFrom -}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ruby 3.3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .obsidian/plugins/**/*.js | |
| .obsidian/plugins/**/*.css | |
| .obsidian/workspace.json |
- Install lima-vm https://github.com/lima-vm/lima
- Editor/IDE with availability to open directories by SSH (for example VS Code + Remote SSH)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on run {} | |
| -- reset file | |
| do shell script "/usr/bin/git -C ~/path/to/repo checkout -- path/to/file/in/repo.txt" | |
| tell application "Finder" | |
| close every window | |
| set trashcount to count of items of the trash | |
| if trashcount > 0 then | |
| empty the trash | |
| end if |
NewerOlder