Skip to content

Instantly share code, notes, and snippets.

// 이 페이지 팝업으로 열 때
// "width=831, height=1754, top=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no"
// [Toss Payments] 2025-04부터는 (신)상점관리자 창으로 REDIRECT
import { redirect } from "next/navigation"
export default async function TossPaymentsFreeInstallment() {
return redirect(
"https://consumer.tosspayments.com/notice/free-installment",
)
// ==UserScript==
// @name SparxMaths Questions Download
// @namespace https://maths.sparx-learning.com/
// @version 2025-03-26
// @description Download every questions into screenshots.
// @author Minsu Kim <minsu_kim@bishanoi.net>
// @match https://www.sparxmaths.uk/student/*
// @match https://maths.sparx-learning.com/student/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=maths.sparx-learning.com
// @grant none
@kms0219kms
kms0219kms / converter.py
Created February 12, 2025 12:29
Image converter to WEBP using Python + Pillow
from os import listdir, makedirs
from os.path import exists, dirname, realpath, splitext, join
from PIL import Image
__dirname: str = dirname(realpath(__file__))
if not exists(join(__dirname, "image-input")):
print('Please create a folder named "image-input" and put your images in it.')
exit()
@kms0219kms
kms0219kms / yt-loudness.user.js
Created February 26, 2024 12:15 — forked from fa7ad/yt-loudness.user.js
Disable youtube volume normalization (allow true video 100% volume)
// ==UserScript==
// @name YouTube Disable Normalization
// @namespace https://gist.github.com/fa7ad/fa995474f5cb9fe91fb209686881373d
// @version 0.2
// @description Allows true 100% volume on youtube videos.
// @author Wouter Gerarts
// @match https://www.youtube.com/*
// @match https://youtube.com/*
// @grant none
// ==/UserScript==