-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6e2694
commit 491caf1
Showing
3 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
content/posts/pranking-my-friends-on-valentines-day/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
+++ | ||
title = "Pranking my friends on valentines day" | ||
date = 2024-02-15 | ||
draft = false | ||
description = "Why should only couples have fun on valentines day?" | ||
tags = ['life', 'college','webdev'] | ||
+++ | ||
Check out the [Love Calculator](https://love-calc-project.netlify.app/) before reading the post! | ||
|
||
Isn't it great? lol | ||
|
||
If you didn't check it out, basically it is a website that asks a person who their crush is and tries to calculate their love percentage. But in the end it just [rickrolls](https://en.wikipedia.org/wiki/Rickrolling) the person. | ||
|
||
This not my idea but I stole it from a guy named Aldrin, who made this for April Fools Day. You can check out his project [here](https://aldrinjenson.github.io/Love-Calc/) | ||
|
||
I came across Aldrin's work on the eve of Valentine's day and I really wanted to make something like this. Knowing that it wouldn't take too long, I started to work on it immediately. I had a lab exam the next day, so I couldn't spend too much time with it. | ||
|
||
I created two HTML files, added a dummy form and used [simple.css](https://simplecss.org) . For the second page, I embeded some funny gifs from GIPHY and Rick Astley's Never Gonna Give You Up from SoundCloud. Voila! It's done. | ||
|
||
Well, it didn't work very well. | ||
|
||
The SoundCloud embed loaded slowly and sometimes the song didn't autoplay even though I had enabled autoplay for the widget. To fix this, I downloaded the song and used the HTML `<audio>` autoplay attribute instead. | ||
|
||
Now, let the fun begin! | ||
|
||
I put the link as my status on WhatsApp and shared it to a few of my friends. Since, the form didn't actually submit responeses, I had no clue how many people used it. But some of my friends messaged me and they liked it. | ||
|
||
## Love Calculator 2.0 🤣️🤣️ | ||
|
||
After my exam, I decided to improve it and have more fun. | ||
|
||
I use Netlify for hosting the project and one of the cool features Netlify offers is form handling. It is super easy to use and free!. So I added this feature to the form. | ||
|
||
I also replaced the GIPHY embeds with .webp files. | ||
|
||
Now, let the fun begin, again!! hehe | ||
|
||
I posted the link again as my status and one of my friends posted it in our main college class WhatsApp group. | ||
|
||
Most of the responses, about 30 in total, were really funny. | ||
|
||
I had a really great time with this love calculator thing. It was really fun! | ||
|
||
This is day 7 of [#100DaystoOffload](https://100daystooffload.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
+++ | ||
title = 'Turning off YouTube Shorts' | ||
date = 2024-02-12 | ||
draft = true | ||
+++ | ||
Two months ago, I was casually browsing Reddit and saw a post on how you can turn off YouTube Shorts without downloading a third party extension or using UBlock Origin. I was delighted to see this because I always wondered how Shorts can be disabled. | ||
|
||
If you haven't checked the post, all you have to do is pause your watch history from your Google Account settings (You may have to clear your entire watch history). But it comes with a caveat - you won't get video recommendations on your home page. | ||
|
||
Short form content is extremely addictive and most of the time I would waste a lot of time watching these videos and I ddn't get any benefits from |