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
java.lang.Throwable | |
at example.ExampleKt.main(Example.kt:11) | |
at example.ExampleKt.main(Example.kt) |
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
2025-09-17 11:16:02.703 [info] [main] Log level: Info | |
2025-09-17 11:16:02.703 [info] [main] Validating found git in: "C:\Program Files\Git\cmd\git.exe" | |
2025-09-17 11:16:02.703 [info] [main] Validating found git in: "C:\Program Files (x86)\Git\cmd\git.exe" | |
2025-09-17 11:16:02.703 [info] [main] Validating found git in: "C:\Program Files\Git\cmd\git.exe" | |
2025-09-17 11:16:02.703 [info] [main] Validating found git in: "C:\Users\lisonge\AppData\Local\Programs\Git\cmd\git.exe" | |
2025-09-17 11:16:05.675 [info] [main] Log level: Info | |
2025-09-17 11:16:05.675 [info] [main] Validating found git in: "C:\Program Files\Git\cmd\git.exe" | |
2025-09-17 11:16:05.675 [info] [main] Validating found git in: "C:\Program Files (x86)\Git\cmd\git.exe" | |
2025-09-17 11:16:05.676 [info] [main] Validating found git in: "C:\Program Files\Git\cmd\git.exe" | |
2025-09-17 11:16:05.676 [info] [main] Validating found git in: "C:\Users\lisonge\AppData\Local\Programs\Git\cmd\git.exe" |
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
export {}; | |
import { shallowRef, onScopeDispose } from 'vue'; | |
async function* timer(delay: number) { | |
let breaked = false; | |
const stop = () => (breaked = true); | |
for (let i = 1, st = performance.now(), et = st, errorMs = 0; ; i++) { | |
await new Promise((r) => setTimeout(r, delay - errorMs)); | |
yield stop; | |
if (breaked) return; | |
et = performance.now(); |
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 { isEqual } from 'lodash-es' | |
import { customRef, computed, type ShallowRef } from 'vue' | |
export const useEqualRef = <T>(initValue: T): ShallowRef<T> => { | |
return customRef((track, trigger) => { | |
let value = initValue | |
return { | |
get() { | |
track() | |
return value |
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 androidx.compose.foundation.background | |
import androidx.compose.foundation.layout.Arrangement | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.Column | |
import androidx.compose.foundation.layout.Row | |
import androidx.compose.foundation.layout.Spacer | |
import androidx.compose.foundation.layout.aspectRatio | |
import androidx.compose.foundation.layout.fillMaxHeight |
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
@Composable | |
fun LazyItemScope.inOutAnimateItem(): Modifier { | |
return Modifier.animateItem( | |
fadeInSpec = spring(stiffness = Spring.StiffnessMediumLow), | |
placementSpec = spring( | |
stiffness = Spring.StiffnessMediumLow, | |
visibilityThreshold = IntOffset.VisibilityThreshold | |
), | |
fadeOutSpec = spring(stiffness = Spring.StiffnessMediumLow) | |
) |
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
// ==UserScript== | |
// @name fix-iqiyi-chatgpt | |
// @namespace npm/vite-plugin-monkey | |
// @version 0.0.0 | |
// @author monkey | |
// @icon https://vitejs.dev/logo.svg | |
// @match http://chat.qiyi.domain/* | |
// @run-at document-end | |
// @noframes | |
// ==/UserScript== |
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
interface GmResponseTypeMap { | |
text: string; | |
json: any; | |
arraybuffer: ArrayBuffer; | |
blob: Blob; | |
document: Document; | |
stream: ReadableStream<Uint8Array>; | |
} | |
type GmResponseType = keyof GmResponseTypeMap; |
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
{ | |
id: 233, | |
name: 'Subscription', | |
version: 0, | |
author: 'author', | |
updateUrl: 'https://gist.github.com/lisonge/3f5693182ad4ef5e307be760dba22bcb/raw/gkd.json5', | |
checkUpdateUrl: 'https://gist.github.com/lisonge/3f5693182ad4ef5e307be760dba22bcb/raw/gkd.json5', | |
supportUri: 'https://gkd.li/', | |
categories: [], | |
globalGroups: [], |
NewerOlder