Skip to content

Commit d733777

Browse files
authored
Merge branch 'recodehive:main' into issue#700
2 parents b5bb953 + 4d0cbef commit d733777

File tree

32 files changed

+800
-262
lines changed

32 files changed

+800
-262
lines changed

.github/workflows/autolabler.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
await github.rest.issues.addLabels({
2525
...context.repo,
2626
issue_number: prNumber,
27-
labels: ["recode", "level 1"]
27+
labels: ["recode", "level 1", "hacktoberfest-accepted"]
2828
});
2929
30-
console.log(`Added labels [recode, level 1] to PR #${prNumber}`);
30+
console.log(`Added labels [recode, level 1,hacktoberfest-accepted] to PR #${prNumber}`);
3131
3232
- name: Add labels to Issue
3333
if: github.event_name == 'issues'
@@ -39,7 +39,7 @@ jobs:
3939
await github.rest.issues.addLabels({
4040
...context.repo,
4141
issue_number: issueNumber,
42-
labels: ["recode", "level 1"]
42+
labels: ["recode", "level 1", "hacktoberfest-accepted"]
4343
});
4444
45-
console.log(`Added labels [recode, level 1] to Issue #${issueNumber}`);
45+
console.log(`Added labels [recode, level 1, hacktoberfest-accepted] to Issue #${issueNumber}`);

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ flowchart LR
5858

5959
2. **Navigate to the project directory:**
6060
```bash
61-
cd recodehive-website
61+
cd recode-website
6262
```
6363

64-
3. **Prerequesites**
64+
3. **Prerequisites**
6565
- [Docker](https://docs.docker.com/engine/install/) installed
6666
- Docker compose installed (Optional)
6767

@@ -88,7 +88,7 @@ This lets you see code changes instantly at [http://localhost:3000](http://local
8888
### 🏃 Quick Start
8989

9090
```bash
91-
git clone https://github.com/your-username/recodehive-website.git
91+
git clone https://github.com/your-username/recode-website.git
9292
cd recodehive-website
9393
docker-compose up
9494
```
@@ -131,7 +131,7 @@ recode-website/
131131
| ├── Google-Student-Ambassador/
132132
| ├── ...
133133
├── src/ 🔹Source Code
134-
| └── compenents/
134+
| └── components/
135135
| ├── css/
136136
| └── custom.css
137137
| ├── data/

docker-compose.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
version: "3.9"
21
services:
32
recodehive:
4-
build:
3+
build:
54
context: .
65
ports:
76
- "3000:3000"
87
volumes:
98
- .:/app
10-
- /app/node_modules # Prevents node_modules being overwritten by the mount
9+
- /app/node_modules # Prevents node_modules being overwritten by the mount
1110
working_dir: /app
12-
command: npm run dev # THIS is the crucial change for hot-reload!
11+
command: npm run dev -- --host 0.0.0.0 # THIS is the crucial change for hot-reload!
1312
environment:
1413
- NODE_ENV=development

docs/GitHub/GitHub-basics/how-to-clone-repo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ HTML attributes are used to provide additional information about HTML elements.
1616
Here is an example of an HTML element with attributes:
1717

1818
Go to this repository https://github.com/sanjay-kv/Learn-GitHub
19-
```html title="CLone the repository"
19+
```html title="Clone the repository"
2020
https://github.com/sanjay-kv/Learn-GitHub.git
2121
```
2222

348 KB
Loading

docs/GitHub/setup-environment/setup-environment.md

Lines changed: 54 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -14,64 +14,80 @@ tags:
1414
description: In this tutorial, you will learn how to set up your development environment for Git And GitHub.
1515
---
1616

17-
Github is a way of version control your software development using Git, Github was founded in 2008 and recently Microsoft has bought the company now Microsoft is the parent organization of Github. Now setting up is very straight forward process , first you need to create a GitHub account online, then Install Git in your system and connect your Git with GitHub. So all the changes will be updated to the GitHub.
17+
GitHub is a platform for version control of your software development using Git. GitHub was founded in 2008 and was recently acquired by Microsoft, who is now the parent organization. Setting up is a straightforward process: first, create a GitHub account online, then install Git on your system and connect it with GitHub. This way, any changes made will be pushed directly to GitHub.
1818

19-
### Step 1: Let’s create a Github Accountvbcvnb
19+
### Step 1: Let’s create a GitHub Account
2020

21-
1. Let’s create a Github Account, Go to the [GitHub Website](https://github.com/) and signup with your email ID.
22-
23-
<BrowserWindow url="https://github.com/" bodyStyle={{padding: 0}}>
24-
[![GitHub](./assets/3-github-account.png)](https://github.com/)
25-
</BrowserWindow>
21+
To create a GitHub account, go to the [GitHub Website](https://github.com/) and sign up using your email ID.
2622

23+
<BrowserWindow url="https://github.com/" bodyStyle={{padding: 0}}>
24+
[![GitHub](./assets/3-github-account.png)](https://github.com/)
25+
</BrowserWindow>
2726

2827
### Step 2: Finishing the account creation
2928

30-
1. Get your username:
29+
Choose a readable username; this is important, just like your LinkedIn username. After completing the signup process, you may be prompted to solve a puzzle as part of the verification.
30+
31+
**Live Server:** GitHub signup screen
32+
<BrowserWindow url="https://github.com/" bodyStyle={{padding: 0}}>
33+
[![GitHub](./assets/4-account-creation.png)](https://github.com/)
34+
</BrowserWindow>
35+
36+
**Features you receive:** On completing registration, you gain access to GitHub Copilot, unlimited repositories, built-in tools for code quality improvement, automated workflows with Actions, and support from the community.
3137

32-
Firstly, make sure you opt for a readable username, this is very important just like your linkedin user name. Upon finishing the signup you will be getting a puzzle to solve which is part of the verification.
38+
<BrowserWindow url="https://github.com/signin" bodyStyle={{padding: 0}}>
39+
[![GitHub](./assets/4-github-signin.png)](https://github.com/)
40+
</BrowserWindow>
3341

34-
- **Live Server:** Signup screen of GitHub
35-
<BrowserWindow url="https://github.com/" bodyStyle={{padding: 0}}>
36-
[![GitHub](./assets/4-account-creation.png)](https://github.com/)
37-
</BrowserWindow>
38-
42+
After signing in, you may be asked to authorize Giscus (the comment feature by GitHub). Click on "Authorize".
43+
Click the top right profile icon, then select "Your profile" to view your profile.
3944

40-
- **What's you getting:** Upon finishing the signup you will be getting the Access to GitHub Copilot, access to unlimeted repository, built in tools to improve your code quality, automated workflows with actions, and support from community.
41-
42-
43-
<BrowserWindow url="https://github.com/signin" bodyStyle={{padding: 0}}>
44-
[![GitHub](./assets/4-github-signin.png)](https://github.com/)
45-
</BrowserWindow>
45+
### Step 3: Understanding the Interface
4646

47-
- 1. Upon sign in It will ask you to autorize Giscus (comment feature by GitHub) Click on Authorize ?
48-
- 2. Click on on the top right side ``profile icon`` -> ``your profile`` to see your profile.
47+
As the next step, GitHub will ask you to verify your account. Check your email inbox for a verification mail, and confirm to proceed. After verification, you will be redirected to your GitHub page (example below), which will show your verified status.
4948

49+
<BrowserWindow url="https://github.com/sanjay-kv" bodyStyle={{padding: 0}}>
50+
[![GitHub](./assets/5-github-interface.png)](https://github.com/sanjay-kv)
51+
</BrowserWindow>
5052

51-
### Step 3: Understanding the Interface.
53+
### Step 4: Personalize and Secure Your Account
5254

53-
Next step, Github will ask you to verify the account. As a final step it will ask you to verify the account, all you need to go to the email dashboard and verify the mail ID to proceed further. After verification, you will be redirected to the Github page as shown below, can also see whether your account is verified or not as highlighted below. I would recommend skipping this step to proceed further.
55+
After verifying your email and accessing your GitHub dashboard, take a moment to personalize and secure your account. Add a profile picture to make your account recognizable, fill out your bio with your background or interests, and link relevant social media or websites. Review your account security settings—enable two-factor authentication to strengthen your protection. Updating profile details and enabling security features ensures a professional, secure GitHub presence for future collaborations.
5456

57+
### Step 5: Final Step — Secure Your GitHub Account
5558

56-
<BrowserWindow url="https://github.com/sanjay-kv" bodyStyle={{padding: 0}}>
57-
[![Github](./assets/5-github-interface.png)](https://github.com/sanjay-kv)
58-
</BrowserWindow>
59+
Congratulations on setting up your GitHub account! Before exploring further, it’s critical to secure your account using multi-factor authentication (2FA).
5960

60-
61-
### Step 5: Final Step
61+
**Why enable multi-factor authentication (2FA)?**
62+
2FA adds an extra layer of security by requiring both your password and a unique verification code from your mobile device whenever you sign in. This prevents unauthorized access, even if your password is compromised, keeping your code and personal information safe.
6263

63-
This is how a newly created Github account looks like, we will learn how to create a repository and manage your profile in the upcoming posts. Let’s close this post by showing how a professional Github Account looks like.
64+
**How to enable 2FA on GitHub:**
6465

65-
Congratulations!
66+
1. Click your profile picture in the top right, then click **Settings**.
67+
2. In the left sidebar under **Access**, select **Password and authentication**.
68+
3. Find the **Two-factor authentication** section and click **Enable two-factor authentication**.
69+
4. Choose your preferred method (an authenticator app is recommended), and scan the displayed QR code with the app on your phone.
70+
5. Enter the code generated by your authenticator app, or use an SMS code if you chose that method.
71+
6. Save your recovery codes in a safe place—these allow you to regain access if you lose your phone.
72+
7. Confirm that you have saved your recovery codes and finish setup.
6673

67-
1. ``5`` Shows the username unique to you.
68-
2. ``6`` This is the place where all the projects and repository you will be creating.
69-
3. ``7`` This is feature by GitHub AI, it helps you to chat-gpt simillar feature helping with your coding.
70-
4. ``8`` you will find all the advanced settings over here, including changing your username, changing theme etc.
71-
5. ``9`` Any acitivity you do on GitHub will be recorded here as green check box, come here on ``Halloween`` :p.
72-
6. ``10`` Apart from the checkbox all the activity of a month will be available here, you have option to make it private.
74+
<BrowserWindow url="https://github.com/sanjay-kv" bodyStyle={{padding: 0}}>
75+
[![GitHub](./assets/5-github-auth.png)](https://github.com/sanjay-kv)
76+
</BrowserWindow>
7377

78+
Now, 2FA is enabled on your account. Every time you log in, you’ll need both your password and a unique code—making your account far more secure.
79+
80+
**Dashboard recap:**
81+
82+
1. **5** – Displays your unique username.
83+
2. **6** – The section where you create and view all your projects and repositories.
84+
3. **7** – GitHub AI features that provide coding assistance, similar to ChatGPT.
85+
4. **8** – Advanced settings for changing your username, theme, and other preferences, including 2FA.
86+
5. **9** – Your activity on GitHub is tracked here, shown as green check boxes (visit around Halloween for a seasonal surprise!).
87+
6. **10** – Shows a summary of your monthly activity; you can set this visibility to private if desired.
7488

7589
## Conclusion
7690

77-
In conclusion, I hope you enjoyed reading this article on “How to create Github Account?”. In the next post, will be discussing using Git to create a Repository and clone a project Github. Signing off Sanjay Viswanathan.
91+
Thank you for reading “How to create a GitHub Account?”. In the next post, you'll learn how to use Git to create a repository and clone a project from GitHub.
92+
93+
Signing off, Sanjay Viswanathan.

docs/Google-Student-Ambassador/part-2-application-process/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ Just apply for the program using the link below and take the first step towards
8080

8181
# 🔗 Resources & Links
8282

83-
- 🌐 **Full Details:** [Google Student Ambassador](https://event.recodehive.com/gemini)
83+
- 🌐 **Full Details:** [Google Student Ambassador](https://www.gsahelp.info/)
8484
- 📝 **To Register:** [Google Gemini CA Registration](https://event.recodehive.com/gemini)
8585
- ⚙️ **Official Site:** [AI Skills House](https://aiskillshouse.com)
8686

8787

8888
[![GitHub](./assets/01-Google-banner.png)](https://aiskillshouse.com/)
8989

90-
<GiscusComments/>
90+
<GiscusComments/>

docs/Google-Student-Ambassador/part-3-eligibility/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ Familiarity with **AI tools** and **Google Gemini** is a must. Try them out befo
8383

8484
# 🔗 Resources & Links
8585

86-
- 🌐 **Full Details:** [Google Student Ambassador](https://event.recodehive.com/gemini)
86+
- 🌐 **Full Details:** [Google Student Ambassador](https://www.gsahelp.info/)
8787
- 📝 **To Register:** [Google Gemini CA Registration](https://event.recodehive.com/gemini)
8888
- ⚙️ **Official Site:** [AI Skills House](https://aiskillshouse.com)
8989

9090
[![GitHub](./assets/01-Google-banner.png)](https://aiskillshouse.com/)
9191

92-
<GiscusComments/>
92+
<GiscusComments/>

docs/Google-Student-Ambassador/part-4-gemini-pro/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,10 @@ The free one-year Google Gemini AI Pro Plan offer equips Indian students with ne
200200

201201
# 🔗 Resources & Links
202202

203-
- 🌐 **Full Details:** [Google Student Ambassador](https://event.recodehive.com/gemini)
203+
- 🌐 **Full Details:** [Google Student Ambassador](https://www.gsahelp.info/)
204204
- 📝 **To Register:** [Google Gemini CA Registration](https://event.recodehive.com/gemini)
205205
- ⚙️ **Official Site:** [AI Skills House](https://aiskillshouse.com)
206206

207207
[![GitHub](./assets/01-Google-banner.png)](https://aiskillshouse.com/)
208208

209-
<GiscusComments/>
209+
<GiscusComments/>

docs/python/conditional-statements-python.md

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,75 @@ print("Outside if block")
163163
| Nested `if` | `if` inside another `if` |
164164
| Ternary Expression | Short form of `if...else` |
165165

166-
---
166+
167+
### **Practice Questions**
168+
169+
#### 1. **Positive / Negative / Zero Checker**
170+
171+
Write a Python program that takes a number as input and checks whether it is **positive**, **negative**, or **zero**.
172+
173+
174+
#### 2. **Odd or Even**
175+
176+
Write a Python program to check whether a number is **even** or **odd**.
177+
178+
179+
#### 3. **Age Eligibility for Voting**
180+
181+
Write a program to take a person’s age as input and check if they are **eligible to vote** (18 years or older).
182+
183+
184+
#### 4. **Largest of Two Numbers**
185+
186+
Write a Python program that takes two numbers as input and prints the **larger number** using conditional statements.
187+
188+
189+
#### 5. **Largest of Three Numbers**
190+
191+
Write a Python program to find the **largest among three numbers** entered by the user using `if`, `elif`, and `else`.
192+
193+
194+
#### 6. **Grading System**
195+
196+
Write a Python program to take a student's marks as input and print the **grade** according to the following criteria:
197+
198+
* Marks ≥ 90 → Grade A
199+
* Marks ≥ 75 and < 90 → Grade B
200+
* Marks ≥ 50 and < 75 → Grade C
201+
* Marks < 50 → Grade F
202+
203+
204+
#### 7. **Leap Year Checker**
205+
206+
Write a program to check whether a given year is a **leap year** or not.
207+
*(Hint: A year is leap if divisible by 4 but not 100, or divisible by 400)*
208+
209+
210+
#### 8. **Nested If — Number Range Checker**
211+
212+
Write a program that takes a number as input and:
213+
214+
* Checks if it's **positive**.
215+
* If positive, further checks if it is **less than 10**, **between 10 and 50**, or **greater than 50**.
216+
217+
218+
#### 9. **Character Classification**
219+
220+
Write a program to input a single character and check whether it is:
221+
222+
* a **vowel**,
223+
* a **consonant**,
224+
* a **digit**, or
225+
* a **special character**.
226+
227+
228+
#### 10. **Login Authentication (Simple)**
229+
230+
Write a program that asks the user to enter a **username** and **password**.
231+
232+
* If the username is `"admin"` and the password is `"12345"`, print **“Login Successful”**.
233+
* Otherwise, print **“Invalid credentials”**.
234+
167235

168236
## Conclusion
169237

0 commit comments

Comments
 (0)