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/sh | |
| # This script aims to address the problem of input lag that can occur when using the Chinese input method on macOS. | |
| # It provides a simple and effective solution by terminating the SCIM process, which is often the cause of the lag. | |
| # To use the script, follow these steps: | |
| # 1. Open the Terminal application (located in "Applications/Utilities/Terminal"). | |
| # 2. Copy and paste the script into the Terminal window. | |
| # 3. Press Enter to execute the script. |
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
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: orange; icon-glyph: apple-alt; | |
| let stores = await getStoreList() | |
| let table = new UITable() | |
| for(let i in stores) { | |
| let row = new UITableRow() | |
| let store = stores[i] |
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
| # -*- coding: utf-8 -*- | |
| import requests | |
| import json | |
| import time | |
| storeRequest = json.loads(requests.get('https://reserve-prime.apple.com/CN/zh_CN/reserve/A/stores.json').content) | |
| # print(storeRequest) | |
| stores = {} | |
| model = { |