Skip to content

Instantly share code, notes, and snippets.

View Harry260's full-sized avatar
🤌
Nevgon gib u up!

Harry Harry260

🤌
Nevgon gib u up!
View GitHub Profile
@Harry260
Harry260 / brilliant.notes.js
Created October 24, 2025 15:24
Download Brilliant Read Only Notes [v2] (Testpress)
(async () => {
const iframeSrcs = Array.from(document.querySelectorAll('iframe'))
.map(i => i.src)
.filter(Boolean);
const viewerPattern = /^https:\/\/media\.testpress\.in\/static\/js\/pdf_js_v3_10_111\/web\/viewer\.html\?/;
const matchingSrcs = iframeSrcs.filter(src => viewerPattern.test(src));
for (const src of matchingSrcs) {
try {
@Harry260
Harry260 / README.md
Created May 2, 2023 03:44
Google Cloud Ubuntu RDP with Chrome Remote Desktop

Do the following steps to access Remote Desktop of you VM instance from GCP

1 .Install Chrome Remote Desktop

  1. update the package manager data and install wget and tasksel
sudo apt update
sudo apt install --assume-yes wget tasksel
  1. Download and install the Debian Linux Chrome Remote Desktop installation package:
@Harry260
Harry260 / .txt
Last active October 21, 2022 12:49
A spammer made in python with repeating Bee Movie script lines 690069 times!
This file has been truncated, but you can view the full file.
According to all known laws of aviation, there is no way a bee should be able to fly.
Its wings are too small to get its fat little body off the ground.
The bee, of course, flies anyway because bees don't care what humans think is impossible.
Yellow, black. Yellow, black. Yellow, black. Yellow, black.
Ooh, black and yellow!
Let's shake it up a little.
Barry! Breakfast is ready!
Coming!
Hang on a second.
Hello?
@Harry260
Harry260 / PrintFriendly.js
Created September 28, 2022 01:43
Print friendly download for https://www.brilliantpalaexams.com/ exam result
var itemsToRemove = [
".nav-list",
".nav",
".review-exam-filter",
".re-subject-row",
"#review-tab",
"legend",
".discuss-actions2", "#header",
".re-correct-answer:has(> p)"
];
@Harry260
Harry260 / meta-tags.md
Created May 17, 2022 10:28 — forked from whitingx/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
@Harry260
Harry260 / README.md
Last active October 8, 2022 19:20
Disable Delete, Clear Char, Delete Chat, All the Delete icons from whatsapp web!

Control Whatsapp Web Delete Feature

Disable Delete, Clear Char, Delete Chat, All the Delete icons from whatsapp web!

And that's it..

For further security, by preventing of tampermonkey uninstall.. follow the below steps

@Harry260
Harry260 / README.md
Created January 1, 2022 12:10
Upload Image to Imgur.com with Javascript - Javascript wrapper for Imgur

Imgur Wrapper for JS

This is a Wrapper for Imgur to upload images easily!

Usage

  • Firstly, Get a Client Id from Imgur Check this out
  • Create an Input element with type="file" attribute and any selector, eg. id: #imgur
@Harry260
Harry260 / netlify-names.js
Last active December 31, 2021 08:54
Generates Names Like Netlify
function GetName() {
// Function to choose Random Item from array
function RandomArray(items) {
return items[Math.floor(Math.random()*items.length)];
}
// First Name Array
A=['admiring','adoring','affectionate','agitated','amazing','angry','awesome','blissful','boring','brave','clever','cocky','compassionate','competent','condescending','confident','cranky','dazzling','determined','distracted','dreamy','eager','ecstatic','elastic','elated','elegant','eloquent','epic','fervent','festive','flamboyant','focused','friendly','frosty','gallant','gifted','goofy','gracious','happy','hardcore','heuristic','hopeful','hungry','infallible','inspiring','jolly','jovial','keen','kind','laughing','loving','lucid','mystifying','modest','musing','naughty','nervous','nifty','nostalgic','objective','optimistic','peaceful','pedantic','pensive','practical','priceless','quirky','quizzical','relaxed','reverent','romantic','sad','serene','sharp','silly','sleepy','stoic','stupefied
@Harry260
Harry260 / GoogleMeet Hack V2.md
Last active October 25, 2021 11:55
USERSCRIPT to add custom Background Image/Video even if host disables it! Version 2!

About

This is a userscript for adding custom background videos and images as google meet background. This works even if the custom background is disabled by the admin (Gsuit feature). This supports .png .jpg/.jpeg .mp4 .gif. If you try to use this by pasting in the webConsole, it wont work!

How to use?

  • Step 1: To use this script, you need to download the extension. You can download this extension from here: Chrome, Firefox
  • Step 2: Click the the Extensions button > Tampermonkey > Create New Userscript..
@Harry260
Harry260 / random.cs
Created July 10, 2021 08:31
Generate random alphanumerals with c#
public string randomID(int length = 5)
{
const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
var random = new Random();
var randomString = new string(Enumerable.Repeat(chars, length).Select(s => s[random.Next(s.Length)]).ToArray());
return randomString;
}