Skip to content

kanha-gupta/Popular-code-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Code Snippets Repository

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.

Table of Contents

Introduction

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.

Contribution Guidelines

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

Domains Covered

  • Algorithms
  • Languages
  • Machine Learning
  • Data Science
  • Web Development
  • [Add more domains as they come in...]

Getting Started

  1. Fork this repository.
  2. Clone your forked repository to your local machine.
git clone https://github.com/kanha-gupta/Popular-code-snippets.git
cd Popular-code-snippets
  1. Add your code snippet in the relevant domain folder. If the domain doesn't exist, feel free to create one.
  2. Commit your changes with a meaningful commit message.
git add .
git commit -m "Your meaningful commit message here"
  1. Push your changes to your forked repository.
git push origin main
  1. Create a Pull Request to this repository. (Option to create will be available in the repository after you make the Pull request)
  2. Wait for your Pull Request to be reviewed and merged!

Please ensure that your code is properly commented and follows best practices.