This file contains 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
<script defer src='https://my.backend.io/v1/library/customer-xyz123/ /> |
This file contains 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 { getCalApi } from "@calcom/embed-react" | |
import { useRef, useEffect } from "react" | |
const useCalDotCom = (namespace: string, link: string, config: object) => { | |
const calRef = useRef<any>(null) | |
useEffect(() => { | |
const initCal = async () => { | |
const cal = await getCalApi() |
This file contains 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
// Configuration object for the search | |
const searchConfig = { | |
searchCriteria: { user: { id: true, email: true } }, // What we're looking for | |
maxDepth: 50, // How deep to search in the tree | |
stopAfterFirst: false, // Whether to stop after finding the first match | |
searchPaths: ["memoizedProps", "memoizedState"], // Where to look in each node | |
mainSelector: "#__next", // The root element of our React app | |
callback: (matchingObjects) => { | |
matchingObjects.forEach(({ matchingObject, fiberNode }) => { | |
console.log("Found matching object:", matchingObject); |
This file contains 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 DeepSeek Auto-Refresh on Server Busy | |
// @namespace Violentmonkey Scripts | |
// @match https://chat.deepseek.com/a/chat/* | |
// @grant none | |
// @version 1.1 | |
// @author Doug Silkstone <[email protected]> | |
// @description Auto-clicks refresh button when server is busy | |
// ==/UserScript== |