A collection of concise write-ups on small things I learn day to day across a variety of languages and technologies.
[13/05/2020]: Do something only when user stop typing (javascript)
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.
You're now ready to commit and push the new article!
Forked from: