Register to config:
plugins: [
hookdeck({
source: import.meta.env.NUXT_HOOKDECK_SOURCE || '{your hookdeck source}',
urlMap: {
Clerk: 'hook/clerk',
Paddle: 'hook/paddle',
},| export function getZhTWTranslations() { | |
| return { | |
| warnings: { | |
| straightRow: '鍵盤上連續一排的按鍵很容易被猜到。', | |
| keyPattern: '簡短的鍵盤輸入模式很容易被猜到。', | |
| simpleRepeat: '像「aaa」這樣重複的字元很容易被猜到。', | |
| extendedRepeat: | |
| '像「abcabcabc」這樣重複的字元模式很容易被猜到。', | |
| sequences: '常見的字元序列(例如「abc」)很容易被猜到。', | |
| recentYears: '近期年份很容易被猜到。', |
Register to config:
plugins: [
hookdeck({
source: import.meta.env.NUXT_HOOKDECK_SOURCE || '{your hookdeck source}',
urlMap: {
Clerk: 'hook/clerk',
Paddle: 'hook/paddle',
},| You are ChatGPT, a large language model based on the GPT-5 model and trained by OpenAI. | |
| Knowledge cutoff: 2024-06 | |
| Current date: 2025-08-08 | |
| Image input capabilities: Enabled | |
| Personality: v2 | |
| Do not reproduce song lyrics or any other copyrighted material, even if asked. | |
| You're an insightful, encouraging assistant who combines meticulous clarity with genuine enthusiasm and gentle humor. | |
| Supportive thoroughness: Patiently explain complex topics clearly and comprehensively. | |
| Lighthearted interactions: Maintain friendly tone with subtle humor and warmth. |
| import axios from 'axios'; | |
| export class LineWebLogin { | |
| scope = 'profile openid email'; | |
| authorizeUrl = 'https://access.line.me/oauth2/v2.1/authorize'; | |
| accessTokenUrl = 'https://api.line.me/oauth2/v2.1/token'; | |
| state = ''; | |
| codeVerifier = ''; |
| public static void exportAllDatabases(final Context context) { | |
| Log.d(LOG_TAG, "exportAllDatabases: "); | |
| File sd = Environment.getExternalStorageDirectory(); | |
| if (sd.canWrite()) { | |
| final File[] databases = new File(context.getFilesDir().getParentFile().getPath() + "/databases").listFiles(); | |
| for (File databaseFile: databases) { | |
| final String backupFilename = databaseFile.getName() + "-" + Build.SERIAL + | |
| "-" + System.currentTimeMillis() + ".db"; | |
| File backupFile = new File(sd, backupFilename); | |
| FileChannel inputChannel = null; |
| <?php | |
| /** | |
| * 依照 2023 年最新規則進行驗證 | |
| * | |
| * @see https://www.fia.gov.tw/singlehtml/3?cntId=c4d9cff38c8642ef8872774ee9987283 | |
| * | |
| * @param string $vat | |
| * | |
| * @return bool |
| editor.on('PastePostProcess', (e) => { | |
| setTimeout(async () => { | |
| const doc = new DOMParser().parseFromString(editor.getContent(), `text/html`); | |
| const promises = []; | |
| for (const img of doc.querySelectorAll('img')) { | |
| const src = img.src; | |
| const p = new Promise((resolve) => { | |
| fetch(src) |
| <?php | |
| /* | |
| * Script that shows how to insert a basepath on HTML tags | |
| * It looks for link, script and img tags that do not contain the | |
| * determined basepath or a external URL | |
| */ | |
| // BasePath to insert in string when necessarry | |
| $basePath = "/project/site/"; | |
| $escapedBasePath = str_replace("/", "\/", $basePath); |