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 / cookie.for
Created April 13, 2014 02:47
Google Codejam Qualification Round 2014 / Cookie
@123jimin
123jimin / mine.adb
Created April 13, 2014 02:49
Google Codejam Qualification Round 2014 / Mine
with Ada.Text_IO;
with Ada.Integer_Text_IO;
procedure Mine is
package IO renames Ada.Text_IO;
package IntIO renames Ada.Integer_Text_IO;
type CellValue is ('*', '.', 'c');
type Board is array (Natural range <>, Natural range <>) of CellValue;
@123jimin
123jimin / magic.cob
Created April 13, 2014 02:50
Google Codejam Qualification Round 2014 / Magic
* I studied COBOL for a week... :(
Identification Division.
Program-Id. Codejam-Qualification-A.
Author. Jimin Park.
Data Division.
Working-Storage Section.
01 T PIC 999 Value ZEROS.
01 i PIC 99 Value ZEROS.
01 j PIC 99 Value ZEROS.
@123jimin
123jimin / mine.bf
Created April 13, 2014 02:54
A failed attempt
#!/usr/bin/env beef
:: This only handles the case when (R or C is 1) or M is 0
::::: Memory Map :::::
>X >Y >Z >T >_ >R >C >_ >_ >M >N >P >E >_ >_ >_
::::: Init Literals :::::
+++++ +++++ [
>0 +++++
@123jimin
123jimin / homework.sty
Created September 16, 2014 07:40
My Homework Template
%% Style for homework
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{homework}
\RequirePackage{fancyhdr,enumerate}
\RequirePackage[margin=1in]{geometry}
\RequirePackage{amsmath,amsthm,amssymb,tikz}
\usetikzlibrary{calc,trees,positioning,arrows,fit,shapes}
@123jimin
123jimin / 99.bf
Created March 17, 2015 16:57
99 bottles of beer made with BFMacro
[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>[-]+++++++++>[-]+++++++++>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<<<<<<[>>>>>>>[-]<<<<<[>>>>>+>+<<<<<<-]>>>>>>[<<<<<<+>>>>>>-]<[<<<.>>>[-]]<<.>>>>[-]++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++.+++++.[-]++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.--------.-------.<<[-]<[>+>+<<-]>>[<<+>>-]<[<.>[-]]>>[-]++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.---------.--------------------------------------------------
@123jimin
123jimin / jmap.js
Created September 10, 2015 04:39
Simple Jubeat Fumen Parser
(function(window){
var JMap = function JubeatMap(o, print_min){
var music_title = o.m.title ? o.m.title :
o.s.m ? o.s.m.split('/').pop().split('.')[0] :
o.s.bga ? o.s.bga : "";
this.metadata = {
'music': o.s.m || null, 'bga': o.s.bga || null,
'title': music_title, 'level': o.m.level || 10,
'difficulty': o.m.dif || 3, 'artist': o.m.artist || null,
'jacket': o.m.jacket || null
@123jimin
123jimin / yfr.js
Created December 3, 2015 10:12
Embedded Youtube videos to iframe-based Youtube videos
// ==UserScript==
// @name YouTube Flash Player Replacer
// @namespace http://0xF.kr/script/
// @version 0.1
// @description try to take over the world!
// @author JiminP
// @match https://namu.wiki/w/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
@123jimin
123jimin / adblockblockerbloker.js
Created December 30, 2015 07:32
SDVX.IN Adblock blocker blocker
// ==UserScript==
// @name SDVX.IN ADBLOCK BLOCKER BLOCKER
// @namespace http://0xF.kr/
// @version 0.1
// @description SDVX.IN Adblock blocker blocker
// @author JiminP
// @match http://sdvx.in/*
// @grant none
// ==/UserScript==
/* jshint -W097 */
ํƒœ์ดˆ์— ๊ฐ€๋Š” ๊ฒƒ์ด ๊ต์‹ค ๊ทธ๋ ‡๊ฒŒ ๋งํ•˜๊ธฐ ์ „์— ์•„์ด์นด๋Š” ๋‚ด ์ž๋ฆฌ์—์„œ ๊ทธ์—์„œ ๋“ค์–ด๊ฐ”๋‹ค.
"......์œผ์Œ......."
"--์ด๋Ÿฐ ๋ชฉ์†Œ๋ฆฌ๊ฐ€ ์ „ํ˜€ ๋“ค์—ˆ๋‹ค.
"......."
๊ทธ๋ฆฌ๊ณ  ๊ทธ๊ฒƒ์„ ํ•œ ์ˆœ๊ฐ„....... ์•„๋ฌด๋ž˜๋„ ํ•˜๋‚˜๋ฅผ ๋ณด์—ฌ์ง„ ํ›„, ์†”์งํžˆ ๋ณธ ์‹œ๋„๋Š” ๊ทธ๋ ‡๊ฒŒ ๋งํ–ˆ๋‹ค.
"......ํ•˜์ง€๋งŒ ๊ทผ ์ƒ ์ธ์‹œ๋Š” ์‹œ๋„๋Š” ๊ณ ๊ฐœ๋ฅผ ํ•˜๋Š” ๊ฒƒ์ด ์ด์–ด์ง„ ํ•œ ๊ฐ€์Šด ํ™•์ธ์ด ๊ทธ๋ ‡๊ฒŒ ๋งํ•˜๋ฉด์„œ ๋งํ•˜๋ฉด์„œ ๊ทธ๋ ‡์ง€ ์•Š์•˜๋‹ค.
"๊ทธ๋ž˜๋„ ๊ณ ๊ฐœ๋ฅผ ๋Œ๋ ธ๋‹ค.
"์ด๊ฑธ ๋ณด์˜€๋‹ค.
"--"์–ด, ์–ด, ์•„๋ฌด๋ฆฌ ์‹œ๋„์˜ ๋ชฉ์†Œ๋ฆฌ๊ฐ€ ํ•œ ๋ฒˆ ๋ง์„ ๊ทธ๋ ‡๊ฒŒ ํ•œ ๊ฒƒ ๊ฐ™์•˜๋‹ค.
"์–ด์„œ ์ž์‹ ์˜ ๋ถ„์œ„๊ธฐ๊ฐ€ ๋งํ•˜๋ฉด์„œ ๊ทธ๋ ‡๊ฒŒ ์ •๋ น์„ ์žˆ๋Š” ๊ฒƒ์ด ๋‚ด๋ฐ€์—ˆ๋‹ค.