Skip to content

Instantly share code, notes, and snippets.

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

Hyeon-hak Kim ooMia

๐Ÿ 
Working from home
View GitHub Profile
@ooMia
ooMia / woowa-style.xml
Created August 22, 2025 14:55
woowa-style java format rules
<?xml version="1.0" encoding="utf-8"?>
<profiles version="21">
<profile kind="CodeFormatterProfile" name="WootecoStyle" version="21">
<setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
<setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
<setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
<setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
<setting id="org.eclipse.jdt.core.formatter.text_block_indentation" value="0"/>
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
<setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
@ooMia
ooMia / Playback video [ play.sooplive.co.kr ]-2025-06-26.user.js
Last active June 26, 2025 09:16
Playback video [ play.sooplive.co.kr ]
// ==UserScript==
// @name Playback video [ play.sooplive.co.kr ]
// @namespace http://tampermonkey.net/
// @version 2025-06-26
// @description Playback to latest video
// @author ooMia
// @match https://play.sooplive.co.kr/*
// @icon https://play-lh.googleusercontent.com/BQ66ZXHi_oKNOXQCfiED3WizFpxZlmG7YCf0bHaFG8o9i0tE4_z9WDJ-J6z2pGA4VQ
// @grant none
// ==/UserScript==
@ooMia
ooMia / fp_practice.js
Created May 31, 2025 14:22
fp_practice
// ===== FP (ํ•จ์ˆ˜ํ˜•): ์ˆœ์ˆ˜ ํ•จ์ˆ˜๋“ค =====
const Recipes = {
cookSteak: (ingredients) => `${ingredients} ์Šคํ…Œ์ดํฌ`,
cookPasta: (ingredients) => `${ingredients} ํŒŒ์Šคํƒ€`,
cookSalad: (ingredients) => `${ingredients} ์ƒ๋Ÿฌ๋“œ`,
};
const Platings = {
fancy: (dish) => `๊ณ ๊ธ‰ ${dish}`,
simple: (dish) => `์ผ๋ฐ˜ ${dish}`,
// ==UserScript==
// @name Block AD [ erdcloud.com ]
// @namespace https://www.erdcloud.com/
// @version 2025-05-09
// @description maximize canvas
// @author ooMia
// @match https://www.erdcloud.com/d/*
// @icon data:image/svg+xml,%3csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='192' height='192'%3e %3cpath d='M0 0 C1.04349609 -0.01224609 2.08699219 -0.02449219 3.16210938 -0.03710938 C13.34627415 -0.0560743 25.19267432 0.28891142 33.09375 7.60546875 C38.20398162 13.38418997 39.03210462 18.71125709 38.8671875 26.1875 C38.09289365 33.81131632 34.21578575 37.99572865 28.46484375 42.7421875 C26.87447388 43.95047672 25.22436069 45.07959287 23.5625 46.1875 C23.91965088 46.6501123 24.27680176 47.11272461 24.64477539 47.58935547 C26.30714069 49.74531497 27.9660719 51.90389476 29.625 54.0625 C30.18638672 54.78953125 30.74777344 55.5165625 31.32617188 56.265625 C35.5812962 61.80944412 39.54507806 67.4483258 43.5625 73.1875 C43.8925 49.4275 44.2225 25.6675 44.5625 1.1
@ooMia
ooMia / README.md
Created March 2, 2025 23:21
[git custom command] git-undo

git-undo

git-undo๋Š” ๋งˆ์ง€๋ง‰ ์ปค๋ฐ‹์„ ๋˜๋Œ๋ฆฌ๋Š” ๊ฐ„๋‹จํ•œ ์Šคํฌ๋ฆฝํŠธ์ž…๋‹ˆ๋‹ค.

์‚ฌ์šฉ๋ฒ•

  1. git-undo ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.
  2. ํ˜„์žฌ HEAD์˜ git ๋กœ๊ทธ๊ฐ€ ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค.
  3. ๋งˆ์ง€๋ง‰ ์ปค๋ฐ‹์„ ๋˜๋Œ๋ฆด ๊ฒƒ์ธ์ง€ ํ™•์ธ ๋ฉ”์‹œ์ง€๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.
  4. y๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๋งˆ์ง€๋ง‰ ์ปค๋ฐ‹์ด ๋˜๋Œ๋ ค์ง‘๋‹ˆ๋‹ค. n์„ ์ž…๋ ฅํ•˜๋ฉด ์ž‘์—…์ด ์ทจ์†Œ๋ฉ๋‹ˆ๋‹ค.
@ooMia
ooMia / Block AD [ vod.sooplive.co.kr ]-2025-05-09.user.js
Last active May 14, 2025 22:07
Block AD [ vod.sooplive.co.kr ]
// ==UserScript==
// @name Block AD [ vod.sooplive.co.kr ]
// @namespace https://vod.sooplive.co.kr/
// @version 2025-05-09
// @description Block ad from soop
// @author Mia
// @match https://vod.sooplive.co.kr/player/*
// @icon data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' viewBox='0 0 22 22'%3e%3cpath fill='%237398FF' fill-rule='evenodd' d='M5.167 2A4.167 4.167 0 0 0 1 6.167v8.791a4.167 4.167 0 0 0 4.167 4.167h10.541a4.167 4.167 0 0 0 4.167-4.167V6.167A4.167 4.167 0 0 0 15.708 2H5.167zm.432 1.26a.5.5 0 0 0-.877.48l.936 1.71h-3.12a.5.5 0 1 0 0 1h15.8a.5.5 0 0 0 0-1h-1.81l-1.2-2.19a.5.5 0 1 0-.877.48l.937 1.71h-3.73l-1.2-2.19a.5.5 0 1 0-.876.48l.936 1.71h-3.72l-1.2-2.19zm7.482 8.21-2.76-2.071a1.046 1.046 0 0 0-1.674.837v4.14a1.047 1.047 0 0 0 1.674.838l2.76-2.07a1.048 1.048 0 0 0 0-1.675z' clip-rule='evenodd'/%3e%3c/svg%3e
// @grant none
// ==/UserScript==
@ooMia
ooMia / Paste chat [ play.afreecatv.com ]-2024-06-09.user.js
Created January 19, 2025 15:31
Paste chat [ play.afreecatv.com ]
// ==UserScript==
// @name Paste chat [ play.afreecatv.com ]
// @namespace http://tampermonkey.net/
// @version 2024-06-09
// @description Enable Paste in chatting
// @author ooMia
// @match https://play.sooplive.co.kr/*
// @icon https://play-lh.googleusercontent.com/BQ66ZXHi_oKNOXQCfiED3WizFpxZlmG7YCf0bHaFG8o9i0tE4_z9WDJ-J6z2pGA4VQ=w240-h480-rw
// @grant none
// ==/UserScript==
@ooMia
ooMia / Block AD [ play.sooplive.co.kr ]-2025-06-26.user.js
Last active June 26, 2025 04:45
Block AD [ play.sooplive.co.kr ]
// ==UserScript==
// @name Block AD [ play.sooplive.co.kr ]
// @namespace http://tampermonkey.net/
// @version 2025-06-26
// @description Block ad from afreecatv
// @author ooMia
// @match https://play.sooplive.co.kr/*
// @icon https://play-lh.googleusercontent.com/BQ66ZXHi_oKNOXQCfiED3WizFpxZlmG7YCf0bHaFG8o9i0tE4_z9WDJ-J6z2pGA4VQ
// @grant none
// ==/UserScript==
@ooMia
ooMia / DoubleLinkedListExample.rs
Created November 12, 2024 09:10
Rust DoubleLinkedList Example
use std::cell::RefCell;
use std::rc::Rc;
type Link = Option<Rc<RefCell<Node>>>;
struct Node {
value: String,
prev: Link,
next: Link,
}
@ooMia
ooMia / follower-following-diff.js
Last active October 8, 2024 17:46
Search followings who didn't follow me (both should under 100)
const user_name = "ooMIa";
const api_key = "";
followers = {};
detected = [];
//curl -L \
// -H "Accept: application/vnd.github+json" \
// -H "Authorization: Bearer <YOUR-TOKEN>" \
// -H "X-GitHub-Api-Version: 2022-11-28" \