Skip to content

Instantly share code, notes, and snippets.

View 123jimin's full-sized avatar
๐Ÿ 
Working from home

Jimin Park 123jimin

๐Ÿ 
Working from home
View GitHub Profile
@123jimin
123jimin / eagate-session-id-extractor.js
Last active March 30, 2025 09:50
M573 Session ID Extractor
// ==UserScript==
// @name 573 Session ID Extractor
// @namespace https://r-g.kr/
// @version 2025-03-30
// @description Extracts 573 session ID. Warning: SESSION ID MUST NOT BE LEAKED!
// @author Jimin Park
// @match https://p.eagate.573.jp/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=p.eagate.573.jp
// @grant GM_cookie
// @run-at document-end
@123jimin
123jimin / laser-color-shifter.js
Last active December 25, 2024 14:07
SDVXIndex Laser Color Shifter
// ==UserScript==
// @name SDVXIndex Laser Color Shifter
// @namespace https://0xF.kr/
// @version v1.0.0
// @downloadURL https://gist.githubusercontent.com/123jimin/b0cd00970da606eb1222d48f4f1c207b/raw/f444463b985313e3784c95ccc62400e7a792bd2f/laser-color-shifter.js
// @description Swaps Laser Color
// @author JiminP
// @match https://sdvxindex.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=sdvxindex.com
// @grant none
@123jimin
123jimin / sdclient.js
Last active July 29, 2023 20:49
StableDiffusion Client
class StableDiffusionClient {
constructor(fetch) {
this.fetch = fetch;
this.settings = {};
}
get width() { return this.settings.width || 768; }
get height() { return this.settings.height || 512; }
parse(prompt, preset_pos, preset_neg) {
@123jimin
123jimin / snake.py
Created February 15, 2023 09:49
Snake Puzzle Solver
from ortools.sat.python import cp_model
class SolverCallback(cp_model.CpSolverSolutionCallback):
def __init__(self, vars):
super().__init__()
self.example_solutions = list()
self.num_solutions = 0
self.max_keep_solutions = 100
self.max_show_solutions = 100
self.vars = vars
@123jimin
123jimin / pms_block.js
Last active February 28, 2019 07:36
A simple userscript for automatically closing KAIST PMS install page
// ==UserScript==
// @name KAIST PMS Blocker
// @namespace http://0xF.kr/
// @version 0.1
// @description Automatically closes PMS page
// @author JiminP
// @match http://143.248.113.1/CPopupRequest
// @grant none
// ==/UserScript==
@123jimin
123jimin / is_this_easy_mode.lua
Last active December 16, 2016 00:13
Is this easy mode? - The answer depends on your goal [Recursed custom map]
local metal = { ["7"] = "panel_ul", ["8"] = "panel_u", ["9"] = "panel_ur",
["4"] = "panel_l", ["5"] = "panel_c", ["6"] = "panel_r",
["1"] = "panel_dl", ["2"] = "panel_d", ["3"] = "panel_dr",
["<"] = "panel_fs", [">"] = "panel_bs",
E = "panel_k1", F = "panel_k2", B = "panel_k3",
o = "block", ["="] = "girder_h", ["|"] = "girder_v",
w = "warning", [":"] = "back", ["'"] = "back_d", ["-"] = "ledge" }
local black = { o = "black", ["<"] = "black_ul", [">"] = "black_ur",
s = "black_s", ["-"] = "black_ledge" }
@123jimin
123jimin / too_much_secure.lua
Created December 8, 2016 20:35
Too much secure - my first Recursed map!
local metal = { ["7"] = "panel_ul", ["8"] = "panel_u", ["9"] = "panel_ur",
["4"] = "panel_l", ["5"] = "panel_c", ["6"] = "panel_r",
["1"] = "panel_dl", ["2"] = "panel_d", ["3"] = "panel_dr",
["<"] = "panel_fs", [">"] = "panel_bs",
E = "panel_k1", F = "panel_k2", B = "panel_k3",
o = "block", ["="] = "girder_h", ["|"] = "girder_v",
w = "warning", [":"] = "back", ["'"] = "back_d", ["-"] = "ledge" }
function start()
ApplyTiles(metal, 0, 0, [[
@123jimin
123jimin / classify.js
Created August 24, 2016 10:39
KONAMI eAMUSEMENT Visual Verification Image Classifier
#!/usr/bin/env node
/*
Instruction
1. Download raw (100x100 png) image files.
2. Execute ./classify.js foo.png bar.png baz.png
3. The output is the concatenation of characters reperesenting classes of each images.
4. ...?
5. Profit!!!
ํƒœ์ดˆ์— ๊ฐ€๋Š” ๊ฒƒ์ด ๊ต์‹ค ๊ทธ๋ ‡๊ฒŒ ๋งํ•˜๊ธฐ ์ „์— ์•„์ด์นด๋Š” ๋‚ด ์ž๋ฆฌ์—์„œ ๊ทธ์—์„œ ๋“ค์–ด๊ฐ”๋‹ค.
"......์œผ์Œ......."
"--์ด๋Ÿฐ ๋ชฉ์†Œ๋ฆฌ๊ฐ€ ์ „ํ˜€ ๋“ค์—ˆ๋‹ค.
"......."
๊ทธ๋ฆฌ๊ณ  ๊ทธ๊ฒƒ์„ ํ•œ ์ˆœ๊ฐ„....... ์•„๋ฌด๋ž˜๋„ ํ•˜๋‚˜๋ฅผ ๋ณด์—ฌ์ง„ ํ›„, ์†”์งํžˆ ๋ณธ ์‹œ๋„๋Š” ๊ทธ๋ ‡๊ฒŒ ๋งํ–ˆ๋‹ค.
"......ํ•˜์ง€๋งŒ ๊ทผ ์ƒ ์ธ์‹œ๋Š” ์‹œ๋„๋Š” ๊ณ ๊ฐœ๋ฅผ ํ•˜๋Š” ๊ฒƒ์ด ์ด์–ด์ง„ ํ•œ ๊ฐ€์Šด ํ™•์ธ์ด ๊ทธ๋ ‡๊ฒŒ ๋งํ•˜๋ฉด์„œ ๋งํ•˜๋ฉด์„œ ๊ทธ๋ ‡์ง€ ์•Š์•˜๋‹ค.
"๊ทธ๋ž˜๋„ ๊ณ ๊ฐœ๋ฅผ ๋Œ๋ ธ๋‹ค.
"์ด๊ฑธ ๋ณด์˜€๋‹ค.
"--"์–ด, ์–ด, ์•„๋ฌด๋ฆฌ ์‹œ๋„์˜ ๋ชฉ์†Œ๋ฆฌ๊ฐ€ ํ•œ ๋ฒˆ ๋ง์„ ๊ทธ๋ ‡๊ฒŒ ํ•œ ๊ฒƒ ๊ฐ™์•˜๋‹ค.
"์–ด์„œ ์ž์‹ ์˜ ๋ถ„์œ„๊ธฐ๊ฐ€ ๋งํ•˜๋ฉด์„œ ๊ทธ๋ ‡๊ฒŒ ์ •๋ น์„ ์žˆ๋Š” ๊ฒƒ์ด ๋‚ด๋ฐ€์—ˆ๋‹ค.
@123jimin
123jimin / adblockblockerbloker.js
Created December 30, 2015 07:32
SDVX.IN Adblock blocker blocker
// ==UserScript==
// @name SDVX.IN ADBLOCK BLOCKER BLOCKER
// @namespace http://0xF.kr/
// @version 0.1
// @description SDVX.IN Adblock blocker blocker
// @author JiminP
// @match http://sdvx.in/*
// @grant none
// ==/UserScript==
/* jshint -W097 */