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 msg = ''; | |
| [...document.querySelector('.history').children].forEach(elm =>{ | |
| if (elm.classList.contains("service")) return; | |
| if (elm.classList.contains("joined")) { | |
| const text = elm.querySelector(".text")?.textContent?.trim(); | |
| if (!text) return; | |
| msg += `${text}\n`; | |
| return | |
| } | |
| const from = elm.querySelector(".from_name")?.textContent?.trim(); |
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
| (* | |
| ## FIX INSTALLER SCRIPT ## | |
| This script allows the user to select an application (.app), | |
| removes the quarantine attribute from it, | |
| and signs it with `codesign` if the tool is available. | |
| @author: gornostay25 | |
| @version: 1.2 | |
| *) |
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
| use framework "Cocoa" | |
| use scripting additions | |
| global ca | |
| set ca to current application | |
| -- Список запитань | |
| set questionList to {"What do you know about project Bistro Delivery?", "Show me all security test cases."} | |
| set questionIndex to 1 | |
| set questionCount to count of questionList |
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
| //Paste this code into console (CTRL+Shift+I / F12) | |
| function customGameOver(){ | |
| let timer; | |
| return ()=>{ | |
| clearTimeout(timer); | |
| timer = setTimeout(()=>{ | |
| this.playSound(this.soundFx.HIT); | |
| let csp = this.currentSpeed; | |
| if (csp/2 < 4){ |
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 sandboxcode(s) { | |
| function construct(c, a) { | |
| function F(){return c.apply(this, a)} | |
| F.prototype = c.prototype; | |
| return new F() | |
| } | |
| let g = ["Function","globalThis","eval"] | |
| for (let i in globalThis){g.push(i)} | |
| g.push(s); | |
| return construct(Function, g).apply({}); |
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
| import requests,configparser | |
| filename = "GASsettings.ini" | |
| config = configparser.ConfigParser() | |
| config.read(filename) | |
| if not "GAS" in config: | |
| print("Please create "+filename+" file!") | |
| exit(1) | |
| exportFolder = "./MyGASproject" |
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
| var myWindow = window.open("", "_self", ""); myWindow.document.write(""+ btoa(unescape(encodeURIComponent(document.getElementsByTagName("HTML")[0].innerHTML)))+""); | |
| //you can use this as bookmark |