Welcome to the Hacktoberfest Code Snippets Repository! This repository is dedicated to collecting and showcasing famous code snippets from various domains such as Machine Learning, Data Science, Web Development, and more.
This repository aims to be a one-stop destination for developers and enthusiasts looking for code snippets that are widely used in various domains. Whether you're a beginner looking to learn or an expert looking to refresh your memory, this repository has something for everyone.
We welcome contributions from everyone! Whether you're a seasoned developer or a beginner, your contributions are valuable to us.
-
File naming convention - File name should be either Name of technique/algorithm used or Should describe what code do. For example :A python code which fetches from API should be named as 'APIFetchingCode' or 'apiFetchCode'
-
Format - Create a comment in the code to describe what the code do.
-
Please do not push files such as images, pdfs or datasets etc
-
If you cant find the folder of your domain, feel free to create one
-
If your snippet requires multiple files, please create a subfolder to store them
- Algorithms
- Languages
- Machine Learning
- Data Science
- Web Development
- [Add more domains as they come in...]
- Fork this repository.
- Clone your forked repository to your local machine.
git clone https://github.com/kanha-gupta/Popular-code-snippets.git
cd Popular-code-snippets
- Add your code snippet in the relevant domain folder. If the domain doesn't exist, feel free to create one.
- Commit your changes with a meaningful commit message.
git add .
git commit -m "Your meaningful commit message here"
- Push your changes to your forked repository.
git push origin main
- Create a Pull Request to this repository. (Option to create will be available in the repository after you make the Pull request)
- Wait for your Pull Request to be reviewed and merged!
Please ensure that your code is properly commented and follows best practices.