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 / 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 / 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 / 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 / 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 / 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 / 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 / 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 / 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