[...new Set(Array.from(document.querySelectorAll('video,source')).map(s=>s.src))].forEach((s,i)=>s&&prompt(`Video ${i+1} URL (Copy to clipboard yourself):`,s))
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
| /** | |
| * 주민번호 생성기 | |
| * 사용예) jumin() | |
| * jumin({year:1990, month:3, day: 12, loop: 10}); //1990년 3월 12일생 10개 주민번호 생성. | |
| * 확인예) jumin.verify(확인할 주민번호) 확인할 주민번호는 - 있어도 없어도 무관. 13자리만 맞추면 됨. | |
| * @param {object} options 옵션 | |
| * year: 년도, 빈 값으면 랜덤 | |
| * month: 월, 빈 값이면 랜덤 | |
| * day: 일, 빈 값이면 랜덤 | |
| * loop: 생성개수, 빈 값이면 1개 생성. |
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
| @REM How to use before run this batch: You need Bitvise SSH Client and NSSM. if you haven't, google it and download and install. | |
| @REM 1. open bitvise SSG Client | |
| @REM 2. click "New Profile" to save profile. | |
| @REM 3. configure SSH infomation, tunnels, etc. | |
| @REM 4. click "Save Profile" to save profile. | |
| @REM 5. on "sensitive" dialog popup, check "any account on this computer" or below to service account can connect it. | |
| @REM 6. click "Login" to connect and test SSH Connection. | |
| @REM 7. click "Accept & Save" if you see host key dialog popup. | |
| @REM 8. Click "host key manager" | |
| @REM 9. select your SSH host and click "Export". then click "Bitvise format" and save host key file. |
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 { useEffect, act } from 'react'; | |
| import { createRoot } from 'react-dom/client'; | |
| import { afterEach, describe, expect, it, vi } from 'vitest'; | |
| interface TestClockProps { | |
| target?: number | number[]; | |
| onChange: (value: Date) => void; | |
| } | |
| type UseClockSecond = (target?: number | number[]) => Date; |
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 type { Plugin } from 'vite'; | |
| import type { NodeBuildOptions } from '@hono/vite-build/node'; | |
| import buildPlugin from '@hono/vite-build'; | |
| const nodeBuildPlugin = (pluginOptions?: NodeBuildOptions): Plugin => { | |
| const port = pluginOptions?.port ?? 3000; | |
| return { | |
| ...buildPlugin({ | |
| ...{ | |
| entryContentBeforeHooks: [ |
A powerful file-based routing plugin for React Router v7 that enables automatic route generation based on your file system structure, with full support for layouts, loaders, actions, and error boundaries.
react-router7.0.0 or highervite6.0.0 or higherglobpackage (dev dependency)
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 { parentPort } from 'node:worker_threads'; | |
| const heavyTask = (): string => { | |
| return "Task Completed in TypeScript! and it also works after built Javascript!"; | |
| }; | |
| parentPort?.postMessage(heavyTask()); |
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 "tailwindcss"; | |
| /* ============================================ | |
| Border Gradient Utilities for Tailwind CSS 4 | |
| ============================================ */ | |
| /* 1. Linear Gradients - 8 Directions */ | |
| @utility border-linear-to-t { | |
| --tw-border-gradient-position: to top; | |
| border-image-source: linear-gradient(var(--tw-border-gradient-position), var(--tw-border-gradient-stops)); |
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
| curl --location --request POST 'https://grok.com/rest/app-chat/conversations/new' \ | |
| --header 'accept: */*' \ | |
| --header 'accept-language: en-GB,en;q=0.9' \ | |
| --header 'content-type: application/json' \ | |
| --header 'origin: https://grok.com' \ | |
| --header 'priority: u=1, i' \ | |
| --header 'referer: https://grok.com/' \ | |
| --header 'sec-ch-ua: "Not/A)Brand";v="8", "Chromium";v="126", "Brave";v="126"' \ | |
| --header 'sec-ch-ua-mobile: ?0' \ | |
| --header 'sec-ch-ua-platform: "macOS"' \ |
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 client'; | |
| import { | |
| AlertDialog, | |
| AlertDialogContent, | |
| AlertDialogDescription, | |
| AlertDialogFooter, | |
| AlertDialogHeader, | |
| AlertDialogTitle, | |
| } from '@/components/ui/alert-dialog'; |
NewerOlder