💾 Archived View for source.community › jeffdecola › my-go-tools › tree › develop › docs › _includes captured on 2021-12-17 at 13:26:06. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
. ,-. ,-. . . ,-. ,-. ,-. ,-. ,-. ,-,-. ,-,-. . . ,-. . |- . . `-. | | | | | | |-' | | | | | | | | | | | | | | | | | `-' `-' `-^ ' `-' `-' :: `-' `-' ' ' ' ' ' ' `-^ ' ' ' `' `-| /| `-'
git clone https://source.community/jeffdecola/my-go-tools.git
- decryptfile[1]
_Decrypt a file with AES-256 GCM (a 32-byte hash key) using the `crypto/aes` package.
Works with encryptfile[1]._
- encryptfile[1]
_Encrypt a file with AES-256 GCM (a 32-byte hash key) using the `crypto/aes` package.
Works with decryptfile[1]._
- markdown-create-table-of-contents[1]
1: markdown-create-table-of-contents
_Parse a markdown file to find `##`, `###` to create a table of contents (TOC) for links at github. I like to use a TOC at the beginning of my README.md files._
- markdown-delimiter-doer[1]
_Take a markdown file and "do whatever you want" between the delimiters and output new markdown file._
For fun, I use concourse to update my-go-tools GitHub Webpage[1] and alert me of the changes via repo status and slack.
A pipeline file pipeline.yml[1] shows the entire ci flow. Visually, it looks like,
IMAGE - my-go-tools concourse ci pipeline - IMAGE[1]
1: IMAGE - my-go-tools concourse ci pipeline - IMAGE
The `jobs` and `tasks` are,
- `job-readme-github-pages` runs task
readme-github-pages.sh[1].
The concourse `resources types` are,
- `my-go-tools` uses a resource type
docker-image[1] to PULL a repo from github.
- `resource-slack-alert` uses a resource type
docker image[1] that will notify slack on your progress.
- `resource-repo-status` uses a resource type
docker image[1] that will update your git status for that particular commit.
For more information on using concourse for continuous integration, refer to my cheat sheet on concourse[1].
· · ·
© 2021 source.community