This file contains hidden or 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
| { | |
| "budget_trips": [ | |
| { | |
| "Alleppey": "The Venice Of The East", | |
| "Goa": "The Land Of Beaches", | |
| "Pondicherry": "The French Town", | |
| "Gokarna": "The Less Crowded Goa", | |
| "Rishikesh": "The Yoga Capital", | |
| "Darjeeling": "The Land Of Thunderbolt", | |
| "McLeodganj": "The Little Lhasa", |
This file contains hidden or 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
| // ==UserScript== | |
| // @name Remove Sponsor Ads | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2024-12-05 | |
| // @description Removes sponsor ads on the MoneyControl mutual funds page. | |
| // @author You | |
| // @match https://www.moneycontrol.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=moneycontrol.com | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or 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
| // given a condition all the sections are expanded | |
| (function () { | |
| function sanitize(text) { | |
| return text?.trim().replace(/\s+/g, ' ') || ''; | |
| } | |
| const sections = document.querySelectorAll('[data-purpose^="section-panel-"]'); | |
| const markdownLines = []; | |
| sections.forEach((section) => { |
This file contains hidden or 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
| // Run this in the browser console while logged into Google Photos Albums page | |
| (function() { | |
| let albumNames = []; | |
| const links = document.getElementsByTagName('A'); | |
| for (let i = 0; i < links.length; i++) { | |
| const link = links[i]; | |
| // Google Photos albums usually show count like '123 items' in their text; skip those links | |
| if (/\b\d+ items\b/.test(link.innerText)) { | |
| const divs = link.getElementsByTagName('DIV'); |
This file contains hidden or 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
| @echo off | |
| setlocal EnableDelayedExpansion | |
| :: Set your root folder path | |
| cd /d "C:\Path\To\Your\Folders" | |
| for /d %%F in (*) do ( | |
| set "folderName=%%F" | |
| set "fileCount=0" |
This file contains hidden or 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
| (()=>{ | |
| // Select all row elements that represent folders by their data attributes or visible content | |
| const folderRows = document.querySelectorAll('div[data-item-index]'); | |
| // Extract folder names from anchor tags within those rows | |
| const folderNames = []; | |
| folderRows.forEach(row => { | |
| // The folder name seems inside: div > div.item-list-name > div.item-name-holder > div.name-row > div.item-name > a.item-link |
OlderNewer