Skip to content

Instantly share code, notes, and snippets.

View foriequal0's full-sized avatar
๐Ÿค“
I may be slow to respond.

SeongChan Lee foriequal0

๐Ÿค“
I may be slow to respond.
  • Seoul, South Korea
  • 18:12 (UTC +09:00)
View GitHub Profile
@foriequal0
foriequal0 / ํ•œ๊ธ€์ž์†Œ๋ถ„๋ฆฌ์กฐํ•ฉ.js
Last active January 20, 2016 20:17
ํ•œ๊ธ€ ์ž์†Œ ๋ถ„๋ฆฌ ์กฐํ•ฉ
var hangul = (function() {
var ChoSeong = [
0x3131, 0x3132, 0x3134, 0x3137, 0x3138,
0x3139, 0x3141, 0x3142, 0x3143, 0x3145,
0x3146, 0x3147, 0x3148, 0x3149, 0x314a,
0x314b, 0x314c, 0x314d, 0x314e
];
var JungSeong = [
0x314f, 0x3150, 0x3151, 0x3152, 0x3153,
@foriequal0
foriequal0 / ์•ผ๋ฏผ์ •์Œ.js
Last active January 24, 2017 07:14
์•ผ๋ฏผ์ •์Œ.js
var hangul = (function() {
var ChoSeong = [
0x3131, 0x3132, 0x3134, 0x3137, 0x3138,
0x3139, 0x3141, 0x3142, 0x3143, 0x3145,
0x3146, 0x3147, 0x3148, 0x3149, 0x314a,
0x314b, 0x314c, 0x314d, 0x314e
];
var JungSeong = [
0x314f, 0x3150, 0x3151, 0x3152, 0x3153,
@foriequal0
foriequal0 / heate.rs
Last active November 10, 2016 02:33
Warm heaters for winter.
extern crate rand;
use rand::Rng;
use std::thread;
use std::sync::{Arc};
use std::sync::atomic::{AtomicIsize, Ordering};
use std::iter::FromIterator;
fn main() {
println!("Heater turned on!");
@foriequal0
foriequal0 / code_launcher.sh
Created January 10, 2017 19:47
Unity VSCode Launcher
#!/usr/bin/env bash
# Install VSCode, and add to 'PATH'
# Save this script as code_launcher or something other than 'code'
# Goto 'Unity Preference' -> 'External Tools'
# Set 'External Script Editor' as that code_launcher
# Set 'External Script Editor Args' as '$(File);$(Line);$(ProjectPath)' (without quote)
IFS=';' read -ra ARG <<< "$@"
FILE=${ARG[0]}
@foriequal0
foriequal0 / Continuation Monad.md
Created January 23, 2017 21:21
Continuation Monad

Continuation Monad

์ด์„ฑ์ฐฌ, 2017


Continuation

Continuation ์€ ์ œ์–ด ํ๋ฆ„ ์„ ๊ตฌ์ฒดํ™” ํ•ด first-class citizen์œผ๋กœ ๋‹ค๋ฃฐ ์ˆ˜ ์žˆ๊ฒŒ ํ•œ ์ถ”์ƒ ํ‘œํ˜„.

@foriequal0
foriequal0 / do-you-know-kimchi.user.js
Last active September 21, 2017 02:24
Republic of Korea, Korea, South Korea, ๋Œ€ํ•œ๋ฏผ๊ตญ, ํ•œ๊ตญ, ๋‚จํ•œ ์„ ์ฐพ์•„์„œ ์ž๋™์œผ๋กœ ์„ ํƒํ•ด์ค๋‹ˆ๋‹ค
// ==UserScript==
// @name Do you know Kimchi
// @namespace do-you-know-kimchi.co.kr
// @description Republic of Korea, Korea, South Korea, ๋Œ€ํ•œ๋ฏผ๊ตญ, ํ•œ๊ตญ ์„ ์ฐพ์•„์„œ ์ž๋™์œผ๋กœ ์„ ํƒํ•ด์ค๋‹ˆ๋‹ค
// @include *
// @exclude file://*
// @version 1
// @grant none
// @run-at document-end
// @require https://cdn.rawgit.com/hiddentao/fast-levenshtein/fd716307/levenshtein.min.js
@foriequal0
foriequal0 / yaminjeongeum.user.js
Last active May 20, 2024 05:26
๋ธŒ๋ผ์šฐ์ €์˜ ๋ชจ๋“  ํ…์ŠคํŠธ๋ฅผ ์•ผ๋ฏผ์ •์Œ์œผ๋กœ ๋ฐ”๊ฟ”์ค๋‹ˆ๋‹ค
// ๋ธŒ๋ผ์šฐ์ €์— GreaseMonkey(Firefox) TamperMonkey(Chrome) ์„ ์„ค์น˜ํ•˜๊ณ ,
// https://gist.github.com/foriequal0/154e73d3289d808e8ce94603f5eff6a4/raw/yaminjeongeum.user.js
// ์œ„ ๋งํฌ๋ฅผ ๋ธŒ๋ผ์šฐ์ €์— ์ž…๋ ฅํ•˜๋ฉด ์ž๋™์œผ๋กœ ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์„ค์น˜ํ•˜๊ฒ ๋А๋ƒ๋Š” ์ฐฝ์ด ๋œน๋‹ˆ๋‹ค.
// ==UserScript==
// @name yaminjeongeum
// @namespace yaminjeongeum.kr
// @description ์•ผ๋ฏผ์ •์Œ
// @include *
// @exclude file://*
@foriequal0
foriequal0 / firefox-build-options.sh
Last active November 23, 2018 02:37
firefox buildconfig
/usr/bin/gcc -std=gnu99 \
-Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code \
-Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object \
-Wformat -Wformat-security -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe
/usr/bin/g++ -std=gnu++11 \
-Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code \
-Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object \
-Wformat -Wformat-security -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe \
-Wc++11-compat -Wc++14-compat -Woverloaded-virtual -Wwrite-strings -Wno-invalid-offsetof -fno-rtti -fno-exceptions \
@foriequal0
foriequal0 / lazy-require.lua
Last active June 27, 2020 07:08
lua lazy require
local _require = require
require = function (name)
local function singleton()
local m = _require(name)
singleton = function ()
return m
end
return m
end
@foriequal0
foriequal0 / grad_proj_crawler.py
Last active December 18, 2017 07:16
์กธ์—…ํ”„๋กœ์ ํŠธ ํฌ๋กค๋Ÿฌ
import requests
from bs4 import BeautifulSoup
import urllib3
urllib3.disable_warnings()
HOST=""
LOGIN_PAYLOAD = {
"mode": "login",
"userid": "",
"passwd": "",