This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Arrays; | |
import java.util.List; | |
public class checkKoreanVATID{ | |
public static void main(String []args){ | |
System.out.println("6798700433 : " + checkKoreanVATID("6798700433")); | |
System.out.println("6798700434 : " + checkKoreanVATID("6798700434")); | |
System.out.println("6171690224 : " + checkKoreanVATID("6171690224")); | |
System.out.println("1138203635 : " + checkKoreanVATID("1138203635")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$header = array(); | |
$header[] = 'Connection: close'; | |
$params = array('http' => array( | |
'ignore_errors' => TRUE, | |
'protocol_version' => '1.0', | |
'method' => 'GET' | |
)); | |
if ($header !== null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>팝빌 SDK jsp Example.</title> | |
</head> | |
<%@page import="java.util.Map"%> | |
<%@page import="java.util.HashMap"%> | |
<%@page import="java.util.ArrayList"%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.net.URL; | |
import java.io.*; | |
import javax.net.ssl.HttpsURLConnection; | |
public class JavaHttpsExample | |
{ | |
public static void main(String[] args) throws Exception { | |
String httpsURL = "https://auth.linkhub.co.kr/Time"; | |
URL myUrl = new URL(httpsURL); | |
HttpsURLConnection conn = (HttpsURLConnection)myUrl.openConnection(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y groupinstall 'Development Tools' | |
yum -y install wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel | |
OPENSSL="openssl-1.0.2h" | |
NGINX="nginx-1.11.1-1" | |
mkdir -p /opt/lib | |
wget https://www.openssl.org/source/$OPENSSL.tar.gz -O /opt/lib/$OPENSSL.tar.gz | |
tar -zxvf /opt/lib/$OPENSSL.tar.gz -C /opt/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private char CheckFilter(String Sender) { | |
if(Stringz.isNullOrEmpty(Sender)) return '2'; //발신번호 없음. | |
if(Sender.length() < 8 || Sender.length() > 12) return 'R';// 길이에서 일단 제외. 8이상 12 이하만 통과. | |
if(Sender.startsWith("00")) return 'R'; //국제 전화 제외. | |
switch(Sender.length()) { | |
case 8: //8자리는 전국대표번호만 나올수 있으므로. 15**,16**,18**으로 확인. | |
if(false == (Sender.startsWith("15") || Sender.startsWith("16") || Sender.startsWith("18"))) return 'R'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
080\D*\d{3,4}\D*\d{4} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location / { | |
try_files $uri =503; | |
} | |
error_page 503 /onwork; | |
location /onwork { | |
charset UTF-8; | |
default_type 'application/json; charset=utf-8'; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gzip on; | |
gzip_min_length 1100; | |
gzip_buffers 4 32k; | |
gzip_types text/plain application/x-javascript text/xml text/css application/msxecel; | |
gzip_vary on; | |
gzip_comp_level 8; | |
gzip_http_version 1.1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
forward | |
global type authority from nonvisualobject | |
end type | |
type hmac_info from structure within authority | |
end type | |
type systemtime from structure within authority | |
end type | |
type blobheader from structure within authority | |
end type | |
type keyblob from structure within authority |
NewerOlder