├── .gitattributes ├── .github └── workflows │ ├── close_issues.yml │ └── super-linter.yml ├── .mergify.yml ├── Advanced ├── Challenge.md ├── gist-solutions.md ├── projects.md └── readme.md ├── Beginner ├── Challenges │ ├── 01.md │ ├── 02.md │ ├── 03.md │ ├── 04.md │ ├── 05.md │ ├── 06.md │ ├── image.png │ └── swappy-20240105-201116.png ├── gist-solutions.md └── readme.md ├── CONTRIBUTING.md ├── Intermediate ├── Challenges │ ├── 01.md │ ├── 02.md │ ├── 03.md │ ├── 04.md │ ├── 05.md │ ├── 06.md │ └── 07.md └── readme.md ├── LICENSE ├── README.md ├── assets ├── OSS101.pdf ├── OSS101.pptx └── git_cheat_sheet.pdf ├── contributors ├── Aadhirajan │ ├── Aadhirajan.md │ ├── Merge.txt │ ├── gist-solutions.md │ └── helloworld.py ├── Allen-Josu │ ├── Allen-Josu.md │ ├── Sum.py │ └── gist-solutions.md ├── Aryan-Mishra24 │ ├── Aryan-Mishra24.md │ └── gist-solutions.md ├── Ashmita001 │ ├── Ashmita001 │ ├── Ashmita001.md │ ├── challenge │ └── challenge.md ├── AyushSenDazzler │ ├── AyushSenDazzler.md │ ├── gist-solutions.md │ └── hello-world.py ├── Darshan_Kumar_R │ ├── Darshan_Kumar_R.md │ └── gist-solutions.md ├── Deva-Vasista │ ├── Deva-Vasista.md │ └── gist-solutions.md ├── KSoham-dev │ ├── KSoham-dev.md │ └── gist-solutions.md ├── Karthik110505 │ ├── Karthik110505.md │ ├── Python.py │ └── gist-solutions.md ├── KshitizRana │ └── KshitizRana.md ├── LakB05-details │ └── LakB05.md ├── Normturtle │ ├── Lint.lua │ ├── Normturtle.md │ └── gist-solutions.md ├── Ranojitdas │ ├── Ranojitdas.md │ └── gist_solution.md ├── SAM8402 │ ├── SAM8402.md │ ├── SAM8402.txt │ ├── example.txt │ ├── gist-solutions.md │ └── hello_world.py ├── Shivam-vk │ ├── Shivam-vk.md │ └── gist-solutions.md ├── ShreedeepM │ ├── ShreedeepM.md │ └── gist-solutions.md ├── SidhaarthShree07 │ └── SidhaarthShree07.md ├── Sumitkumar005 │ └── Sumitkumar005.md ├── TPYogalashmi │ ├── TPYogalashmi.md │ └── gist-solutions.md ├── VIROOPAKSHC │ ├── exampleCode.py │ ├── new-file │ ├── new-file-for-stash │ └── viroopakshc.md ├── Vaidisha675 │ └── Vaidisha675.md ├── abhijain1705 │ ├── abhijain1705.md │ ├── gist-solutions.md │ └── hello.js ├── adhi1911 │ ├── adhi1911.md │ └── gist-solutions.md ├── annimukherjee │ ├── annimukherjee.md │ └── gist-solutions.md ├── ashvin-to │ └── ashvin-to.md ├── contributors │ ├── KT252005 │ │ └── contributors │ │ │ └── KT252005 │ │ │ ├── KT252005.md │ │ │ ├── gist-solutions.md │ │ │ ├── k2.py │ │ │ └── new_file.txt │ └── deepika4786 │ │ └── deepika4786.md ├── gkay-dev │ └── gkay-dev.md ├── hillhack │ └── hillhack.md ├── himanshu-garg-ds │ ├── gist-solutions.md │ ├── gitgud.py │ └── himanshu-garg-ds.md ├── izumigoto │ ├── izumi.py │ └── izumigoto.md ├── jashmevada │ └── jashmevada.md ├── jaswanth-coder │ └── jaswanth.md ├── krishnanshagarwal112 │ ├── gist-solutions.md │ └── krishnanshagarwall12.md ├── leena2403 │ ├── gist-solutions.md │ └── leena2403.md ├── nav9v │ └── nav9v.md ├── nebulatris │ ├── Ranojitdas │ ├── Sudhish23 │ │ └── Sudhish23.md │ ├── christiano-developer │ │ ├── christiano-developer.md │ │ ├── gist-solutions.md │ │ └── sourcecodeitdmchallenge6.py │ ├── eabhi-me │ │ └── eabhi-me.md │ ├── nitinya9av │ │ ├── gist-solutions.md │ │ ├── level2_task6.py │ │ └── nitinya9av.md │ └── souvikchand │ │ └── souvikchand.md ├── porwalshreyaa │ ├── gist-solutions.md │ └── porwalshreyaa.md ├── rahulbok │ └── rahulbok.md ├── ravikumawat7716 │ └── ravikumawat7716.md ├── rohansahni │ └── rohansahni.md ├── rohitblpprajapat │ └── rohitblpprajapat.md ├── saquib000 │ ├── gist-solutions.md │ └── saquib000.md ├── shivamkumar1n2 │ ├── gist-solutions.md │ └── shivamkumar1n2.md ├── souvikchand │ ├── gist-solutions.md │ └── souvikchand.md ├── trish404 │ ├── linting.py │ └── trish404.md └── whitewolf2000ani │ ├── gist-solutions.md │ └── whitewolf2000ani.md └── gist-solutions.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Linguist overrides 2 | *.md linguist-detectable=true 3 | README.md linguist-detectable=false 4 | readme.md linguist-detectable=false 5 | -------------------------------------------------------------------------------- /.github/workflows/close_issues.yml: -------------------------------------------------------------------------------- 1 | name: Close inactive issues 2 | on: 3 | schedule: 4 | - cron: "30 1 * * *" 5 | 6 | jobs: 7 | close-issues: 8 | runs-on: ubuntu-latest 9 | permissions: 10 | issues: write 11 | pull-requests: write 12 | steps: 13 | - name: Close inactive issues 14 | uses: actions/stale@v5 15 | with: 16 | days-before-issue-stale: 7 17 | days-before-issue-close: 5 18 | stale-issue-label: "stale" 19 | stale-issue-message: "This issue is stale because it has been open for 7 days with no activity." 20 | close-issue-message: "This issue was closed because it has been inactive for 5 days since being marked as stale." 21 | days-before-pr-stale: -1 22 | days-before-pr-close: -1 23 | repo-token: ${{ secrets.GITHUB_TOKEN }} 24 | perform: close 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /.github/workflows/super-linter.yml: -------------------------------------------------------------------------------- 1 | --- 2 | ### Super Linter 3 | name: Linting Code Base using Super Linter 4 | on: 5 | # push: 6 | # # branches: [main] 7 | pull_request: 8 | branches: [main] 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | permissions: 13 | contents: read 14 | packages: read 15 | # To report GitHub Actions status checks 16 | statuses: write 17 | steps: 18 | - name: Checkout Code 19 | uses: actions/checkout@v3 20 | with: 21 | # Checkout whole repo for Lint 22 | fetch-depth: 0 23 | - name: Lint Whole Repository 24 | # Slim version do not have rust, pwsh, c#, armttk , dotenv, rust linters and its bit fast 25 | # if want to use normal version then just remove SLIM before @ till / as ../super-linter@Versoin 26 | uses: super-linter/super-linter/slim@v5.7.2 27 | env: 28 | # ALL_codebase parse the entire repository and find all files to validate across all types. NOTE: When set to false, only new or edited files will be parsed for validation. 29 | VALIDATE_ALL_CODEBASE: false # this work on changed made on that specific commit as :Diff 30 | VALIDATE_MARKDOWN: false 31 | VALIDATE_YAML: false 32 | VALIDATE_NATURAL_LANGUAGE: false # disable linting Text/Markdown 33 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 34 | -------------------------------------------------------------------------------- /.mergify.yml: -------------------------------------------------------------------------------- 1 | pull_request_rules: 2 | - name: Automatic merge when CI passes and reviews approve 3 | conditions: 4 | - "#approved-reviews-by>=1" 5 | - check-success=CI # replace "CI" with the name of your CI status check 6 | actions: 7 | merge: 8 | method: merge 9 | - name: Ask to resolve conflict 10 | conditions: 11 | - conflict 12 | actions: 13 | comment: 14 | message: This pull request is now in conflicts. Could you fix this @{{author}} ? 15 | - name: comment when a pull request is merged 16 | conditions: 17 | - merged 18 | actions: 19 | comment: 20 | message: Thank you for your contribution @{{author}}! Your pull request has been merged. 21 | - name: comment when a pull request is labeled "needs review" 22 | conditions: 23 | - label=needs review 24 | actions: 25 | comment: 26 | message: Thank you for your contribution! A reviewer will be assigned soon. 27 | -------------------------------------------------------------------------------- /Advanced/Challenge.md: -------------------------------------------------------------------------------- 1 | # Advanced Contributors Challenge 2 | 3 | Welcome, Advanced Open Source Enthusiasts! 🚀 4 | 5 | ## Challenge Overview 6 | 7 | You've reached the advanced level in our Open Source Guide, and we're thrilled to have you here. Your challenge involves actively contributing to the mentioned repositories in [projects.md](./projects.md). 8 | 9 | ## Task 10 | 11 | Create viable Pull Requests (PRs) to the repositories listed in [projects.md](./projects.md). Any meaningful contribution, be it bug fixes, feature enhancements, documentation improvements, or tests, will be considered valid. 12 | 13 | ## Scoring 14 | 15 | - Each viable Pull Request made to the specified repositories will earn you +5 points. 16 | - Contributions will be reviewed, and points will be awarded based on the impact and quality of the PR. 17 | 18 | ## How to Participate 19 | 20 | 1. **Fork the Repository:** Fork the repository you want to contribute to. 21 | 22 | 2. **Clone your Fork:** Clone the forked repository to your local machine. 23 | 24 | ```bash 25 | git clone https://github.com/your-username/repository.git 26 | cd repository 27 | ``` 28 | 29 | 3. **Create a New Branch:** Create a new branch for your changes. 30 | 31 | ```bash 32 | git checkout -b feature/your-feature-name 33 | ``` 34 | 35 | 4. **Make Changes:** Make your awesome contributions. 36 | 37 | 5. **Commit Changes:** Commit your changes. 38 | 39 | ```bash 40 | git add . 41 | git commit -m "Add your meaningful commit message" 42 | ``` 43 | 44 | 6. **Push Changes:** Push your changes to your forked repository. 45 | 46 | ```bash 47 | git push origin feature/your-feature-name 48 | ``` 49 | 50 | 7. **Create Pull Request:** Create a Pull Request from your forked repository to the original repository. 51 | 52 | 8. **Score Points:** Once your PR is merged or accepted, you'll score +5 points! 53 | 54 | ## Tips 55 | 56 | - Check the contributing guidelines of the respective repositories before contributing. 57 | - If a repository has issues labeled as "good first issue" or similar, they are usually beginner-friendly. 58 | 59 | ## Happy Contributing! 🎉 60 | -------------------------------------------------------------------------------- /Advanced/gist-solutions.md: -------------------------------------------------------------------------------- 1 | --- 2 | https://gist.github.com/izumigoto/325e82aea95eb9dafeb3c20288eac763 3 | https://gist.github.com/izumigoto/adbddbd5b9b32d2193aa6e6f16f94243 4 | --- 5 | -------------------------------------------------------------------------------- /Advanced/projects.md: -------------------------------------------------------------------------------- 1 | # Projects - Python Centric 2 | 3 | Viable PRs in any of these repositories would help you score +5 points 4 | 5 | | Name | Level | Link | PR Merge Time | 6 | |-----------------------|------------|------------------------------------------|-----------------------| 7 | | fork-commit-merge | Beginner | https://github.com/fork-commit-merge/fork-commit-merge | <1 Hour | 8 | | firstcontributions | Beginner | https://github.com/firstcontributions/first-contributions | <5 Hour | 9 | | vibescape | Intermediate| https://github.com/NebulaTris/vibescape | <3 Hours | 10 | | routeviz | Intermediate| https://github.com/NebulaTris/routeviz | <3 Hours | 11 | | Beginners-Python-Examples | Intermediate| https://github.com/zeta-punk-x1/Beginners-Python-Examples | <1 Hour | 12 | | python-beginner-projects | Intermediate| https://github.com/Mrinank-Bhowmick/python-beginner-projects | <3 days | 13 | | augur | Advanced | https://github.com/chaoss/augur | <1 Hour | 14 | | xla | Advanced | https://github.com/pytorch/xla | <1 day | 15 | | airflow | Advanced | https://github.com/apache/airflow | 11 hours | 16 | | litellm | Advanced | https://github.com/BerriAI/litellm | 3 Hours | 17 | | river | Advanced | https://github.com/online-ml/river | 2 Hours | 18 | | taipy | Advanced | https://github.com/Avaiga/taipy | 3 Hours | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Advanced/readme.md: -------------------------------------------------------------------------------- 1 | # Advanced Level 🚀 2 | 3 | 4 | 5 | Welcome to OSS101 ! This guide is tailored for advanced contributors who are passionate about open source and want to make a meaningful impact. Whether you're an experienced developer or a seasoned open source contributor, this guide will provide insights, tips, and resources to enhance your open source journey. 6 | 7 | ## Table of Contents 8 | 9 | 1. [Introduction](#introduction) 10 | 2. [Key Concepts](#key-concepts) 11 | 3. [Advanced Contribution Strategies](#advanced-contribution-strategies) 12 | 4. [Maintaining Open Source Projects](#maintaining-open-source-projects) 13 | 5. [Scaling Impact](#scaling-impact) 14 | 6. [Community Leadership](#community-leadership) 15 | 7. [Resources](#resources) 16 | 8. [Acknowledgments](#acknowledgments) 17 | 18 | ## 1. Introduction 19 | 20 | Advanced contributors play a pivotal role in shaping the open source landscape. This section sets the tone for your journey, highlighting the importance of your expertise and the impact you can make. 21 | 22 | ## 2. Key Concepts 23 | 24 | Deepen your understanding of key open source concepts. Explore topics like license considerations, code of conduct enforcement, and effective communication within diverse communities. 25 | 26 | ## 3. Advanced Contribution Strategies 27 | 28 | Learn sophisticated strategies for contributing to open source projects effectively. From impactful code reviews to architectural enhancements, this section covers a range of advanced contribution techniques. 29 | 30 | ## 4. Maintaining Open Source Projects 31 | 32 | Discover the responsibilities and challenges associated with maintaining open source projects. Gain insights into effective project management, handling issues, and fostering a welcoming contributor community. 33 | 34 | ## 5. Scaling Impact 35 | 36 | Explore avenues for scaling your impact in the open source world. This section delves into mentorship, organizing events, and collaborating on large-scale projects to amplify your contributions. 37 | 38 | ## 6. Community Leadership 39 | 40 | As an advanced contributor, your leadership is crucial. Learn how to foster inclusivity, resolve conflicts, and empower others within the open source community. 41 | 42 | ## 7. Resources 43 | 44 | Find a curated list of resources, including tools, articles, and guides, to support your ongoing journey in the open source ecosystem. 45 | 46 | ## 8. Acknowledgments 47 | 48 | Acknowledging the contributions and efforts of the open source community is essential. Take a moment to recognize the individuals and organizations that make open source thrive. 49 | 50 | Ready to embark on an advanced open source adventure? Dive into the sections that resonate with your goals and aspirations. Happy contributing! 🌟 51 | 52 | **Note:** This guide is a living document, and we encourage contributions. If you have insights, tips, or resources to share, please submit a pull request! 53 | -------------------------------------------------------------------------------- /Beginner/Challenges/01.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 1 2 | 3 | Welcome to the first challenge! 4 | We will start off with an easy task. 5 | 6 | Task: 7 | Create a [new issue](https://github.com/NebulaTris/oss101/issues/new) on this repository with the following details to be added to the content of the issue: 8 | 9 | ``` 10 | name: Rahul Bokade 11 | github_user_name: rahulbok 12 | ``` 13 | 14 | ![Alt text](image.png) 15 | 16 | URL of forked repository : https://github.com/rahulbok/oss101 17 | 18 | -------------------------------------------------------------------------------- /Beginner/Challenges/02.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 2 2 | 3 | Welcome to the second challenge! 4 | Today we will focus on how to fork and create a clone of a Github repository 5 | 6 | Task: 7 | 1. Create a fork of this repository 8 | 2. Clone the forked project locally in your system using the ``git clone`` command 9 | 3. Add a new comment to the issue you created in the [first task](https://github.com/NebulaTris/oss101/blob/main/Beginner/Challenges/01.md). The comment should have the following: 10 | - URL of your forked repository : https://github.com/rahulbok/oss101 11 | - A screenshot of the cloned project in your system 12 | -------------------------------------------------------------------------------- /Beginner/Challenges/03.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 3 2 | 3 | Welcome to the third challenge! 4 | Today we will focus on how to create a new branch in a git repository 5 | 6 | Task: 7 | 1. Following up on the [previous task](https://github.com/NebulaTris/oss101/blob/main/Beginner/Challenges/02.md), create a new branch locally in your forked clone repository 8 | 2. The branch name should be as follows: ``your_github_username-details``. Example: ``nebulatris-details`` 9 | 3. Add a new comment to the issue you created in the [first task](https://github.com/NebulaTris/oss101/blob/main/Beginner/Challenges/01.md). The comment should have the following: 10 | - Screenshot showing the list of all the current branches inside of your forked clone repository -------------------------------------------------------------------------------- /Beginner/Challenges/04.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 4 2 | 3 | Welcome to the fourth challenge! 4 | Today's goal is to update your forked repository and then create a Pull Request 5 | 6 | Task 7 | 1. Ensure your forked repository is in sync with the latest changes in the main repository. Also ensure that the git branch that you created in Challenge 3 is also in sync with the latest changes 8 | 2. Create a new folder inside the `contributors` folder, and name it with your github username. It should look something like this `contributors//`. Ex. 9 | 10 | ``` 11 | contributors/nebulatris/ 12 | ``` 13 | 14 | 3. Create a markdown file in the folder you created following the naming convention for the file: `.md`. Ex. 15 | 16 | ``` 17 | contributors/nebulatris/nebulatris.md 18 | ``` 19 | 20 | 4. Copy the following template into your file, delete the placeholder text and fill the information with yours. 21 | 22 | ``` 23 | --- 24 | name: Harsh 25 | github_user_name: HarshKumar000 26 | --- 27 | ``` 28 | 5. Submit your Pull Request on the main challenge repo. 29 | -------------------------------------------------------------------------------- /Beginner/Challenges/05.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 5 2 | 3 | Welcome to the fifth challenge! 4 | Today's goal is to update your pull request that you created in [Challenge 4](https://github.com/NebulaTris/oss101/blob/main/Beginner/Challenges/04.md) 5 | 6 | Task 7 | 1. Create a new commit in the branch you created in Challenge 2 in your forked repository 8 | 2. The change that you have to make should be the following: 9 | In the markdown file that was created in Challenge 4, edit the details as follows: 10 | ``` 11 | --- 12 | name: your_name 13 | github_user_name: YOUR-GITHUB-USERNAME 14 | url_of_github_issue: Link_of_the_github_issue_created_in_first_challenge 15 | --- 16 | ``` 17 | 3. After making this change create a commit with a proper commit message and push the changes 18 | 4. Check if the commit reflects in the Pull request you created in Challenge 4 19 | -------------------------------------------------------------------------------- /Beginner/Challenges/06.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 6 2 | 3 | Welcome to the sixth Challenge 4 | 5 | Today we will be learning to work with GitHub Gist and Markdown 6 | 7 | #### Brief Overview 8 | 9 | GitHub Gist is two fold and you can either use it for sharing ideas or sharing smaple code. It supports **Markdown** 10 | To learn more, vist: 11 | - [Learn more about GitHub gist](https://help.github.com/en/enterprise/2.13/user/articles/about-gists) 12 | 13 | ## Task 14 | 15 | - Create a gist writing on any software development related topic that interests you 16 | - Create a gist sharing a small code snippet in your preferred programming language 17 | 18 | ## How to Submit 19 | 20 | - Create your submission a markdown file named ``gist-solutions.md`` and add it inside the branch ``your-username-details`` used in previous challenges 21 | - In your submission file add the links to your **2 gist** 22 | - Ensure you push it so that it reflects inside your Pull request created in previous challenges 23 | -------------------------------------------------------------------------------- /Beginner/Challenges/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NebulaTris/oss101/2f84ab7679968db5cc828aaa574c99da26abe38e/Beginner/Challenges/image.png -------------------------------------------------------------------------------- /Beginner/Challenges/swappy-20240105-201116.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NebulaTris/oss101/2f84ab7679968db5cc828aaa574c99da26abe38e/Beginner/Challenges/swappy-20240105-201116.png -------------------------------------------------------------------------------- /Beginner/gist-solutions.md: -------------------------------------------------------------------------------- 1 | Gist_link_1: https://gist.github.com/GKay-Dev/6f1395e6a7ba0ccda8d50290dc919871 2 | 3 | Gist_link_2: https://gist.github.com/GKay-Dev/92027abf7d8354fcba7ca7b06f0d2b75 -------------------------------------------------------------------------------- /Beginner/readme.md: -------------------------------------------------------------------------------- 1 | # Beginner Level 🚀 2 | 3 | 4 | 5 | Welcome to the "OSS101"! Whether you're new to the world of open source or looking to enhance your contributions, this section is designed to help you get started on your journey. 6 | 7 | ## Table of Contents 8 | 9 | 1. [Introduction](#introduction) 10 | 2. [Prerequisites](#prerequisites) 11 | 3. [Setting Up Your Development Environment](#setting-up-your-development-environment) 12 | 4. [Choosing Your First Project](#choosing-your-first-project) 13 | 5. [Making Your First Contribution](#making-your-first-contribution) 14 | 6. [Resources](#resources) 15 |
16 | 17 | ## Introduction 18 | 19 | Before diving into open source, it's essential to understand the fundamentals. This section introduces the principles of open source, its impact on the tech industry, and what you can gain from contributing to open-source projects. 20 | 21 | ## Prerequisites 22 | 23 | Before you begin, make sure you have the following prerequisites in place: 24 | 25 | - A code editor (e.g., Visual Studio Code, Atom, Sublime Text) 26 | - Git installed on your local machine 27 | - Basic understanding of version control concepts 28 | 29 | ## Setting Up Your Development Environment 30 | 31 | Follow these steps to set up your development environment: 32 | 33 | 1. **Install a Code Editor:** 34 | Choose a code editor that suits your preferences and install it on your machine. 35 | 36 | 2. **Install Git:** 37 | If you haven't already, [install Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) on your local machine. 38 | 39 | 3. **Configure Git:** 40 | Set your Git username and email using the following commands: 41 | 42 | ```bash 43 | git config --global user.name "Your Name" 44 | git config --global user.email "your@email.com" 45 | ``` 46 | 47 | Version control is fundamental to collaborative coding. Learn the basics of Git, understand common Git commands, and become comfortable with workflows like branching, committing, and merging. 48 | 49 | GitHub provides an excellent guide on [Getting Started with Git](https://docs.github.com/en/get-started). 50 | 51 | ## Choosing Your First Project 52 | 53 | Selecting the right project is crucial. Start with projects that align with your interests and skill level. Look for beginner-friendly labels or "good first issue" tags on GitHub. This indicates issues that are suitable for newcomers. 54 | 55 | ## Making Your First Contribution 56 | 57 | Now comes the exciting part – making your first contribution! This might involve fixing a bug, adding a feature, or improving documentation. Follow the project's contribution guidelines, create a fork, make changes in your fork, and submit a pull request. 58 | 59 | GitHub's [Contributing to Open Source](https://opensource.guide/how-to-contribute/) guide is an excellent resource. 60 | 61 | Another awesome resource is [Learn Git Branching](https://learngitbranching.js.org/). It will help you learn all concepts with visualization 62 | 63 | ## Resources 64 | 65 | - [GitHub Guides](https://guides.github.com/) - Essential guides for using GitHub. 66 | - [Open Source Guides](https://opensource.guide/) - A collection of practical guides for contributing to open source. 67 | - [First Contributions](https://firstcontributions.github.io/) - Help beginners make their first contribution. 68 | 69 | Ready to get started? Happy coding! 🚀 70 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Making Contributions 2 | 3 | 🎉 Thank you for considering contributing to the "Guide to Open Source" project! Your contributions help make this guide more valuable for everyone in the open-source community. 4 | 5 | ## Table of Contents 6 | 7 | 1. [How to Contribute](#how-to-contribute) 8 | 2. [Reporting Issues](#reporting-issues) 9 | 3. [Feature Requests](#feature-requests) 10 | 4. [Pull Requests](#pull-requests) 11 | 5. [Code Style Guidelines](#code-style-guidelines) 12 | 6. [Commit Message Guidelines](#commit-message-guidelines) 13 | 7. [Acknowledgements](#acknowledgements) 14 | 15 | ## How to Contribute 16 | 17 | Whether you're fixing a typo, adding a section, or addressing a bug, your contributions are welcome. To contribute, follow these steps: 18 | 19 | 1. **Fork this Repository:** 20 | Fork this repository to your GitHub account by clicking the "Fork" button at the top of this page. 21 | 22 | 2. **Clone Your Fork:** 23 | Clone your fork to your local machine using the following command (replace `` with your GitHub username): 24 | 25 | ```bash 26 | git clone https://github.com//oss101.git 27 | ``` 28 | 29 | 3. **Create a New Branch:** 30 | Create a new branch for your contributions: 31 | 32 | ```bash 33 | git checkout -b feature/your-feature 34 | ``` 35 | 36 | 4. **Make Changes:** 37 | Make the necessary changes in your branch. 38 | 39 | 5. **Commit Changes:** 40 | Commit your changes with clear and concise commit messages: 41 | 42 | ```bash 43 | git add . 44 | git commit -m "Add your commit message here" 45 | ``` 46 | 47 | 6. **Push Changes:** 48 | Push your changes to your fork on GitHub: 49 | 50 | ```bash 51 | git push origin feature/your-feature 52 | ``` 53 | 54 | 7. **Submit a Pull Request:** 55 | Open a pull request (PR) from your fork to the main repository. Provide a clear description of your changes. 56 | 57 | ## Reporting Issues 58 | 59 | If you encounter any issues with the guide, please [open an issue](#) with detailed information about the problem. 60 | 61 | ## Feature Requests 62 | 63 | Have an idea for a new section or feature? [Submit a feature request](#) and share your thoughts. 64 | 65 | ## Pull Requests 66 | 67 | Pull requests are welcome! If you'd like to contribute directly to the guide, follow the steps outlined in the "How to Contribute" section. 68 | 69 | ## Code Style Guidelines 70 | 71 | Maintain a clean and consistent code style. Adhering to established coding conventions helps ensure readability and maintainability. 72 | 73 | ## Commit Message Guidelines 74 | 75 | Follow [commit message guidelines](#) to ensure clear communication and maintain a clean Git history. 76 | 77 | ## Acknowledgements 78 | 79 | Thank you to all the contributors who have helped make this guide better! Your efforts are highly appreciated. 80 | -------------------------------------------------------------------------------- /Intermediate/Challenges/01.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 1 2 | 3 | Welcome to the first challenge! 4 | Today's goal is to implement the squashing of the git commits. Squashing is used to combine multiple commits into one. This is done using the interactive mode of Git Rebase command. 5 | In the [5th Beginner Challenge](https://github.com/NebulaTris/oss101/blob/main/Beginner/Challenges/05.md) all of you created an additional commit to update the markdown file. 6 | So refer to [this guide](https://www.freecodecamp.org/news/git-squash-explained/) on Git merge. 7 | 8 | Task: 9 | 1. Using the interactive mode of Git Rebase command combine the multiple commits created in your Pull requests and then push that to the Pull request you have created in the previous challenges. 10 | -------------------------------------------------------------------------------- /Intermediate/Challenges/02.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 2 2 | 3 | Welcome to the 2nd challenge! 4 | 5 | Today's challenge is based on the concept of signing your commits. Signing the commits is a way of showing that only authentic commits are being made. 6 | 7 | A lot of open source projects have DCO which stands for [Developer Certification of Origin](https://github.com/apps/dco) including this repository itself and it tries to verify that each commit is signed or not. In case your commit is not signed it will reflect in the pull request that it doesn't pass the DCO test. 8 | 9 | You can read more about how to sign commits [here](https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits) 10 | 11 | Task: 12 | 1. Setup the ability to sign commits locally in your systems 13 | 2. Whenever committing in the future always try to use signed commits 14 | 3. Make a new signed commit to the pull request that you have made in previous challenges by making this change to the ``yourusername.md`` file: 15 | ``` 16 | --- 17 | name: your_name 18 | github_user_name: YOUR-GITHUB-USERNAME 19 | url_of_github_issue: Link_of_the_github_issue_created_in_first_challenge 20 | your_favorite_programming_language: Add your favorite programming language here 21 | --- 22 | ``` 23 | -------------------------------------------------------------------------------- /Intermediate/Challenges/03.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 3 2 | 3 | Welcome to the 3rd challenge! 4 | 5 | Today's challenge is simple. 6 | 7 | Task: 8 | 1. Create another branch from your current branch created in previous challenges (Don't create a new branch from main). 9 | 2. Share screenshot of this new branch in the issue created in previous challenge 10 | -------------------------------------------------------------------------------- /Intermediate/Challenges/04.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 4 2 | 3 | Welcome to the 4th Challenge 4 | 5 | Today's challenge involves how to use ``git stash`` command effectively. You can refer on how to stash your commits [here](https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning) 6 | 7 | Task: 8 | 1. Inside the branch you created in the previous challenge ``your-username-details`` create a new file inside the ``contributors//`` directory. 9 | 2. Use the git stash command to move these changes to the stash area 10 | 3. Delete the content from the stash area and share a screenshot of this inside the Github issue you created in the first challenge 11 | -------------------------------------------------------------------------------- /Intermediate/Challenges/05.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 5 2 | 3 | Welcome to the 5th Challenge 4 | 5 | You can take a look at [this article](https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts) to learn more about merge conflicts. 6 | 7 | As part of the challenge, try to create a scenario of a merge conflict locally in your system for a project that you can create. 8 | 9 | Task: 10 | 1. Follow the article shared above and try to reproduce a case of merge conflict in your system for a project and try to resolve it 11 | 2. Share appropriate screenshot in the issue created in the first challenge. -------------------------------------------------------------------------------- /Intermediate/Challenges/06.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 6 2 | 3 | Welcome to the 6th Challenge 4 | 5 | Today's challenge is unique. Today we will learn about code linting. A linter is defined as follows: 6 | - Lint, or a linter, is a static code analysis tool used to flag programming errors, bugs, stylistic errors and suspicious constructs. 7 | 8 | So in order to ensure proper codestyling and structure, there are checks run on pull requests to ensure the code is properly linted. We have also placed a code linter Github action which will keep a track whether your code is properly linted or not. 9 | 10 | Task: 11 | 1. Create a new file inside your branch created in previous challenges ``your-username-details`` under the directory ``contributors/username``. The file needs to be a source code file written in your preferred programming language. The code can be anything you want: hello world program or your favorite program. 12 | 2. Commit the change and push it. 13 | 3. Check if your linting fails in side the Pull request: image
Then lint your code to ensure that this check passes inside your pull request. 14 | -------------------------------------------------------------------------------- /Intermediate/Challenges/07.md: -------------------------------------------------------------------------------- 1 | ## Welcome to Challenge 7 2 | 3 | Welcome to the 7th Challenge 4 | 5 | Today we will be learning about Git Aliases! :). This is an amazing feature that helps us use less keystroke 6 | 7 | The term alias is synonymous with a shortcut. Alias creation is a common pattern found in other popular utilities like `bash` shell. Aliases are used to create shorter commands that map to longer commands. Aliases enable more efficient workflows by requiring fewer keystrokes to execute a command. To learn more; 8 | 9 | - [Git Alias](https://www.atlassian.com/git/tutorials/git-alias) 10 | 11 | ## Tasks 12 | 13 | - Go through the Git Alias documentation shared here 14 | - Create at least 2 alias for any git commands you feel is too long 15 | - Take a screenshot of the alias you created. hint run `git config --get-regexp alias` 16 | - Take a screenshot of using your alias 17 | - Post these screenshot in the issue created in the prior challenges 18 | -------------------------------------------------------------------------------- /Intermediate/readme.md: -------------------------------------------------------------------------------- 1 | # Intermediate Level 🚀 2 | 3 | 4 | 5 | Welcome to our open source community! If you're an intermediate contributor looking to make meaningful contributions, you're in the right place. Your efforts help drive innovation and improve our projects. Here's a guide to help you get started: 6 | 7 | ## Table of Contents 8 | 1. [Getting Started](#getting-started) 9 | 2. [Understanding the Project](#understanding-the-project) 10 | 3. [Setting Up Your Development Environment](#setting-up-your-development-environment) 11 | 4. [Finding Issues to Work On](#finding-issues-to-work-on) 12 | 5. [Making Contributions](#making-contributions) 13 | 6. [Testing](#testing) 14 | 7. [Documentation](#documentation) 15 | 8. [Communication](#communication) 16 | 9. [Tips and Best Practices](#tips-and-best-practices) 17 | 10. [Recognition](#recognition) 18 | 11. [Conclusion](#conclusion) 19 | 20 | ## Getting Started 21 | - Fork the repository. 22 | - Clone the forked repository to your local machine. 23 | ```bash 24 | git clone https://github.com/your-username/repository.git 25 | ``` 26 | - Note 1: Change the your-username by your own username 27 | - Note 2: Change the repository name by the name of the repository you have forked 28 | 29 | ## Understanding the Project 30 | - Read the project's README and documentation to understand its purpose and structure. 31 | - Explore existing issues and discussions. 32 | 33 | ## Setting Up Your Development Environment 34 | - Install dependencies mentioned in the project documentation. 35 | - Create a virtual environment if required. 36 | 37 | ## Finding Issues to Work On 38 | - Look for issues labeled "good first issue" or "intermediate". 39 | - Filter issues based on your skills and interests. 40 | 41 | ## Making Contributions 42 | 1. **Branching:** 43 | - Create a new branch for your contribution. 44 | ```bash 45 | git checkout -b feature/your-feature-name 46 | ``` 47 | 48 | 2. **Code Changes:** 49 | - Make code changes and keep commits focused. 50 | 51 | 3. **Commit Messages:** 52 | - Write clear and concise commit messages. 53 | 54 | 4. **Pull Request:** 55 | - Create a pull request from your branch to the main repository. 56 | - Reference related issues in your pull request. 57 | 58 | ## Testing 59 | - Test your changes thoroughly. 60 | - Follow project-specific testing guidelines. 61 | 62 | ## Documentation 63 | - Update documentation if your changes impact it. 64 | - Add comments in your code for better understanding. 65 | 66 | ## Communication 67 | - Join community forums, chat rooms, or mailing lists. 68 | - Seek feedback on your contributions. 69 | - Participate in discussions. 70 | 71 | ## Tips and Best Practices 72 | - **Ask for Help:** 73 | Don't hesitate to ask for help. Everyone is here to learn and grow. 74 | 75 | - **Read the Docs:** 76 | Always refer to the project's documentation. 77 | 78 | - **Stay Consistent:** 79 | Follow coding styles and conventions. 80 | 81 | - **Be Patient:** 82 | Patience is key in open source. Contributions may take time to be reviewed. 83 | 84 | ## Recognition 85 | - Your contributions matter! Expect recognition from the maintainers and the community. 86 | 87 | ## Conclusion 88 | Thank you for being an integral part of our open source community. Your efforts contribute to the success and growth of our projects. Happy coding! 🎉 89 | 90 | Feel free to reach out if you have any questions or need assistance. Happy contributing! 🚀 91 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Shambhavi Mishra 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OSS 101 ✨ 2 | 3 | ### 📢 Notice 4 | 5 | > **This repository was originally created as part of the `OSS101` challenge** to help learners dive into open-source through practical hands-on tasks and challenges. 6 | > 7 | > 🔒 **The official OSS101 challenge has now concluded**, and participants will no longer receive points, badges, or rewards for completing the tasks. 8 | > 9 | > 🎓 However, all the challenges and resources in this repo are **still open and available for learning purposes**. Feel free to fork the repo, try the challenges, and level up your skills at your own pace! 10 | > 11 | > Happy learning and hacking! 💻🚀 12 | 13 | Welcome to OSS101 - Open Source Enthusiast's Guide! 🚀 This repository is designed to help enthusiasts of all levels—beginner, intermediate, and advanced—navigate the vast landscape of open source contributions. 14 | 15 | ## Guide Structure 16 | 17 | 18 | ### [🌱 Beginners](Beginner/) 19 | If you're new to open source, start your journey here. This section covers the basics, providing step-by-step guidance to help you make your first contributions. 20 | 21 | ``Challenges mentioned in this sub directory will help you score +1`` 22 | 23 | ### [🚀 Intermediate](Intermediate/) 24 | Ready to level up? Dive into intermediate topics that explore more advanced contribution strategies, project maintenance, and scaling impact within the open source community. 25 | 26 | ``Challenges mentioned in this sub directory will help you score +3`` 27 | 28 | ### [🌟 Advanced](Advanced/) 29 | For seasoned contributors, this section delves into leadership roles, community management, and strategies for making a significant impact in the open source world. 30 | 31 | ``Challenges mentioned in this sub directory will help you score +5`` 32 | 33 | ## Repo Structure 34 | ``` 35 | ├── Advanced 36 | │   ├── Challenge.md 37 | │   ├── projects.md 38 | │   └── readme.md 39 | ├── assets 40 | │   ├── git_cheat_sheet.pdf 41 | │   ├── OSS101.pdf 42 | │   └── OSS101.pptx 43 | ├── Beginner 44 | │   ├── Challenges 45 | │   │   ├── 01.md 46 | │   │   ├── 02.md 47 | │   │   ├── 03.md 48 | │   │   ├── 04.md 49 | │   │   ├── 05.md 50 | │   │   └── 06.md 51 | │   └── readme.md 52 | ├── CONTRIBUTING.md 53 | ├── contributors 54 | │   └── nebulatris 55 | │   └── nebulatris.md 56 | ├── Intermediate 57 | │   ├── Challenges 58 | │   │   ├── 01.md 59 | │   │   ├── 02.md 60 | │   │   ├── 03.md 61 | │   │   ├── 04.md 62 | │   │   ├── 05.md 63 | │   │   ├── 06.md 64 | │   │   └── 07.md 65 | │   └── readme.md 66 | ├── LICENSE 67 | └── README.md 68 | ``` 69 | 70 | ## Time to Start 🚀 71 | 72 | 73 | 74 | 1. Right-click **Start Challenge** and open the link in a new tab. 75 | 2. In the new tab, 76 | - For owner, choose your personal account or an organization to host the repository. 77 | - We recommend creating a public repository. 78 | - Fill in the description so that you can identify the repository later on. 79 | - Scroll down and click the **Create fork** button at the bottom of the form. 80 | 3. After your new repository is created go about the steps as mentioned in the subdirectories as per your level of expertise. 81 | 82 | ## Contributors 🥳🎉 83 | 84 | 85 | 86 | 87 | 88 | 89 | ## Contributing 🤝 90 | 91 | Feel free to enhance this guide by contributing your insights and resources. Each level has its own sub-directory with a dedicated README, providing details on how to contribute to that specific section. 92 | 93 | Remember, open source is about collaboration and learning from each other. Happy contributing! 🎉 94 | 95 | **Note:** This guide is a living document, and we encourage contributions. If you have insights, tips, or resources to share, please submit a pull request! 96 | -------------------------------------------------------------------------------- /assets/OSS101.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NebulaTris/oss101/2f84ab7679968db5cc828aaa574c99da26abe38e/assets/OSS101.pdf -------------------------------------------------------------------------------- /assets/OSS101.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NebulaTris/oss101/2f84ab7679968db5cc828aaa574c99da26abe38e/assets/OSS101.pptx -------------------------------------------------------------------------------- /assets/git_cheat_sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NebulaTris/oss101/2f84ab7679968db5cc828aaa574c99da26abe38e/assets/git_cheat_sheet.pdf -------------------------------------------------------------------------------- /contributors/Aadhirajan/Aadhirajan.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Aadhirajan S 3 | github_user_name: Aadhirajan 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/90 5 | --- -------------------------------------------------------------------------------- /contributors/Aadhirajan/Merge.txt: -------------------------------------------------------------------------------- 1 | This is a New text file to create a merge conflict 2 | Appending to text to primary branch of merge conflict -------------------------------------------------------------------------------- /contributors/Aadhirajan/gist-solutions.md: -------------------------------------------------------------------------------- 1 | gist1:https://gist.github.com/Aadhirajan/fb62c111f00a5e68cf3a45d9eb7be1c3 2 | gist2:https://gist.github.com/Aadhirajan/be6f4d79139571de90e6a2e17ab36943 -------------------------------------------------------------------------------- /contributors/Aadhirajan/helloworld.py: -------------------------------------------------------------------------------- 1 | print("hello world") -------------------------------------------------------------------------------- /contributors/Allen-Josu/Allen-Josu.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Allen Joseph Joy 3 | github_user_name: Allen-Josu 4 | url_of_github_issue : https://github.com/NebulaTris/oss101/issues/58 5 | your_favorite_programming_language: Python 6 | --- -------------------------------------------------------------------------------- /contributors/Allen-Josu/Sum.py: -------------------------------------------------------------------------------- 1 | a=10 2 | b=20 3 | print (a+b) 4 | -------------------------------------------------------------------------------- /contributors/Allen-Josu/gist-solutions.md: -------------------------------------------------------------------------------- 1 | link 1 : https://gist.github.com/Allen-Josu/bc71aff30ae73aefac7c73df67fc2b44 2 | link 2 : https://gist.github.com/Allen-Josu/2b52df276657b550b56c0596ebc4ac01 -------------------------------------------------------------------------------- /contributors/Aryan-Mishra24/Aryan-Mishra24.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Aryan Mishra 3 | github_user_name: Aryan-Mishra24 4 | https://github.com/NebulaTris/oss101/issues/42 5 | 6 | --- -------------------------------------------------------------------------------- /contributors/Aryan-Mishra24/gist-solutions.md: -------------------------------------------------------------------------------- 1 | https://gist.github.com/Aryan-Mishra24/c6bad38b20069d37ec3fa93f805433f5 -------------------------------------------------------------------------------- /contributors/Ashmita001/Ashmita001: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /contributors/Ashmita001/Ashmita001.md: -------------------------------------------------------------------------------- 1 | 2 | --- 3 | name: Ashmita 4 | github_user_name: Ashmita001 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/Ashmita001/challenge: -------------------------------------------------------------------------------- 1 | Gist 1: https://gist.github.com/Ashmita001/f31f6d91630660314f1a564611f12f62 2 | Gist 2: https://gist.github.com/Ashmita001/60b67abad8b8a120a29f7c7d331dc596 3 | -------------------------------------------------------------------------------- /contributors/Ashmita001/challenge.md: -------------------------------------------------------------------------------- 1 | Gist 1: https://gist.github.com/Ashmita001/f31f6d91630660314f1a564611f12f62 2 | Gist 2: https://gist.github.com/Ashmita001/60b67abad8b8a120a29f7c7d331dc596 3 | -------------------------------------------------------------------------------- /contributors/AyushSenDazzler/AyushSenDazzler.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Ayush Kumar 3 | Github username: AyushSenDazzler 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/48 5 | your_favorite_programming_language: Python 6 | --- -------------------------------------------------------------------------------- /contributors/AyushSenDazzler/gist-solutions.md: -------------------------------------------------------------------------------- 1 | --- 2 | ML in SDE : https://gist.github.com/AyushSenDazzler/5fcf194149e2293cc94cf29b14d183e9 3 | 4 | Video Transcoder(Python) : https://gist.github.com/AyushSenDazzler/2726f95832720d8dd6b0fd5d52c59585 5 | --- -------------------------------------------------------------------------------- /contributors/AyushSenDazzler/hello-world.py: -------------------------------------------------------------------------------- 1 | def greet(name): 2 | print("Hello", name) 3 | 4 | greet("Ayush") -------------------------------------------------------------------------------- /contributors/Darshan_Kumar_R/Darshan_Kumar_R.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Darshan Roy 3 | github_user_name: Darshan Kumar R 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/47#issue-2062173763 5 | --- -------------------------------------------------------------------------------- /contributors/Darshan_Kumar_R/gist-solutions.md: -------------------------------------------------------------------------------- 1 | # GIST FILE ABOUT GITHUB 2 | 3 | ### LINK 1 4 | 5 | https://gist.github.com/Darshanroy/f8430e21e89406708e342bba14b6709c 6 | 7 | # GIST FILE ABOUT PYTHON CODE 8 | 9 | 10 | ### LINK 2 11 | 12 | https://gist.github.com/Darshanroy/a1ae87624f76ef2e4ed754aad60af644 13 | -------------------------------------------------------------------------------- /contributors/Deva-Vasista/Deva-Vasista.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Deva Vasista 3 | github_user_name: Deva-Vasista 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/123 5 | --- -------------------------------------------------------------------------------- /contributors/Deva-Vasista/gist-solutions.md: -------------------------------------------------------------------------------- 1 | --- 2 | Gist 1 (notes): https://gist.github.com/Deva-Vasista/12bfb38ac07b37f325b39ea5c7c81886 3 | Gist 2 (sample code) : https://gist.github.com/Deva-Vasista/8d72089133c93b21015a59cfb9e78f62 4 | --- 5 | -------------------------------------------------------------------------------- /contributors/KSoham-dev/KSoham-dev.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Soham Kulkarni 3 | github_user_name: KSoham-dev 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/38 5 | your_favorite_programming_language: Python 6 | --- 7 | -------------------------------------------------------------------------------- /contributors/KSoham-dev/gist-solutions.md: -------------------------------------------------------------------------------- 1 | https://gist.github.com/KSoham-dev/5127c35462305eea3f9cc05f3a6ca642 \ 2 | https://gist.github.com/KSoham-dev/e9059eea0c2d77a520104989525ac484 3 | -------------------------------------------------------------------------------- /contributors/Karthik110505/Karthik110505.md: -------------------------------------------------------------------------------- 1 | name : Barrenkala Veera Venkata Karthik 2 | github_user_name : Karthik110505 3 | url_of_github_issue: [Github issue](https://github.com/NebulaTris/oss101/issues/61) 4 | your_favorite_programming_language: Python 5 | -------------------------------------------------------------------------------- /contributors/Karthik110505/Python.py: -------------------------------------------------------------------------------- 1 | name = "karthik" 2 | 3 | for i in range(0,10): 4 | print("This is",name) 5 | -------------------------------------------------------------------------------- /contributors/Karthik110505/gist-solutions.md: -------------------------------------------------------------------------------- 1 | [Link1](https://gist.github.com/Karthik110505/d693fa7bf0d8326dc3539f51a3f99e0d) to Topic on SD 2 | 3 | [Link2](https://gist.github.com/Karthik110505/858fc28d130153578ec7e2762604272c) to code snippet 4 | 5 | -------------------------------------------------------------------------------- /contributors/KshitizRana/KshitizRana.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Kshitiz Rana 3 | github_user_name: KshitizRana 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/9 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/LakB05-details/LakB05.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Lakshay Bansal 3 | github_user_name: LakB05 4 | url_of_github_issue: 5 | https://github.com/NebulaTris/oss101/issues/18#issue-2061996367 6 | --- 7 | -------------------------------------------------------------------------------- /contributors/Normturtle/Lint.lua: -------------------------------------------------------------------------------- 1 | -- This is only for print 2 | local function PrintLint() 3 | print("what is the answer to universe?") 4 | print("42") 5 | end 6 | return PrintLint() 7 | -------------------------------------------------------------------------------- /contributors/Normturtle/Normturtle.md: -------------------------------------------------------------------------------- 1 | name: Omkar 2 | github_user_name: Normturtle 3 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/111 4 | your_favorite_programming_language: 'i am not a coder actually', but "Lua" for neovim 5 | -------------------------------------------------------------------------------- /contributors/Normturtle/gist-solutions.md: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | ### Gist 1 [`link`](https://gist.github.com/NormTurtle/a801ef43350b6200324fb08e91ff4600#file-gist-1-md) 4 | ### Gist 2 [`link`](https://gist.github.com/NormTurtle/a801ef43350b6200324fb08e91ff4600#file-gist-2-md) 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/Ranojitdas/Ranojitdas.md: -------------------------------------------------------------------------------- 1 | Name : Ranojit Das 2 | Ranojitdas-details 3 | Github_user_name : Ranojitdas 4 | url of Github_issue : https://github.com/NebulaTris/oss101/issues/137 5 | Github_user_name : Ranojitdas 6 | -------------------------------------------------------------------------------- /contributors/Ranojitdas/gist_solution.md: -------------------------------------------------------------------------------- 1 | software_gist_link:https://gist.github.com/Ranojitdas/ecbc5fb979fbead34923c80b0be6584f 2 | Code_gist_link:https://gist.github.com/Ranojitdas/9923237ba1aef7bd80bf0592b17098d3 3 | -------------------------------------------------------------------------------- /contributors/SAM8402/SAM8402.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Imran Ashraf 3 | github_user_name: SAM8402 4 | url_of_github_issue: https://github.com/NebulaTris/oss101.git 5 | your_favorite_programming_language: Python>Java>C++>.JS 6 | --- -------------------------------------------------------------------------------- /contributors/SAM8402/SAM8402.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NebulaTris/oss101/2f84ab7679968db5cc828aaa574c99da26abe38e/contributors/SAM8402/SAM8402.txt -------------------------------------------------------------------------------- /contributors/SAM8402/example.txt: -------------------------------------------------------------------------------- 1 | <<<<<<< HEAD 2 | Change in SAM8402-details 3 | ======= 4 | Change in SAM8402-details2 5 | >>>>>>> SAM8402-details2 6 | -------------------------------------------------------------------------------- /contributors/SAM8402/gist-solutions.md: -------------------------------------------------------------------------------- 1 | # Gist Solutions 2 | 3 | ## Software Development Topic Gist 4 | [MOJO language](https://gist.github.com/SAM8402/fafe8c3cc56dede7694c4958b29843e2) 5 | 6 | ## Code Snippet Gist 7 | [mojo_function](https://gist.github.com/SAM8402/00e7b50249e1530af3ebf1da127f3620) 8 | -------------------------------------------------------------------------------- /contributors/SAM8402/hello_world.py: -------------------------------------------------------------------------------- 1 | print('Hello, World!') -------------------------------------------------------------------------------- /contributors/Shivam-vk/Shivam-vk.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: SHIVAM KUMAR GUPTA 3 | github_user_name: Shivam-vk 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/46 5 | your_favorite_programming_language: Python 6 | --- -------------------------------------------------------------------------------- /contributors/Shivam-vk/gist-solutions.md: -------------------------------------------------------------------------------- 1 | --- 2 | https://gist.github.com/Shivam-vk/73ff3a722bc24485445261d38b53f86e 3 | https://gist.github.com/Shivam-vk/19305334b4505cdc0fe8a74dfe727f56 4 | --- -------------------------------------------------------------------------------- /contributors/ShreedeepM/ShreedeepM.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Shreedeep M 3 | Github username: ShreedeepM 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/82 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/ShreedeepM/gist-solutions.md: -------------------------------------------------------------------------------- 1 | gist_link1: https://gist.github.com/ShreedeepM/8de34e6ff249761655d319a68bad588b 2 | gist_link2: https://gist.github.com/ShreedeepM/2ec893faf68482628f46af62e44d1f60 3 | -------------------------------------------------------------------------------- /contributors/SidhaarthShree07/SidhaarthShree07.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Sidhaarth Shree 3 | github_user_name: SidhaarthShree07 4 | --- 5 | -------------------------------------------------------------------------------- /contributors/Sumitkumar005/Sumitkumar005.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Sumit Kumar 3 | github_user_name: sumitkumar005 4 | --- 5 | -------------------------------------------------------------------------------- /contributors/TPYogalashmi/TPYogalashmi.md: -------------------------------------------------------------------------------- 1 | ------ 2 | name: Yogalashmi T.P 3 | github_user_name: TPYogalashmi 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/157 5 | ------ 6 | 7 | -------------------------------------------------------------------------------- /contributors/TPYogalashmi/gist-solutions.md: -------------------------------------------------------------------------------- 1 | gist_code : https://gist.github.com/TPYogalashmi/2283dbfd2ae99bc3c99b2c9d1a8aa73a 2 | gist_writings : https://gist.github.com/TPYogalashmi/81a4fba0876a36bbd0214e5e4dd6fdc4 3 | -------------------------------------------------------------------------------- /contributors/VIROOPAKSHC/exampleCode.py: -------------------------------------------------------------------------------- 1 | from sklearn.linear_model import LinearRegression 2 | from sklearn.datasets import fetch_california_housing 3 | from sklearn.model_selection import train_test_split 4 | from sklearn.preprocessing import StandardScaler 5 | from sklearn.metrics import mean_squared_error 6 | from sklearn.model_selection import StratifiedShuffleSplit 7 | 8 | import pandas as pd 9 | 10 | housing_data=fetch_california_housing() 11 | data=housing_data.data 12 | 13 | X=pd.DataFrame(housing_data.data,columns=housing_data.feature_names) 14 | y=pd.DataFrame(housing_data.target,columns=housing_data.target_names) 15 | 16 | X_train,X_test,y_train,y_test=train_test_split(X,y,test_size=0.2,random_state=49) 17 | 18 | lin_reg=LinearRegression() 19 | lin_reg.fit(X_train,y_train) 20 | 21 | target_predictions=lin_reg.predict(X_test) 22 | print("Mean Squared Error:",mean_squared_error(y_test,target_predictions)) -------------------------------------------------------------------------------- /contributors/VIROOPAKSHC/new-file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NebulaTris/oss101/2f84ab7679968db5cc828aaa574c99da26abe38e/contributors/VIROOPAKSHC/new-file -------------------------------------------------------------------------------- /contributors/VIROOPAKSHC/new-file-for-stash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NebulaTris/oss101/2f84ab7679968db5cc828aaa574c99da26abe38e/contributors/VIROOPAKSHC/new-file-for-stash -------------------------------------------------------------------------------- /contributors/VIROOPAKSHC/viroopakshc.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Chekuri Viroopaksh 3 | github_user_name: VIROOPAKSHC 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/20 5 | your_favorite_programming_language: Python 6 | --- -------------------------------------------------------------------------------- /contributors/Vaidisha675/Vaidisha675.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Vaidisha P Shetty 3 | Github username: Vaidisha675 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/87 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/abhijain1705/abhijain1705.md: -------------------------------------------------------------------------------- 1 | name: Abhi Jain 2 | github_user_name: @abhijain1705 3 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/15 4 | your_favorite_programming_language: Javascript, Python, Golang, Solana 5 | -------------------------------------------------------------------------------- /contributors/abhijain1705/gist-solutions.md: -------------------------------------------------------------------------------- 1 | ## Gist 1 2 | 3 | url ==> https://gist.github.com/abhijain1705/5cb6fa92874fd001fc16dd2eee41237c 4 | 5 | ## Gist 2 6 | 7 | url ==> https://gist.github.com/abhijain1705/54933006b704ee49dee04fe94155cf69 -------------------------------------------------------------------------------- /contributors/abhijain1705/hello.js: -------------------------------------------------------------------------------- 1 | function printPattern(rows) { 2 | for (let i = 1; i <= rows; i++) { 3 | let pattern = ""; 4 | 5 | // Add spaces 6 | for (let j = 1; j <= rows - i; j++) { 7 | pattern += " "; 8 | } 9 | 10 | // Add stars 11 | for (let k = 1; k <= i; k++) { 12 | pattern += "*"; 13 | } 14 | 15 | console.log(pattern); 16 | } 17 | } 18 | 19 | // Change the value of 'rows' to adjust the size of the pattern 20 | const rows = 5; 21 | printPattern(rows); 22 | -------------------------------------------------------------------------------- /contributors/adhi1911/adhi1911.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Aaradhya Kulkarni 3 | github_user_name: adhi1911 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/21 5 | your_favorite_programming_language: Python 6 | --- -------------------------------------------------------------------------------- /contributors/adhi1911/gist-solutions.md: -------------------------------------------------------------------------------- 1 | **2 gist** 2 | 3 | ## first gist- 4 | https://gist.github.com/adhi1911/39da9f2936221b69843610a46498502b 5 | 6 | ## second gist- 7 | https://gist.github.com/adhi1911/1f3eb5ad14d434550e8338ba21533e4d -------------------------------------------------------------------------------- /contributors/annimukherjee/annimukherjee.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Aniruddha Mukherjee 3 | github_user_name: annimukherjee 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/27 5 | your_favorite_programming_language: Python3 6 | --- 7 | -------------------------------------------------------------------------------- /contributors/annimukherjee/gist-solutions.md: -------------------------------------------------------------------------------- 1 | Gist(Article): 2 | https://gist.github.com/annimukherjee/57d3bd6132dbd453fae03a00b74e63b6 3 | 4 | Gist(Code): 5 | https://gist.github.com/annimukherjee/3d999eaab1d612019ba4bc69d5a7284a -------------------------------------------------------------------------------- /contributors/ashvin-to/ashvin-to.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Ashvin Singh 3 | github_user_name: ashvin-to 4 | --- -------------------------------------------------------------------------------- /contributors/contributors/KT252005/contributors/KT252005/KT252005.md: -------------------------------------------------------------------------------- 1 | name:Tiwari Kanak 2 | github_user_name:KT252005 3 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/99 4 | favourite_programming_language : Python -------------------------------------------------------------------------------- /contributors/contributors/KT252005/contributors/KT252005/gist-solutions.md: -------------------------------------------------------------------------------- 1 | gist1:https://gist.github.com/KT252005/5788850f2c607aae0f8cdf00f1abfce2 2 | gist2:https://gist.github.com/KT252005/2f9c0ce49e7a0e3550a0a55fcbcc30af -------------------------------------------------------------------------------- /contributors/contributors/KT252005/contributors/KT252005/k2.py: -------------------------------------------------------------------------------- 1 | while True: 2 | try: 3 | user_input = input("Write your message: ") 4 | # Process the user input here 5 | 6 | words=text.split() 7 | sentences=[] 8 | # import pandas as pd 9 | # r=pd.Series(words) 10 | # print(r) 11 | for codes in words: 12 | p=list(codes) 13 | coding=True 14 | if (coding): 15 | if len(p)>=1: 16 | import random 17 | import string 18 | random_string = ''.join(random.choices(string.ascii_letters, k=3)) 19 | random_string2 = ''.join(random.choices(string.ascii_letters,k=3)) 20 | r1=list(random_string ) 21 | r2=list(random_string2) 22 | in_string=''.join(p) # '' uses as a separator 23 | # print(in_string) 24 | a=r1+p[1:]+[p[0]]+r2 25 | code=''.join(a) 26 | #print(code) 27 | sentences.append(code) 28 | store_var=r1 29 | store_var2=r2 30 | pass 31 | 32 | 33 | print('\n') 34 | decoded_words=[] 35 | for sentence in sentences: 36 | 37 | coded_message=list(sentence) 38 | decoded_list =[coded_message[-4]]+coded_message[3:-4] 39 | decoded_string=''.join(decoded_list) 40 | decoded_words.append(decoded_string) 41 | # print(decoded_string) 42 | 43 | m=' '.join(decoded_words) + ' ' 44 | print(f"your message is :- \n {m}") 45 | except EOFError: 46 | print("No input was provided.") -------------------------------------------------------------------------------- /contributors/contributors/KT252005/contributors/KT252005/new_file.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NebulaTris/oss101/2f84ab7679968db5cc828aaa574c99da26abe38e/contributors/contributors/KT252005/contributors/KT252005/new_file.txt -------------------------------------------------------------------------------- /contributors/contributors/deepika4786/deepika4786.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Deepika 3 | github_user_name: deepika4786 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/26 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/gkay-dev/gkay-dev.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: GK 3 | github_user_name: GKay-Dev 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/139 5 | --- -------------------------------------------------------------------------------- /contributors/hillhack/hillhack.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: jyoti 3 | github_user_name: hillhack 4 | --- 5 | -------------------------------------------------------------------------------- /contributors/himanshu-garg-ds/gist-solutions.md: -------------------------------------------------------------------------------- 1 | [url of software dev topic interesting to me](https://gist.github.com/himanshu-garg-ds/b59dc331b684298426e527e6036122c8) 2 | [url of code snippet to run dfs on a graph](https://gist.github.com/himanshu-garg-ds/594f44ca81e881337de8c543e2828129) 3 | -------------------------------------------------------------------------------- /contributors/himanshu-garg-ds/gitgud.py: -------------------------------------------------------------------------------- 1 | print("it takes good time to git gud in git") 2 | 3 | print('makes sense) 4 | -------------------------------------------------------------------------------- /contributors/himanshu-garg-ds/himanshu-garg-ds.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Himanshu garg 3 | github_user_name: himanshu-garg-ds 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/59 5 | your_favorite_programming_language: not one as such: python, c++, kotlin 6 | --- 7 | -------------------------------------------------------------------------------- /contributors/izumigoto/izumi.py: -------------------------------------------------------------------------------- 1 | print("hello sekai") -------------------------------------------------------------------------------- /contributors/izumigoto/izumigoto.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: S.Lakshmi Vignesh 3 | Github username: izumigoto 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/67 5 | fav_programming: Python,c++ 6 | --- 7 | 8 | -------------------------------------------------------------------------------- /contributors/jashmevada/jashmevada.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Jash Mevada 3 | github_user_name: jashmevada 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/36 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/jaswanth-coder/jaswanth.md: -------------------------------------------------------------------------------- 1 | name:M.JASWANTH KUMAR 2 | github_user_name:jaswanth-coder 3 | https://github.com/NebulaTris/oss101/issues/12 4 | -------------------------------------------------------------------------------- /contributors/krishnanshagarwal112/gist-solutions.md: -------------------------------------------------------------------------------- 1 | First gist is on Vim text editor 2 | [software development gist](https://gist.github.com/krishnanshagarwal112/0a6765349f13985882962ec12d494249) 3 | 4 | Second snippet is a Go code, home handler how it handles everything 5 | [code snipper](https://gist.github.com/krishnanshagarwal112/65253a9bb2567881598bb16aca50ebc5) 6 | -------------------------------------------------------------------------------- /contributors/krishnanshagarwal112/krishnanshagarwall12.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: krishnansh 3 | github_user_name: krishnanshagarwal112 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/14 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/leena2403/gist-solutions.md: -------------------------------------------------------------------------------- 1 | Here are my gist submissions for the challenges: 2 | 3 | ## Software Development Topic Gist 4 | 5 | [How AI and Ml are connected](https://gist.github.com/Leena2403/0c6437b4828c0d24a61656d874a7450e) 6 | 7 | Topic Description: I tried to concisely explain the main connection between AI and ML through the practice gist I created. 8 | 9 | ## Code Snippet Gist 10 | 11 | [Code Snippet](https://gist.github.com/Leena2403/3c74e04b89438971ac00bdc7af04410c) 12 | 13 | Code Description: It's just a simple Insertion Sort written in python that seeks to put the elements in ascending order. -------------------------------------------------------------------------------- /contributors/leena2403/leena2403.md: -------------------------------------------------------------------------------- 1 | name: Leena Goyal 2 | 3 | github_user_name: leena2403 4 | 5 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/17 6 | -------------------------------------------------------------------------------- /contributors/nav9v/nav9v.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Navneet Sharma 3 | github_user_name: nav9v 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/159 5 | --- -------------------------------------------------------------------------------- /contributors/nebulatris/Ranojitdas: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /contributors/nebulatris/Sudhish23/Sudhish23.md: -------------------------------------------------------------------------------- 1 | --- 2 | name:Sudhish Kumar 3 | github_user_name:Sudhish23 4 | url_of_github_issue:https://github.com/issues?q=is%3Aopen+is%3Aissue+archived%3Afalse+author%3ASudhish23 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/nebulatris/christiano-developer/christiano-developer.md: -------------------------------------------------------------------------------- 1 | name: CHRISTIANO BLAIROY FERNANDES 2 | github_user_name: christiano-developer 3 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/73 4 | your_favorite_programming_language: CPP -------------------------------------------------------------------------------- /contributors/nebulatris/christiano-developer/gist-solutions.md: -------------------------------------------------------------------------------- 1 | task 1: 2 | https://gist.github.com/christiano-developer/2720141c8ee44d21810a81eb8b9d3697 3 | 4 | task 2: 5 | https://gist.github.com/christiano-developer/d60a5039683663bafa66abf654bcc8a3 -------------------------------------------------------------------------------- /contributors/nebulatris/christiano-developer/sourcecodeitdmchallenge6.py: -------------------------------------------------------------------------------- 1 | import random as rn 2 | print("Guess the number!! in 3 guesses, abs int will be handled") 3 | print("ranging from 0 to 100, endpoints included") 4 | a = rn.randint(0,100) 5 | count = 0 6 | print(a) 7 | def check(count): 8 | b = int(input()) 9 | 10 | if b > 100: 11 | return "Out of bound READ!" 12 | if count > 2: 13 | print("booo") 14 | 15 | if a == b: 16 | print("Genius") 17 | elif b > a: 18 | print("Lower") 19 | check(count) 20 | else: 21 | print("Higher") 22 | check(count) 23 | count += 1 24 | check(count) -------------------------------------------------------------------------------- /contributors/nebulatris/eabhi-me/eabhi-me.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: ABHISHEK YADAV 3 | github_user_name: eabhi-me 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/75#issue-2062472606 5 | your_favorite_programming_language: Python, C 6 | --- -------------------------------------------------------------------------------- /contributors/nebulatris/nitinya9av/gist-solutions.md: -------------------------------------------------------------------------------- 1 | --- 2 | Gist_1: https://gist.github.com/c91afc9035afdd427e29edb1e3be2fdf.git 3 | Gist_2: https://gist.github.com/7762c1e64b6583d7792b1dc737a81021.git 4 | --- -------------------------------------------------------------------------------- /contributors/nebulatris/nitinya9av/level2_task6.py: -------------------------------------------------------------------------------- 1 | # Calculator In Python 2 | 3 | def add(x, y): 4 | return x + y 5 | 6 | def subtract(x, y): 7 | return x - y 8 | 9 | def multiply(x, y): 10 | return x * y 11 | 12 | def divide(x, y): 13 | if y == 0: 14 | return "Error! Division by zero not defined." 15 | else: 16 | return x / y 17 | 18 | print("Select operation:") 19 | print("1.Add") 20 | print("2.Subtract") 21 | print("3.Multiply") 22 | print("4.Divide") 23 | 24 | while True: 25 | choice = input("Enter choice(1/2/3/4): ") 26 | if choice in ('1', '2', '3', '4'): 27 | num1 = float(input("Enter first number: ")) 28 | num2 = float(input("Enter second number: ")) 29 | 30 | if choice == '1': 31 | print(num1, "+", num2, "=", add(num1, num2)) 32 | 33 | elif choice == '2': 34 | print(num1, "-", num2, "=", subtract(num1, num2)) 35 | 36 | elif choice == '3': 37 | print(num1, "*", num2, "=", multiply(num1, num2)) 38 | 39 | elif choice == '4': 40 | print(num1, "/", num2, "=", divide(num1, num2)) 41 | break 42 | else: 43 | print("Invalid Input") -------------------------------------------------------------------------------- /contributors/nebulatris/nitinya9av/nitinya9av.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Nitin Yadav 3 | github_user_name: nitinya9av 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/33 5 | your_favorite_programming_language: Python 6 | --- -------------------------------------------------------------------------------- /contributors/nebulatris/souvikchand/souvikchand.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Souvik Chand 3 | github_user_name: souvikchand 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/5#issue-2061752854 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/porwalshreyaa/gist-solutions.md: -------------------------------------------------------------------------------- 1 | Components 2 | (https://gist.github.com/porwalshreyaa/a0e0fbef48438e5a7dc5e6254788b61e) 3 | 4 | Python Voice Assistant 5 | (https://gist.github.com/porwalshreyaa/9ca3d0d3b4cce0a443da869be5f7ba8d) -------------------------------------------------------------------------------- /contributors/porwalshreyaa/porwalshreyaa.md: -------------------------------------------------------------------------------- 1 | --- 2 | Name: Shreya Porwal 3 | Github username: porwalshreyaa 4 | url_of_github_issue: (https://github.com/NebulaTris/oss101/issues/29) 5 | --- -------------------------------------------------------------------------------- /contributors/rahulbok/rahulbok.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Rahul Bokade 3 | github_user_name: rahulbok 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/144#issue-2067495057 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/ravikumawat7716/ravikumawat7716.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Ravi Kumawat 3 | github_user_name: ravikumawat7716 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/130 5 | --- -------------------------------------------------------------------------------- /contributors/rohansahni/rohansahni.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Rohan Sahni 3 | github_user_name: rohansahni 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/66 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/rohitblpprajapat/rohitblpprajapat.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Rohit Prajapat 3 | github_user_name: rohitblpprajapat 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/84 5 | --- -------------------------------------------------------------------------------- /contributors/saquib000/gist-solutions.md: -------------------------------------------------------------------------------- 1 | software dev gist : https://gist.github.com/saquib000/e269ff36ec8d94f5d99be9004c2ec9aa 2 | code gist : https://gist.github.com/saquib000/1d5e2cf8e4f721acf8f2c76c3219d277 -------------------------------------------------------------------------------- /contributors/saquib000/saquib000.md: -------------------------------------------------------------------------------- 1 | name: Mohammad Saquib 2 | github_user_name: saquib000 3 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/135 4 | -------------------------------------------------------------------------------- /contributors/shivamkumar1n2/gist-solutions.md: -------------------------------------------------------------------------------- 1 | gist_url-1= https://gist.github.com/shivamkumar1n2/ed87bb5e489e5d94708e345f77bc3e1e 2 | gist_url-2=https://gist.github.com/shivamkumar1n2/ac1c787b04445fca10314acfc31d0743 3 | -------------------------------------------------------------------------------- /contributors/shivamkumar1n2/shivamkumar1n2.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: shivam kumar 3 | github_user_name: shivamkumar1n2 4 | url_of_gitub_issue: https://github.com/NebulaTris/oss101/issues/39 5 | --- 6 | -------------------------------------------------------------------------------- /contributors/souvikchand/gist-solutions.md: -------------------------------------------------------------------------------- 1 | https://github.com/souvikchand/oss101-forked/blob/souvikchand-details/gist-solutions.md 2 | def binary_search(arr, target): 3 | """ 4 | Perform binary search on a sorted array. 5 | 6 | Parameters: 7 | - arr (list): The sorted array to search. 8 | - target: The target element to find in the array. 9 | 10 | Returns: 11 | - int: The index of the target element if found, otherwise -1. 12 | """ 13 | low, high = 0, len(arr) - 1 14 | 15 | while low <= high: 16 | mid = (low + high) // 2 17 | 18 | if arr[mid] == target: 19 | return mid 20 | elif arr[mid] < target: 21 | low = mid + 1 22 | else: 23 | high = mid - 1 24 | 25 | return -1 26 | -------------------------------------------------------------------------------- /contributors/souvikchand/souvikchand.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Souvik Chand 3 | github_user_name: souvikchand 4 | --- 5 | -------------------------------------------------------------------------------- /contributors/trish404/linting.py: -------------------------------------------------------------------------------- 1 | print("hello world") 2 | -------------------------------------------------------------------------------- /contributors/trish404/trish404.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Trisha Vijayekkumaran 3 | github_user_name: trish404 4 | url_of_github_issue: https://github.com/NebulaTris/oss101/issues/113 5 | your_favorite_programming_language: python 6 | --- 7 | -------------------------------------------------------------------------------- /contributors/whitewolf2000ani/gist-solutions.md: -------------------------------------------------------------------------------- 1 | software gist:https://gist.github.com/whitewolf2000ani/240bcb5f6d7cbf942401395b129db5a4 2 | code gist :https://gist.github.com/whitewolf2000ani/cf167e8fd130913f416cce9d78455cc4 -------------------------------------------------------------------------------- /contributors/whitewolf2000ani/whitewolf2000ani.md: -------------------------------------------------------------------------------- 1 | name: Aniket Kumar 2 | github_user_name: whitewolf2000ani 3 | url_of_github_issue:https://github.com/NebulaTris/oss101/issues/8 4 | -------------------------------------------------------------------------------- /gist-solutions.md: -------------------------------------------------------------------------------- 1 | 2 | --------------------------------------------------------------------------------