Skip to content

Instantly share code, notes, and snippets.

View seraekim's full-sized avatar

Serae Kim seraekim

View GitHub Profile
@seraekim
seraekim / MultiCoprime.java
Created November 28, 2017 11:34
let's get multiple coprime with combinations and divisors.
package org.srkim.test;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
/**
* let's get multiple coprime with combinations and divisors.
*
@seraekim
seraekim / srkim-smtp.js
Created November 28, 2017 11:24
front javascript get/post request
/**
*
* @author srkim
*/
cc = {
send: function (o, a) {
var h = Math.floor(1e6 * Math.random() + 1),
i = o.url;
i += "?a=" + encodeURIComponent(o.a), i += "&b=" + encodeURIComponent(o.b), i += "&c=" + encodeURIComponent(o.c), i += "&d=" + encodeURIComponent(o.d), i += "&cb=" + h, cc.ajax(i, a)
},
@seraekim
seraekim / LambertConformalConicProj.java
Last active June 2, 2019 14:10
convert among LambertConformalConic XY Grid, Longitude/Latitude and Address
package org.srkim.test;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLEncoder;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;