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
@echo off | |
echo - Notification Area Cleaner Script by Raymond.cc - | |
echo. | |
set regkey=HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify | |
choice /m "Backup TrayNotify key to Desktop" | |
if %errorlevel% == 1 reg export "%regkey%" %userprofile%\desktop\TrayNotifyBackup.reg /y | |
echo. |
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
// original: https://codepen.io/yshlin/pen/ylDEk | |
$particles: 60; | |
$width: 500; | |
$height: 500; | |
// Create the explosion... | |
$box-shadow: (); | |
$box-shadow2: (); | |
@for $i from 0 through $particles { |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] | |
"Scancode Map"=hex:00,00,00,00,00,00,00,00,05,00,00,00,38,00,1d,00,1d,00,38,00,38,e0,1d,e0,1d,e0,38,e0,00,00,00,00 |
#JavaScript - ANSI Escape Codes
ANSI Escape Codes are special characters which can be used to control formatting, colors or other output preferences in a text terminal. Escape Codes are non-printing code and will not appear in the output directly.
- \033 begins the escape sequence
- [ indicates the color
- 33 is the foreground color for yellow
- m indicates the end of the setting
Note: \033[39m is used set the color back to the terminal defult
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 { useRef, useCallback } from "react"; | |
function useInfiniteScroll(doSomething) { | |
const ticking = useRef(false); | |
const enteredRedZone = useRef(false); | |
return useCallback( | |
event => { | |
if (!ticking.current) { | |
event.persist(); |
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
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
sendfile on; | |
keepalive_timeout 65; | |
gzip on; |
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
YAML 57 mins ██████▒░░░░░░░░░░░░░ 16.8% | |
JavaScript 56 mins ██████░░░░░░░░░░░░░░ 16.4% | |
TypeScript 54 mins ██████░░░░░░░░░░░░░░ 16.0% | |
Markdown 50 mins █████▓░░░░░░░░░░░░░░ 14.6% |
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 Twitter Insta Block | |
// @namespace your-namespace-here | |
// @version 3 | |
// @description Adds a "Block User" button on Twitter timeline conversations and blocks the user with one click | |
// @author zoubingwu | |
// @match https://x.com/* | |
// @grant none | |
// ==/UserScript== |
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 jabletv m3u8 getter | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description copy m3u8 url on jabletv | |
// @author You | |
// @match https://jable.tv/videos/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=jable.tv | |
// @grant none | |
// ==/UserScript== |