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
| # | |
| # Usage: kargo manifests kargo.edn | |
| # | |
| # Note: MUST be a function and NOT an alias because `pwd` MUST be interpreted each time the command runs. | |
| # When using an alias, `pwd` will resolve to $HOME instead! | |
| # | |
| function kargo() { | |
| docker run --rm -v `pwd`:`pwd` -w `pwd` \ | |
| -e ENVIRONMENT=${ENVIRONMENT:=preprod} \ | |
| -e ZONE=${ZONE:=ch-gva2-1} \ |
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
| # | |
| # Usage: cljfmt [check|fix] <FILE_OR_PATH> | |
| # | |
| alias cljfmt="clojure -Sdeps '{:deps {cljfmt/cljfmt {:mvn/version \"0.7.0\"}}}' -m cljfmt.main" |
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
| #cloud-config | |
| apt: | |
| sources: | |
| sury.list: | |
| source: "deb https://packages.sury.org/php $RELEASE main" | |
| key: | | |
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| mQGNBFyPb58BDADTDlJLrGJktWDaUT0tFohjFxy/lL2GcVYp4zB981MWIDC0aIQZ |
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
| # Save as ~/.mailcap. Then use run-mailcap to: | |
| # | |
| # - open files by `run-mailcap --action=view <file>`, or | |
| # - view them in the terminal by `run-mailcap --action=cat <file>`. | |
| # | |
| # Useful | |
| # | |
| # - in mutt by `set mailcap_file $HOME/.mailcap` | |
| # - in Vim by adding to your vimrc | |
| # |
OlderNewer