Skip to content

Instantly share code, notes, and snippets.

View SkyLightQP's full-sized avatar
🍀

Daegyeom Ha SkyLightQP

🍀
View GitHub Profile
@BumgeunSong
BumgeunSong / SKILL.md
Last active April 21, 2026 13:41
crig-concept-learning
name crig-concept-learning
description Helps build deep understanding of any concept by scaffolding its structure (rigging) and crystallizing it into a seed sentence. Use when learning something new, feeling stuck while understanding a concept, or wanting to truly own an idea. Triggered by phrases like "이해하고 싶어", "그려지지 않아", "왜 필요해?", "내 것으로 만들고 싶어", "정리해봐", "핵심이 뭐야?".
author Jong Taek Oh

Crig (Crystal Rigging)

씨앗: Crig은 개념의 골격을 세워 머릿속에서 돌릴 수 있게 하고, 그것을 다시 씨앗으로 굳히는 것이다.

// ==UserScript==
// @name ASTx2 Emulator
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author @BawAppie
// @match https://*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=ahnlab.com
// @grant none
// ==/UserScript==
@kiwiyou
kiwiyou / baeggro.js
Last active January 14, 2022 13:36
Baekjoon Online Judge Status Offender
// ==UserScript==
// @name Baeggro - BOJ Result Offender
// @match https://www.acmicpc.net/status*
// @grant none
// @version 4.0
// @author kiwiyou <kiwiyou.dev@gmail.com>, RanolP <public.ranolp@gmail.com>
// @downloadURL https://gist.githubusercontent.com/kiwiyou/ffb8beab11cbc64cb696639fd0c984c7/raw/baeggro.js
// @updateURL https://gist.githubusercontent.com/kiwiyou/ffb8beab11cbc64cb696639fd0c984c7/raw/baeggro.js
// ==/UserScript==
@BasixKOR
BasixKOR / gcd.rs
Last active February 23, 2020 09:49
Euclidean algorithm
/// Recursive
fn gcd<T>(a: T, b: T) -> T where T: std::ops::Rem<Output = T> + Eq + From<u8> + Copy {
if b == T::from(0u8) {
a
} else {
gcd(b, a % b)
}
}
/// Iterated
@BasixKOR
BasixKOR / README.md
Last active February 15, 2020 07:55
Handling codepage

Normalizing Codepage in Node.js

Only tested in CP-949.

Note

  • This will only work on the codepages below.
    • Windows codepages: 874, 1250-1258
    • IBM codepages: 437, 737, 775, 808, 850, 852, 855-858, 860-866, 869, 922, 1046, 1124, 1125, 1129, 1133, 1161-116
  • Multi-byte: 932, 936, 949, 950
@RanolP
RanolP / rust_ps_input.rs
Last active July 10, 2020 04:33
Easier input processing in Rust when Problem Solving
//! This is free and unencumbered software released into the public domain.
//!
//! Anyone is free to copy, modify, publish, use, compile, sell, or
//! distribute this software, either in source code form or as a compiled
//! binary, for any purpose, commercial or non-commercial, and by any
//! means.
//!
//! In jurisdictions that recognize copyright laws, the author or authors
//! of this software dedicate any and all copyright interest in the
//! software to the public domain. We make this dedication for the benefit
@PashCracken
PashCracken / WSL-with-zsh-and-powerlevel9k.png
Last active September 4, 2023 07:28
WSL, zsh and Powerlevel10k
WSL-with-zsh-and-powerlevel9k.png
const int mod = 998244353;
using lint = long long;
lint ipow(lint x, lint p){
lint ret = 1, piv = x;
while(p){
if(p & 1) ret = ret * piv % mod;
piv = piv * piv % mod;
p >>= 1;
}
return ret;
setInterval((_ = Date.now() / 30 % 360) =>
console.clear() || console.log('%c[Warning]', `
font-size: 500%;
font-weight: bold;
color: hsl(${_}, 100%, 90%);
background-color: hsl(${_}, 100%, 30%);
text-shadow: .08em .08em hsl(${_}, 100%, 20%)`), 75)
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 4, 2026 19:15
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites