Hacktoberfest 2024 & Hacksquad 2024
Hacktoberfest 2024 & Hacksquad 2024
Join the Fun and Get Free Swag!
Hacktoberfest is here, and so is Hacksquad 2024! Contribute to open-source projects, learn new programming languages, and earn amazing goodies by simply writing a ‘Hello World’ program. Fork this repository, add your ‘Hello World’ program, and send a Pull Request to participate!
Don’t forget to star this repository!
What is Hacksquad?
HackSquad allows contributors to join forces and contribute code as a team instead of as individual contributors. Engage in a friendly competition with the community throughout October.
What is Hacktoberfest?
Hacktoberfest is an annual event that encourages contributions to open-source projects on platforms like GitHub. It takes place throughout October, promoting open-source collaboration and community participation. Contributors are rewarded with limited-edition swag, such as t-shirts and stickers, for making a certain number of valid pull requests to open-source repositories.
How to Participate
1. Register for Hacktoberfest and Hacksquad 2024
2. Fork this Repository
Click the Fork button to create your own copy of this repository.
3. Add a ‘Hello World’ Program
- Add your program in the appropriate language folder in the main branch.
- If the language folder doesn’t exist, create one and add your program.
4. Ready, Set, Go!
- Check our
Help Wanted
issues and create pull requests.
5. Star the Repository
If you enjoyed contributing, please star this repository and share it with others to help spread the word and support open-source contributions.
Steps to Contribute Using Git
Cloning the Repository
- Open a terminal window.
-
Use the
git clone
command with the URL of your forked repository:git clone https://github.com/your-username/Code-Contribution.git
Creating a New Branch
-
Change into the repository directory:
cd Code-Contribution
-
Create a new branch:
git branch new-branch
-
Switch to the new branch:
git checkout new-branch
Making Changes
-
Add your changes to the staging area:
git add -A
-
Commit your changes with a descriptive message:
git commit -m "Add Hello World in [Language]"
-
Push your branch to your forked repository:
git push origin new-branch
Syncing Your Fork
-
Add the upstream repository:
git remote add upstream https://github.com/x0lg0n/Code-Contribution.git
-
Fetch the latest changes:
git fetch upstream
-
Merge the changes into your local master branch:
git checkout master git merge upstream/master
Creating a Pull Request
- Navigate to your forked repository on GitHub.
- Click the “New pull request” button.
- Provide a descriptive title and summary of your changes.
- Submit the pull request.
Purpose of the Repository
This repository serves as a platform for developers to contribute to open-source projects during Hacktoberfest and Hacksquad 2024. By adding a ‘Hello World’ program in any programming language, contributors can participate in these events, learn new languages, and collaborate with the community.
Example Contributions
Here are some examples of ‘Hello World’ programs in different programming languages:
Python
print("Hello, World!")
JavaScript
console.log("Hello, World!");
C++
#include <iostream>
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
Feel free to explore the repository and see more examples in various languages. Happy contributing!
Jekyll Theme
This repository uses the Jekyll theme minima
. To run the site locally, follow these steps:
-
Install Jekyll: Make sure you have Ruby and Bundler installed. Then install Jekyll with the following command:
gem install jekyll bundler
-
Clone the repository: If you haven’t already, clone the repository to your local machine:
git clone https://github.com/your-username/Code-Contribution.git
-
Navigate to the repository directory:
cd Code-Contribution
-
Install dependencies: Install the required dependencies using Bundler:
bundle install
-
Run the Jekyll site: Use the following command to build and serve the site locally:
bundle exec jekyll serve
-
Open your browser: Open your web browser and go to
http://localhost:4000
to see the site.
For more information on Jekyll, visit the Jekyll documentation.
Thank you for contributing to Hacktoberfest and Hacksquad 2024! Let’s make open-source better together.