A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies.
[29/06/2022]: How to upgrade docker-compose images (docker)
You can easily add a new article by running the contribute.sh
bash script like:
./contribute.sh
It will:
- Ask you to enter the category of the new article. If it doesn't exist, it will create a new folder.
- Ask you to enter the title of the article (like "How to see my public IP")
- Create a markdown file in the category folder and open it with vim directly in insert mode at the end of the file.
- Once you're done writing the article, save it and close vim with the command
:wq
. - It will update the main
README.md
file with updated "Last Article" and "Categories" sections. - It will update the category
README.md
file to append a link to the new article you just wrote. - Add and commit with the title as commit message
- Push to HEAD
Forked from:
- [kinoute/til] (https://github.com/kinoute/til)