Compare commits

...

6 commits

Author SHA1 Message Date
zeon-neon[bot]
4e14200ba7
enhancement(lint): Fix lint errors for src/components/footer/index.tsx
Some checks failed
publish / publish-docker-image (push) Has been cancelled
Remote Deploy / Build & deploy (push) Has been cancelled
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-12-22 04:41:11 +00:00
42f643f5ff
feat: init iframe (#13)
Co-authored-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-12-21 23:41:07 -05:00
zeon-neon[bot]
6ce8aadebf
enhancement(lint): Fix lint errors for wak.toml
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-12-22 04:01:03 +00:00
zeon-neon[bot]
a4a04ab71c
enhancement(lint): Fix lint errors for public/php/curl.php
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-12-22 04:01:01 +00:00
zeon-neon[bot]
4488706e8b
enhancement(lint): Fix lint errors for public/index.php
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
2024-12-22 04:01:00 +00:00
af763b0fa1
feat: curl (#12) 2024-12-21 23:00:57 -05:00
6 changed files with 105 additions and 0 deletions

10
public/index.php Normal file
View file

@ -0,0 +1,10 @@
<?php
// get useragent header
$user_agent = $_SERVER["HTTP_USER_AGENT"];
if (strpos($user_agent, "curl") !== false) {
include "php/curl.php";
} else {
include "index.html";
}
?>

13
public/msg.txt Normal file
View file

@ -0,0 +1,13 @@
========================================
Hi welcome to my site?! or curled version
My name is Saahil Dutta and i am from the USA
I am a 10th grader in KCD.
Apart from coding, some other activities that I love to do!
Playing Games, Eating different types of food, Robotics.
I started programming during the Covid Pandemic in 2020
I am fluent in new like programming languages such as CSS , HTML, Javascript and Typescript.
My field of Interest's are building new Web Technologies and Products and also in areas related toBackend Services, CLI Services.
Whenever possible, I also apply my passion for developing products with
Node.js and Modern Javascript Library and Frameworks like React.js
You can find the signature for this message in saahild.com/sig.txt
========================================

42
public/php/curl.php Normal file
View file

@ -0,0 +1,42 @@
<?php
// Set headers to allow streaming
header("Content-Type: text/plain");
header("Cache-Control: no-cache"); // Disable caching
header("Connection: keep-alive");
$content = [
"========================================\n",
"Hi welcome to my site?! or curled version\n",
"My name is Saahil Dutta and i am from the USA\n",
"I am a " . 13 - (2027 - date("Y")) . "th grader in KCD.\n",
"Apart from coding, some other activities that I love to do!\n",
"Playing Games, ",
" Eating different types of food,",
" Robotics.\n",
"I started programming during the Covid Pandemic in 2020\n",
"I am fluent in new like programming languages such as CSS , HTML, Javascript and Typescript.\n",
"My field of Interest's are building new Web Technologies and Products and also in areas related to",
"Backend Services, CLI Services.\n",
"Whenever possible, I also apply my passion for developing products with",
"Node.js and Modern Javascript Library and Frameworks like React.js\n",
"You can find the signature for this message in saahild.com/sig.txt",
"\n========================================",
];
// Turn off PHP output buffering
while (ob_get_level()) {
ob_end_clean();
}
ob_implicit_flush(true);
// Simulate a long-running process
foreach ($content as $x) {
echo $x;
flush(); // Send output to the browser immediately
sleep(1); // Simulate time-consuming task
}
echo "\n";
sleep(2);
echo "\n";
//echo "Process complete!\n";
?>

14
public/sig.txt Normal file
View file

@ -0,0 +1,14 @@
-----BEGIN PGP SIGNATURE-----
iQGzBAABCAAdFiEEMq/753ie/QXIKGZVmDPgTIgqcY0FAmdLTuYACgkQmDPgTIgq
cY02IAv/asLeQUhHJiSPRGCNDpQfc5sV+k0WKA3aBHU+ubxbWEoGApUu2+3dDCjm
/4OjTskGfYbLetahTqvtkVQdSnPtGB0asfIjyb2w6dcBxMvF70pp4agnWbg+HrC6
jdj60sVeNGs2SPCMtV/JEY84o+yIi6IgS8521TIHPmCPaEywdCyzYWZfLhLcbLsS
HBmZgWb/zIjM3L+hAgpSpcUO/3UYmQNqrtR5K8U0QrAZBBDf4ZjJ+7bGx8ERhHeQ
/ek3vE5pWWPogOCbSEXGdGX3g9DF9WgoeDAm7vigVi2siXQsYrTWPxW7YoQOwY5t
qh2k0zbhCOFJcmPqWZ3dEGAqqrdcXEuCsPsoKyKdEAbslSYSKFYwRtlnTYsP9gM7
01xQVGMkUllL1F2hR4xr8XOsq9wGf/rehEdfbIOhuOqKnLrOPiOCiOpitBACCvoq
cVmz4yI5O5WRs7LDyAEeCYqVC7KFmZm6/e4tvaKbEp0erUyREACZtYaeNgtIUSya
jwR3xcuL
=nMUY
-----END PGP SIGNATURE-----

View file

@ -86,6 +86,15 @@ export default function Footer() {
<p>
Designed by <span className="text-highlight">Saahil</span>
</p>
<iframe
src="https://webring.phthallo.com/api/widgets/1?format=image&style=margin-right:10px"
width={360}
height={80}
style={{
paddingTop: "15px",
marginRight: "-35px",
}}
/>
<a href="https://ctp-webr.ing/neon/previous" className="font-bold">
&larr;
</a>

17
wak.toml Normal file
View file

@ -0,0 +1,17 @@
# https://github.com/iamawatermelo/wakapi-anyide v0.6.7
[meta]
version = 1
watchers = ['files']
[files]
include = ["*"] # files to include in tracking
exclude = [] # files to exclude in tracking
exclude_files = [
".gitignore",
] # files whose contents will be used to exclude other files from tracking
exclude_binary_files = true # whether to ignore binary files
# language_mapping = {".kicad_sch" = "Kicad Schematic"} # custom language mapping
[project]
name = "My site" # your project name