From 15eda42317498f93d657913485a16d056de8803a Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Thu, 18 Jul 2024 01:58:20 +0530 Subject: [PATCH 01/12] Update projects.json --- backend/public/projects.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/backend/public/projects.json b/backend/public/projects.json index fa327448..4ec28430 100644 --- a/backend/public/projects.json +++ b/backend/public/projects.json @@ -594,17 +594,18 @@ "slide-img-2": "img/Monopoly_Game.png" }, { - "courseId": "ISS", + "courseId": "INTERNATIONAL SPACE STATION Tracke", "name": "ISS", "description":"Real Time INTERNATIONAL SPACE STATION Tracker with Astronaut On Board: Developed a real- time International Space Station tracker", "feature 1":"Displayed ISS location dynamically on a world map using graphical modules.", "feature 2":"Enhanced the tracker with live updates on astronauts currently aboard the ISS, including their names.", - "image": "https://drive.google.com/file/d/1Bu1R-hYt0h0hS64-AT2ymlXqfRitavG4/view?usp=sharing", + "image": "https://drive.google.com/file/d/1QeD_V5t_fmgLHFEDZ8Qd6_B7yQoS4yMa/view?usp=sharing", "downloadLink": "https://drive.google.com/drive/folders/1iZgI2FEw5928qPQhJvXmaLxgyyXw7dPk?usp=sharing", "techstack": "Python,API's", - "slide-img-1": "https://drive.google.com/file/d/12F1G3LHv0PK80-sxMBYAWSsbFmnwwgAY/view?usp=sharing", - "slide-img-2": "https://drive.google.com/file/d/13WHLhvckVb1uQk1R70wCpAVBgmW9ik4S/view?usp=sharing", - "slide-img-3": "https://drive.google.com/file/d/1sOCxt2mQnQ2ZbVrhKILozURFFhr3ePcc/view?usp=sharing" + "slide-img-1": "https://drive.google.com/file/d/1Bu1R-hYt0h0hS64-AT2ymlXqfRitavG4/view?usp=sharing", + "slide-img-2": "https://drive.google.com/file/d/12F1G3LHv0PK80-sxMBYAWSsbFmnwwgAY/view?usp=sharing", + "slide-img-3": "https://drive.google.com/file/d/13WHLhvckVb1uQk1R70wCpAVBgmW9ik4S/view?usp=sharing", + "slide-img-4": "https://drive.google.com/file/d/1sOCxt2mQnQ2ZbVrhKILozURFFhr3ePcc/view?usp=sharing" } ] From bc82c4abc908165838d0814728051485f1cf8ff1 Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Thu, 18 Jul 2024 02:06:34 +0530 Subject: [PATCH 02/12] Update projects.json --- backend/public/projects.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/public/projects.json b/backend/public/projects.json index 4ec28430..81129662 100644 --- a/backend/public/projects.json +++ b/backend/public/projects.json @@ -594,7 +594,7 @@ "slide-img-2": "img/Monopoly_Game.png" }, { - "courseId": "INTERNATIONAL SPACE STATION Tracke", + "courseId": "INTERNATIONAL SPACE STATION Tracker", "name": "ISS", "description":"Real Time INTERNATIONAL SPACE STATION Tracker with Astronaut On Board: Developed a real- time International Space Station tracker", "feature 1":"Displayed ISS location dynamically on a world map using graphical modules.", From 63255e4e0736a5a1ab7509b1ddffeed98ad03f91 Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Thu, 18 Jul 2024 06:17:53 +0530 Subject: [PATCH 03/12] Update projects.json --- backend/public/projects.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/backend/public/projects.json b/backend/public/projects.json index 81129662..3266c498 100644 --- a/backend/public/projects.json +++ b/backend/public/projects.json @@ -606,6 +606,15 @@ "slide-img-2": "https://drive.google.com/file/d/12F1G3LHv0PK80-sxMBYAWSsbFmnwwgAY/view?usp=sharing", "slide-img-3": "https://drive.google.com/file/d/13WHLhvckVb1uQk1R70wCpAVBgmW9ik4S/view?usp=sharing", "slide-img-4": "https://drive.google.com/file/d/1sOCxt2mQnQ2ZbVrhKILozURFFhr3ePcc/view?usp=sharing" + }, + { + "courseId": "NASA APOD", + "name": "NASA APOD", + "image": "https://drive.google.com/file/d/1JcpzJuCttf5qUgU67dVn6GZBKG2Mgjp4/view?usp=sharing", + "downloadLink": "https://drive.google.com/drive/folders/1nMVXddm9URWSatdluVwlQztqum7C2fYe?usp=sharing", + "techstack": "Python, API: NASA APOD API", + "slide-img-1": "https://drive.google.com/file/d/1mi82pixWjvS8hRwtR4WpzM4uKjNcrXRC/view?usp=sharing", + "slide-img-2": "https://drive.google.com/file/d/155evsijSunghiAu04GBCtJcJC7AIXouj/view?usp=sharing" } ] From 6ab5e81c8cc36a876c65adba6e00e9687e95d450 Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Thu, 18 Jul 2024 06:19:06 +0530 Subject: [PATCH 04/12] Update projects.json --- backend/public/projects.json | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/backend/public/projects.json b/backend/public/projects.json index 3266c498..635e5d53 100644 --- a/backend/public/projects.json +++ b/backend/public/projects.json @@ -606,15 +606,7 @@ "slide-img-2": "https://drive.google.com/file/d/12F1G3LHv0PK80-sxMBYAWSsbFmnwwgAY/view?usp=sharing", "slide-img-3": "https://drive.google.com/file/d/13WHLhvckVb1uQk1R70wCpAVBgmW9ik4S/view?usp=sharing", "slide-img-4": "https://drive.google.com/file/d/1sOCxt2mQnQ2ZbVrhKILozURFFhr3ePcc/view?usp=sharing" - }, - { - "courseId": "NASA APOD", - "name": "NASA APOD", - "image": "https://drive.google.com/file/d/1JcpzJuCttf5qUgU67dVn6GZBKG2Mgjp4/view?usp=sharing", - "downloadLink": "https://drive.google.com/drive/folders/1nMVXddm9URWSatdluVwlQztqum7C2fYe?usp=sharing", - "techstack": "Python, API: NASA APOD API", - "slide-img-1": "https://drive.google.com/file/d/1mi82pixWjvS8hRwtR4WpzM4uKjNcrXRC/view?usp=sharing", - "slide-img-2": "https://drive.google.com/file/d/155evsijSunghiAu04GBCtJcJC7AIXouj/view?usp=sharing" } + ] From 27dd9f3218fbe5c528de369dd2d9fb854dfa0b0f Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:14:40 +0530 Subject: [PATCH 05/12] Update CONTRIBUTING.md --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8e688076..f1056b49 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -308,3 +308,8 @@ - Place: Durgapur, West Bengal, India. - Bio: CSE Undergrad | Sophomore @KIIT, Bhubaneswar | Passionate MERN Stack Developer - GitHub: [Sambit Mondal](https://github.com/Sambit-Mondal) + +### #### Name: [Nirbheek Kumar](https://github.com/NirbheekKumar) +- Place: Bangalore, Karnataka, India. +- Bio: Undergrad from BIT, Bangalore | Dedicated and enthusiastic learner for software development and technology +- GitHub: [Nirbheek Kumar](https://github.com/NirbheekKumar) From 33fbc61a727c09dc20c7d141bd4969106f3acc9b Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Fri, 19 Jul 2024 15:57:43 +0530 Subject: [PATCH 06/12] Update projects.json --- backend/public/projects.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/backend/public/projects.json b/backend/public/projects.json index 635e5d53..1a88dcad 100644 --- a/backend/public/projects.json +++ b/backend/public/projects.json @@ -596,16 +596,12 @@ { "courseId": "INTERNATIONAL SPACE STATION Tracker", "name": "ISS", - "description":"Real Time INTERNATIONAL SPACE STATION Tracker with Astronaut On Board: Developed a real- time International Space Station tracker", - "feature 1":"Displayed ISS location dynamically on a world map using graphical modules.", - "feature 2":"Enhanced the tracker with live updates on astronauts currently aboard the ISS, including their names.", "image": "https://drive.google.com/file/d/1QeD_V5t_fmgLHFEDZ8Qd6_B7yQoS4yMa/view?usp=sharing", - "downloadLink": "https://drive.google.com/drive/folders/1iZgI2FEw5928qPQhJvXmaLxgyyXw7dPk?usp=sharing", + "downloadLink": "https://drive.google.com/file/d/1QeD_V5t_fmgLHFEDZ8Qd6_B7yQoS4yMa/view?usp=sharing", "techstack": "Python,API's", "slide-img-1": "https://drive.google.com/file/d/1Bu1R-hYt0h0hS64-AT2ymlXqfRitavG4/view?usp=sharing", "slide-img-2": "https://drive.google.com/file/d/12F1G3LHv0PK80-sxMBYAWSsbFmnwwgAY/view?usp=sharing", - "slide-img-3": "https://drive.google.com/file/d/13WHLhvckVb1uQk1R70wCpAVBgmW9ik4S/view?usp=sharing", - "slide-img-4": "https://drive.google.com/file/d/1sOCxt2mQnQ2ZbVrhKILozURFFhr3ePcc/view?usp=sharing" + "slide-img-3": "https://drive.google.com/file/d/1sOCxt2mQnQ2ZbVrhKILozURFFhr3ePcc/view?usp=sharing" } From 03d433ccb326823decad5816e7cf480ee31259fe Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Fri, 19 Jul 2024 16:18:50 +0530 Subject: [PATCH 07/12] Update tempCodeRunnerFile.py --- Projects/ISS/tempCodeRunnerFile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projects/ISS/tempCodeRunnerFile.py b/Projects/ISS/tempCodeRunnerFile.py index dd66a842..a4ef50f7 100644 --- a/Projects/ISS/tempCodeRunnerFile.py +++ b/Projects/ISS/tempCodeRunnerFile.py @@ -1,4 +1,4 @@ -import json +# import json # import turtle # import urllib.request # import time From 5774955955753b4987b2da1e60bcfaab7b06fb89 Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Fri, 19 Jul 2024 16:26:16 +0530 Subject: [PATCH 08/12] Delete Projects/ISS/tempCodeRunnerFile.py --- Projects/ISS/tempCodeRunnerFile.py | 62 ------------------------------ 1 file changed, 62 deletions(-) delete mode 100644 Projects/ISS/tempCodeRunnerFile.py diff --git a/Projects/ISS/tempCodeRunnerFile.py b/Projects/ISS/tempCodeRunnerFile.py deleted file mode 100644 index a4ef50f7..00000000 --- a/Projects/ISS/tempCodeRunnerFile.py +++ /dev/null @@ -1,62 +0,0 @@ -# import json -# import turtle -# import urllib.request -# import time -# import webbrowser -# #import geocoder - - -# #Free API -# url = "http://api.open-notify.org/astros.json" -# # Opening the url using request module -# response = urllib.request.urlopen(url) -# #Loading the json file (reading it) -# result = json.loads(response.read()) -# #Opening the text file -# file = open("iss.txt", "w") -# file.write("There are currently " + -# str(result["number"]) + " astronauts on the ISS: \n\n") -# astronaut = result["people"] -# for p in astronaut: -# file.write(p['name'] + "\n") -# # print long and lat of my location -# #gps = geocoder.ip('me') -# #file.write("\nMy current latitude and longitude is: " + str(gps.latlng)) -# file.close() -# webbrowser.open("iss.txt") - -# # Setup the world map in turtle module -# display = turtle.Screen() -# display.setup(1280, 720) -# display.setworldcoordinates(-180, -90, 180, 90) - -# # load the world map image -# display.bgpic("map.gif") -# display.register_shape("iss.gif") -# iss = turtle.Turtle() -# iss.shape("iss.gif") -# iss.setheading(45) -# iss.penup() - -# while True: -# # load the current status of the ISS in real-time -# url = "http://api.open-notify.org/iss-now.json" -# response = urllib.request.urlopen(url) -# result = json.loads(response.read()) - -# # Extract the ISS location -# location = result["iss_position"] -# lat = location['latitude'] -# lon = location['longitude'] - -# # Ouput lon and lat to the terminal -# lat = float(lat) -# lon = float(lon) -# print("\nLatitude: " + str(lat)) -# print("\nLongitude: " + str(lon)) - -# # Update the ISS location on the map -# iss.goto(lon, lat) - -# # Refresh each 5 seconds -# time.sleep(1) From e2f1be979ad1466add7532e2ce90597bcf604c31 Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Fri, 19 Jul 2024 18:37:03 +0530 Subject: [PATCH 09/12] Create tempCodeRunnerFile.py --- .../ISS/Projects/ISS/tempCodeRunnerFile.py | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 Projects/ISS/Projects/ISS/tempCodeRunnerFile.py diff --git a/Projects/ISS/Projects/ISS/tempCodeRunnerFile.py b/Projects/ISS/Projects/ISS/tempCodeRunnerFile.py new file mode 100644 index 00000000..556f829a --- /dev/null +++ b/Projects/ISS/Projects/ISS/tempCodeRunnerFile.py @@ -0,0 +1,62 @@ +import json +# import turtle +# import urllib.request +# import time +# import webbrowser +# #import geocoder + + +# #Free API +# url = "http://api.open-notify.org/astros.json" +# # Opening the url using request module +# response = urllib.request.urlopen(url) +# #Loading the json file (reading it) +# result = json.loads(response.read()) +# #Opening the text file +# file = open("iss.txt", "w") +# file.write("There are currently " + +# str(result["number"]) + " astronauts on the ISS: \n\n") +# astronaut = result["people"] +# for p in astronaut: +# file.write(p['name'] + "\n") +# # print long and lat of my location +# #gps = geocoder.ip('me') +# #file.write("\nMy current latitude and longitude is: " + str(gps.latlng)) +# file.close() +# webbrowser.open("iss.txt") + +# # Setup the world map in turtle module +# display = turtle.Screen() +# display.setup(1280, 720) +# display.setworldcoordinates(-180, -90, 180, 90) + +# # load the world map image +# display.bgpic("map.gif") +# display.register_shape("iss.gif") +# iss = turtle.Turtle() +# iss.shape("iss.gif") +# iss.setheading(45) +# iss.penup() + +# while True: +# # load the current status of the ISS in real-time +# url = "http://api.open-notify.org/iss-now.json" +# response = urllib.request.urlopen(url) +# result = json.loads(response.read()) + +# # Extract the ISS location +# location = result["iss_position"] +# lat = location['latitude'] +# lon = location['longitude'] + +# # Ouput lon and lat to the terminal +# lat = float(lat) +# lon = float(lon) +# print("\nLatitude: " + str(lat)) +# print("\nLongitude: " + str(lon)) + +# # Update the ISS location on the map +# iss.goto(lon, lat) + +# # Refresh each 5 seconds +# time.sleep(1) From 93cea0e4eb9f8ad72078127e41143d6753a1014c Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Fri, 19 Jul 2024 19:18:06 +0530 Subject: [PATCH 10/12] Delete Projects/ISS/Projects/ISS/tempCodeRunnerFile.py --- .../ISS/Projects/ISS/tempCodeRunnerFile.py | 62 ------------------- 1 file changed, 62 deletions(-) delete mode 100644 Projects/ISS/Projects/ISS/tempCodeRunnerFile.py diff --git a/Projects/ISS/Projects/ISS/tempCodeRunnerFile.py b/Projects/ISS/Projects/ISS/tempCodeRunnerFile.py deleted file mode 100644 index 556f829a..00000000 --- a/Projects/ISS/Projects/ISS/tempCodeRunnerFile.py +++ /dev/null @@ -1,62 +0,0 @@ -import json -# import turtle -# import urllib.request -# import time -# import webbrowser -# #import geocoder - - -# #Free API -# url = "http://api.open-notify.org/astros.json" -# # Opening the url using request module -# response = urllib.request.urlopen(url) -# #Loading the json file (reading it) -# result = json.loads(response.read()) -# #Opening the text file -# file = open("iss.txt", "w") -# file.write("There are currently " + -# str(result["number"]) + " astronauts on the ISS: \n\n") -# astronaut = result["people"] -# for p in astronaut: -# file.write(p['name'] + "\n") -# # print long and lat of my location -# #gps = geocoder.ip('me') -# #file.write("\nMy current latitude and longitude is: " + str(gps.latlng)) -# file.close() -# webbrowser.open("iss.txt") - -# # Setup the world map in turtle module -# display = turtle.Screen() -# display.setup(1280, 720) -# display.setworldcoordinates(-180, -90, 180, 90) - -# # load the world map image -# display.bgpic("map.gif") -# display.register_shape("iss.gif") -# iss = turtle.Turtle() -# iss.shape("iss.gif") -# iss.setheading(45) -# iss.penup() - -# while True: -# # load the current status of the ISS in real-time -# url = "http://api.open-notify.org/iss-now.json" -# response = urllib.request.urlopen(url) -# result = json.loads(response.read()) - -# # Extract the ISS location -# location = result["iss_position"] -# lat = location['latitude'] -# lon = location['longitude'] - -# # Ouput lon and lat to the terminal -# lat = float(lat) -# lon = float(lon) -# print("\nLatitude: " + str(lat)) -# print("\nLongitude: " + str(lon)) - -# # Update the ISS location on the map -# iss.goto(lon, lat) - -# # Refresh each 5 seconds -# time.sleep(1) From 565d5fc344ebc28b0f9def987ab74a9d577644d9 Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Fri, 19 Jul 2024 19:21:25 +0530 Subject: [PATCH 11/12] Update main.py ADD PATH OF map.gif AS PER YOUR DIRECTORY in main.py ADD PATH OF iss.gif AS PER YOUR DIRECTORY in main.py --- Projects/ISS/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Projects/ISS/main.py b/Projects/ISS/main.py index d4e12eac..ca050ae8 100644 --- a/Projects/ISS/main.py +++ b/Projects/ISS/main.py @@ -20,11 +20,11 @@ def track_iss(): display = turtle.Screen() display.setup(1280, 720) display.setworldcoordinates(-180, -90, 180, 90) - display.bgpic("map.gif") - display.register_shape("iss.gif") + display.bgpic("Projects/ISS/map.gif") # ADD PATH OF map.gif AS PER YOUR DIRECTORY + display.register_shape("Projects/ISS/iss.gif") # ADD PATH OF iss.gif AS PER YOUR DIRECTORY iss = turtle.Turtle() - iss.shape("iss.gif") + iss.shape("Projects/ISS/iss.gif") # ADD PATH OF iss.gif AS PER YOUR DIRECTORY iss.penup() try: From efc58951d9806e2f1f105012f1cd7575cb690b9b Mon Sep 17 00:00:00 2001 From: Nirbheek Kumar <143901102+NirbheekKumar@users.noreply.github.com> Date: Fri, 19 Jul 2024 19:32:18 +0530 Subject: [PATCH 12/12] Update main.py display.bgpic("map.gif") # display.bgpic("ADD PATH OF map.gif AS PER YOUR DIRECTORY") display.register_shape("iss.gif") # display.register_shape("ADD PATH OF iss.gif AS PER YOUR DIRECTORY") iss.shape("iss.gif") # iss.shape("ADD PATH OF iss.gif AS PER YOUR DIRECTORY") --- Projects/ISS/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Projects/ISS/main.py b/Projects/ISS/main.py index ca050ae8..44eef335 100644 --- a/Projects/ISS/main.py +++ b/Projects/ISS/main.py @@ -20,11 +20,11 @@ def track_iss(): display = turtle.Screen() display.setup(1280, 720) display.setworldcoordinates(-180, -90, 180, 90) - display.bgpic("Projects/ISS/map.gif") # ADD PATH OF map.gif AS PER YOUR DIRECTORY - display.register_shape("Projects/ISS/iss.gif") # ADD PATH OF iss.gif AS PER YOUR DIRECTORY + display.bgpic("map.gif") # display.bgpic("ADD PATH OF map.gif AS PER YOUR DIRECTORY") + display.register_shape("iss.gif") # display.register_shape("ADD PATH OF iss.gif AS PER YOUR DIRECTORY") iss = turtle.Turtle() - iss.shape("Projects/ISS/iss.gif") # ADD PATH OF iss.gif AS PER YOUR DIRECTORY + iss.shape("iss.gif") # iss.shape("ADD PATH OF iss.gif AS PER YOUR DIRECTORY") iss.penup() try: