Skip to content

Instantly share code, notes, and snippets.

View tranduybau's full-sized avatar
🤩
Working is happy

Báu Trần Duy tranduybau

🤩
Working is happy
View GitHub Profile
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active June 27, 2026 05:43
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@Danziger
Danziger / interval.hook.ts
Last active November 22, 2025 19:58
✨ Declarative useTimeout (setTimeout), useInterval (setInterval) and useThrottledCallback (useCallback combined with setTimeout) hooks for React (in Typescript)
import React, { useEffect, useRef } from 'react';
/**
* Use setInterval with Hooks in a declarative way.
*
* @see https://stackoverflow.com/a/59274004/3723993
* @see https://overreacted.io/making-setinterval-declarative-with-react-hooks/
*/
export function useInterval(
callback: React.EffectCallback,