์ด์ฑ์ฐฌ, 2017
Continuation ์ ์ ์ด ํ๋ฆ ์ ๊ตฌ์ฒดํ ํด first-class citizen์ผ๋ก ๋ค๋ฃฐ ์ ์๊ฒ ํ ์ถ์ ํํ.
| 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, |
| 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, |
| 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!"); |
| #!/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]} |
| // ==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 |
| // ๋ธ๋ผ์ฐ์ ์ GreaseMonkey(Firefox) TamperMonkey(Chrome) ์ ์ค์นํ๊ณ , | |
| // https://gist.github.com/foriequal0/154e73d3289d808e8ce94603f5eff6a4/raw/yaminjeongeum.user.js | |
| // ์ ๋งํฌ๋ฅผ ๋ธ๋ผ์ฐ์ ์ ์ ๋ ฅํ๋ฉด ์๋์ผ๋ก ์คํฌ๋ฆฝํธ๋ฅผ ์ค์นํ๊ฒ ๋๋๋ ์ฐฝ์ด ๋น๋๋ค. | |
| // ==UserScript== | |
| // @name yaminjeongeum | |
| // @namespace yaminjeongeum.kr | |
| // @description ์ผ๋ฏผ์ ์ | |
| // @include * | |
| // @exclude file://* |
| /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 \ |
| local _require = require | |
| require = function (name) | |
| local function singleton() | |
| local m = _require(name) | |
| singleton = function () | |
| return m | |
| end | |
| return m | |
| end |
| import requests | |
| from bs4 import BeautifulSoup | |
| import urllib3 | |
| urllib3.disable_warnings() | |
| HOST="" | |
| LOGIN_PAYLOAD = { | |
| "mode": "login", | |
| "userid": "", | |
| "passwd": "", |