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 throwError = (message) => { | |
| alert(message); | |
| throw new Error(message); | |
| }; | |
| if (!window.location.href.startsWith('https://chatgpt.com/')) { | |
| throwError('This script must be running on https://chatgpt.com only.'); | |
| } | |
| await fetch('https://chatgpt.com/cdn-cgi/trace').then(async (response) => { | |
| if (!(await response.text()).includes('\nloc=SG\n')) { | |
| throwError('Enable Singapore VPN first!'); |
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
| store.steampowered.com,steamcommunity.com##div.logo div:has(> div[data-id="sponsor"]) | |
| store.steampowered.com,steamcommunity.com##div.supernav_content a.submenuitem:not([class="submenuitem"]) | |
| store.steampowered.com,steamcommunity.com##div#global_header div#global_actions.sih-modified-header:style(max-width: none !important; width: auto !important;) | |
| store.steampowered.com,steamcommunity.com##div#global_header div#global_actions div.sih-features-button, div.sih-global-menu, sih-keys-header-btn | |
| store.steampowered.com,steamcommunity.com##div#global_header div.sih-steam-refill-btn | |
| store.steampowered.com,steamcommunity.com##div.sih-left-side-features-menu | |
| store.steampowered.com##div.game_description_column div.sih-steam-refill-banner | |
| steamcommunity.com##div.profile_small_header_texture a.sih-subscribe-donat | |
| steamcommunity.com##div.inventory_links div.sih_skins_giveaway a.row |
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
| #!/bin/bash | |
| # The script must be executed as the root user, or it will fail. | |
| # You must have "Container Manager" installed before running this script. | |
| # Additionally, "Emby Server" must be running or the script will do nothing. | |
| # Manually run the script once to apply free Emby Premiere patch. | |
| # Make sure to update the ASSET_PREFIX and ASSET_SUFFIX based on your Synology model. | |
| # Check your asset prefix and suffix from here: https://github.com/MediaBrowser/Emby.Releases/releases/latest | |
| # CAUTION: Tested only on emby-server-synology72_4.8.10.0_x86_64.spk. Compatibility with other versions is no guarantee. |
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
| package main | |
| import ( | |
| "fmt" | |
| "syscall" | |
| "unsafe" | |
| ) | |
| const ( | |
| RSMB = 0x52534D42 |
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 assert from 'node:assert'; | |
| import cluster from 'node:cluster'; | |
| import { EventEmitter } from 'node:events'; | |
| import { fork } from 'node:child_process'; | |
| try { | |
| new cluster.Worker(); | |
| } catch (err) { | |
| if (err.code === 'ERR_NOT_IMPLEMENTED') { | |
| const callbacks = new Map(); |
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
| // This Scripted Function allows one monitor to turn off while keeping the rest on. | |
| // It is recommended to install Virtual Display Driver to have dummy monitor. | |
| // https://github.com/itsmikethetech/Virtual-Display-Driver | |
| // Please adjust the resolution and scale according to your monitor, | |
| // then create 3 seperate profiles in DisplayFusion. | |
| // 1st: Only active monitor; 2nd: Only dummy monitor; 3rd: Both monitors | |
| // You can create a trigger to run when idling longer than specific time. |
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
| // Simply run Install function once to setup. | |
| // The following script does send HTTP requests for each unread email from any sender with the email domain '@domain.com'. | |
| // The emails are processed in chronological order, from the oldest to the newest. | |
| // This script is implemented with Single Instance Locking to prevent duplication. | |
| // This script is implemented with Execution Timeout to prevent the execution time limit from being exceeded. | |
| function Install () { | |
| Uninstall(); | |
| ScriptApp.newTrigger('Run').timeBased().everyMinutes(1).create(); | |
| } |
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
| <?php | |
| class DataTables { | |
| public $table_name = ""; | |
| public $columns = array(); | |
| public $wheres = array(); | |
| public $search = ""; | |
| public $filters = array(); |
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
| <?php | |
| /* | |
| Make sure to enter $anticaptcha_key before upload to server. | |
| Upload "auto_plesk_trial.php" file to "/home/centos/auto_plesk_trial.php" | |
| Then create Schedule Task in Root account of Plesk. | |
| Task Type: Run a PHP script | |
| Script path: /home/centos/auto_plesk_trial.php | |
| Use PHP version: 7.x.x / 8.x.x | |
| Run: Cron style * * * * * |
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 delay = millis => new Promise((resolve, reject) => { | |
| setTimeout(_ => resolve(), millis) | |
| }); | |
| const userAccount = await wax.login(); | |
| unityInstance.SendMessage('Controller', 'Server_Response_LoginData', userAccount); | |
| const account = userAccount; | |
| await delay(10000); |
NewerOlder