Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ludorumjeoun on github.
  • I am ludorum (https://keybase.io/ludorum) on keybase.
  • I have a public key ASCFwwvnd_HimhZA5jK52CA9uXvygdMZFdiXlDG0phlhewo

To claim this, I am signing this object:

@ludorumjeoun
ludorumjeoun / Finder.java
Created March 29, 2016 07:16
GSON 버전
package com.whoopersoft.example;
import com.google.gson.Gson;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedHashMap;
@ludorumjeoun
ludorumjeoun / Finder.java
Created March 4, 2016 09:14
Finder.java
package com.example.util;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
@ludorumjeoun
ludorumjeoun / sample.html
Last active April 26, 2024 08:47
md5 utf8_encode 의존성 제거함.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<link rel="stylesheet" href="">
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="simplate.js"></script>
<script type="text/javascript">
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript" src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
<script type="text/javascript">
$.input = function(key, defaultValue, queryString) {
if (!queryString) {
queryString = location.search;
}
@ludorumjeoun
ludorumjeoun / ios_iap_readable.js
Created August 29, 2014 02:40
iOS Receipt to Readable
function hex2a(hexx) {
var hex = hexx.toString();//force conversion
var str = '';
for (var i = 0; i < hex.length; i += 2)
str += String.fromCharCode(parseInt(hex.substr(i, 2), 16));
return str;
}
atob(hex2a(text.replace(/<|>|\s/g,"")).replace(/{|}/g,"").split(";")[1].split("=")[1].replace(/"|\s/g,""))
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Language" content="en">
<meta name="viewport" content="width=device-width, user-scalable=no, inital-scale=1">
<title>Whoopersoft IP Detected</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
@ludorumjeoun
ludorumjeoun / ReadExcel.php
Created May 15, 2014 09:36
PHPExcel을 이용하여, 엑셀 파싱하기.
<?php
public function fire($filepath)
{
/********************************************************************************/
/* 시트 읽어오기
/********************************************************************************/
try {
$inputFileType = PHPExcel_IOFactory::identify($filepath);
$objReader = PHPExcel_IOFactory::createReader($inputFileType);
$objPHPExcel = $objReader->load($filepath);