Register to config:
plugins: [
hookdeck({
source: import.meta.env.NUXT_HOOKDECK_SOURCE || '{your hookdeck source}',
urlMap: {
Clerk: 'hook/clerk',
Paddle: 'hook/paddle',
},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); |
| <?php | |
| // copied from python code at https://stackoverflow.com/a/23221582/3103058 | |
| function base32_decode($key) { | |
| // https://www.php.net/manual/en/function.base-convert.php#122221 | |
| $key = strtoupper($key); | |
| list($t, $b, $r) = array("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", "", ""); | |
| foreach(str_split($key) as $c) | |
| $b = $b . sprintf("%05b", strpos($t, $c)); | |
| foreach(str_split($b, 8) as $c) | |
| $r = $r . chr(bindec($c)); |