From 3de9817cfe4236f0f7793f55f0d907c2e76c0b57 Mon Sep 17 00:00:00 2001 From: ahmad sh Date: Tue, 4 Jun 2024 17:28:10 +0300 Subject: [PATCH 1/4] file4 --- file4.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 file4.txt diff --git a/file4.txt b/file4.txt new file mode 100644 index 0000000..45b983b --- /dev/null +++ b/file4.txt @@ -0,0 +1 @@ +hi From 8ef6abf504c01abcbfff97f0d0e1f2a08e18874d Mon Sep 17 00:00:00 2001 From: ahmad212o <50572960+ahmad212o@users.noreply.github.com> Date: Thu, 24 Apr 2025 12:45:51 +0300 Subject: [PATCH 2/4] Update index.html new --- node/index.html | 77 +++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 65 insertions(+), 12 deletions(-) diff --git a/node/index.html b/node/index.html index 19c402d..17bc661 100644 --- a/node/index.html +++ b/node/index.html @@ -1,15 +1,68 @@ - - - - Document - - -
-

Prithvi Website

-

Home Town

-
-
feature3
- + + + + Prithvi | Portfolio + + + + +
+

Welcome to Prithvi's Space

+

Discover my projects, origins, and ideas.

+
+ +
+
+

🏠 Hometown

+

I come from a place that inspires my creativity and resilience. Stay tuned for more about it!

+
+ +
+

🚀 Feature Highlight

+

Feature 3 is currently in progress. It aims to revolutionize how users interact with our platform.

+
+
+ + + + From 54469b3f33bd40106ffa1196ad98541f25178eea Mon Sep 17 00:00:00 2001 From: ahmad212o <50572960+ahmad212o@users.noreply.github.com> Date: Thu, 24 Apr 2025 13:12:37 +0300 Subject: [PATCH 3/4] Update math.js new js version --- node/math.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/node/math.js b/node/math.js index abae3c4..7a3d6aa 100644 --- a/node/math.js +++ b/node/math.js @@ -1,8 +1,5 @@ -var add = function( a,b){ - return a+b; -} - +const add = (a, b) => a + b; module.exports = { - add + add, }; From a14ba6b09e24c632dad35f323c38751ed82b69de Mon Sep 17 00:00:00 2001 From: ahmad212o <50572960+ahmad212o@users.noreply.github.com> Date: Thu, 24 Apr 2025 13:22:08 +0300 Subject: [PATCH 4/4] Create py.py --- py.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 py.py diff --git a/py.py b/py.py new file mode 100644 index 0000000..3338c02 --- /dev/null +++ b/py.py @@ -0,0 +1,24 @@ +# Extremely inefficient code for calculating the factorial of a number + +def factorial(n): + result = 1 + + # Infinite loops for no reason + for i in range(1000000000): # Outer loop doing nothing + for j in range(1000000): # Inner loop doing nothing + if i == j: # Random comparison that is redundant + continue + + # An inefficient way to calculate factorial + for i in range(1, n + 1): + result *= i + + # Unnecessary logging after every calculation + for _ in range(10000): + print("Just printing to slow things down...") + + print("Final result is:", result) + return result + +# Call the function with a random number +factorial(5)