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 / forbidden.dump
Created March 27, 2014 03:58
Dump of forbidden char
FORBIDDEN_CHAR | 00 00 00 00 00 00 00 00 58 00 00 00 2F 00 00 00 25 00 29 00 2C 00 2E 00 3A 00 3B 00 3E 00 3F 00 5D 00 5E 00 60 00 7D 00 7E 00 B0 00 B7 00 19 20 1D 20 24 20 25 20 26 20 30 20 31 20 32 20 33 20 34 20 35 20 36 20 37 20 03 21 09 21 01 30 02 30 03 30 05 30 09 30 0B 30 0D 30 0F 30 11 30 15 30 17 30 19 30 1B 30 41 30 43 30 45 30 47 30 49 30 63 30 83 30 85 30 87 30 8E 30 9B 30 9C 30 9D 30 9E 30 A1 30 A3 30 A5 30 A7 30 A9 30 C3 30 E3 30 E5 30 E7 30 EE 30 F5 30 F6 30 FB 30 FC 30 FD 30 FE 30 01 FF 05 FF 09 FF 0C FF 0E FF 1A FF 1B FF 1E FF 1F FF 3D FF 3E FF 40 FF 5D FF 5E FF 65 FF 24 00 3C 00 5B 00 5C 00 7B 00 A2 00 A3 00 A4 00 A5 00 A7 00 F2 09 F3 09 3F 0E 18 20 1C 20 A0 20 A1 20 A2 20 A3 20 A4 20 A5 20 A6 20 A7 20 A8 20 A9 20 AA 20 AB 20 AC 20 08 30 0A 30 0C 30 0E 30 10 30 14 30 16 30 18 30 1A 30 04 FF 08 FF 1C FF 3B FF 3C FF 5B FF E0 FF E1 FF E5 FF E6 FF
<FORBIDDEN Id="0">IAA=</FORBIDDEN>
<FORBIDDEN Id="1">IAA=</FORBIDDEN>
<FORBIDDEN Id="2">JQApACwALgA6ADsAPgA/AF0AXgBgAH0AfgCwALcAGSAdICQgJSAmIDAgMSAy
@123jimin
123jimin / war.ll
Created April 13, 2014 02:45
Google Codejam Qualification Round 2014 / War
%char = type i8
%int = type i32
@casef = internal constant [17 x %char] c"Case #%d: %d %d\0A\00"
@finf = internal constant [3 x %char] c"%f\00"
@dinf = internal constant [3 x %char] c"%d\00"
@doutf = internal constant [4 x %char] c"%d\0A\00"
@foutf = internal constant [4 x %char] c"%f\0A\00"
declare %int @printf(%char* noalias nocapture, ...)
@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 */