Skip to content

Instantly share code, notes, and snippets.

View jeedy's full-sized avatar
:octocat:
Know, We are code

jeeyong jeedy

:octocat:
Know, We are code
  • Brain Factory
  • seoul
View GitHub Profile
@jeedy
jeedy / nifi-docker-compose.yml
Last active October 13, 2021 09:03
nifi docker
version: "3"
services:
nifi:
restart: always
image: apache/nifi:1.12.1
container_name: nifi
ports:
- "9090:8080"
volumes:
- type: volume
@jeedy
jeedy / CORS Filter
Created February 25, 2020 02:17 — forked from wildoctopus/CORS Filter
How to fix the CORS issue on backend side , java Springboot App (Handling Simple CORS requests)
//Contents from https://spring.io/understanding/CORS
In the simplest scenario, cross-origin communications starts with a client making a GET, POST, or HEAD request against a resource on the server.
In this scenario, the content type of a POST request is limited to application/x-www-form-urlencoded, multipart/form-data, or text/plain. The request includes an Origin header that indicates the origin of the client code.
The server will consider the request's Origin and either allow or disallow the request. If the server allows the request, then it will respond with the requested resource and an Access-Control-Allow-Origin header in the response. This header will indicate to the client which client origins will be allowed to access the resource. Assuming that the Access-Control-Allow-Origin header matches the request's Origin, the browser will allow the request.
On the other hand, if Access-Control-Allow-Origin is missing in the response or if it doesn't match the request's Origin, the browser will disallow th
@jeedy
jeedy / TestHttpsURLConnection.java
Created February 13, 2020 02:21
HttpsURLConnection 라이브러리로 API 통신을 위한 모듈 개발(httpclient로 통신되지 않을 경우)
package com.jee;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.security.cert.X509Certificate;
@jeedy
jeedy / form_download_events.js
Created October 14, 2019 06:17
Form 을 이용한 파일 다운로드 submit Events control (with jquery)
/*
* 엑셀 다운로드시 로딩이미지 노출
*/
$('#frmDownlaod').submit(function(){
startLoading(); // 로딩중 이미지 노출
$.post($(this).attr('action'), $(this).serialize(), function(response) {
endLoading(); // 로딩중 이미지 비노출
}, 'text');
return true;
});

Keybase proof

I hereby claim:

  • I am jeedy on github.
  • I am jeeyong (https://keybase.io/jeeyong) on keybase.
  • I have a public key whose fingerprint is 2D8D E83A 7D35 67E1 6C72 2E0D F82A 2C5C 3E90 FBE3

To claim this, I am signing this object:

@jeedy
jeedy / index.html
Last active August 29, 2015 14:02
jquery scroll() 이벤트 이용한 GNB 메뉴 처리
<style>
#laout-box {
position: relative;
overflow-x: hidden;
overflow-y: scroll;
height: 300px;
}
#laout-box img{
position: relative;
float:right;
//This sample is how to use websocket of Tomcat.
package wsapp;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.util.ArrayList;
import org.apache.catalina.websocket.MessageInbound;
import org.apache.catalina.websocket.StreamInbound;
import org.apache.catalina.websocket.WebSocketServlet;
/*
highlight v3 !! Modified by Jon Raasch (http://jonraasch.com) to fix IE6 bug !!
Highlights arbitrary terms.
<http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html>
MIT license.
@jeedy
jeedy / 원통UI.html
Last active December 16, 2015 19:49
<!DOCTYPE html>
<html>
<head>
<title>CSS3 Transform basic</title>
<script src="https://raw.github.com/LeaVerou/prefixfree/gh-pages/plugins/prefixfree.dynamic-dom.min.js"></script>
<script src="https://raw.github.com/LeaVerou/prefixfree/gh-pages/prefixfree.min.js" ></script>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="https://raw.github.com/LeaVerou/prefixfree/gh-pages/plugins/prefixfree.jquery.js"></script>
<style>
@jeedy
jeedy / 회전목마.html
Last active December 16, 2015 19:39
css로 구현된 회전 목마 ui
<!DOCTYPE html>
<html>
<head>
<title>CSS3 Transform basic</title>
<style>
* {margin:0; padding: 0;}
html, body {height: 100%}
body {
width: 600px;