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
| const axios = require("axios"); | |
| const jsdom = require("jsdom"); | |
| // ids to name mapping of theatres - you can find this by inspecting the theate div | |
| const ids = { | |
| VRCM: "VR Mall", | |
| SPPZ: "Forum Palazzo", | |
| STHM: "SPL Sathyam cinemas", | |
| EVPI: "EVP Cinemas", | |
| JACM: "Phoenix Jazz cinemas", |
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
| let value = 0.5 // set value from 0-1 | |
| document.querySelectorAll('audio').forEach(el=>el.volume = value) |
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
| function autofill(){ | |
| const min = 2, | |
| max = 5; // (1 - poor , 5 - excellent) | |
| document.getElementById("commentTextArea").value = "Nice teaching"; // remarks | |
| document.querySelectorAll("select").forEach((element) => { | |
| if (element.id.includes("gradeSelect")) { | |
| element.value = Math.round(Math.random() * (max - min) + min); | |
| } | |
| }); | |
| } |
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
| const fetch = require("node-fetch"); | |
| const jsdom = require("jsdom"); | |
| const options = { | |
| credentials: "include", | |
| headers: { | |
| "User-Agent": | |
| "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0", | |
| Accept: | |
| "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8", |
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
| // vetur.config.js | |
| /** @type {import('vls').VeturConfig} */ | |
| module.exports = { | |
| // **optional** default: `{}` | |
| // override vscode settings | |
| // Notice: It only affects the settings used by Vetur. | |
| settings: { | |
| "vetur.useWorkspaceDependencies": true, | |
| "vetur.experimental.templateInterpolationService": true, | |
| }, |