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:
version: "3" | |
services: | |
nifi: | |
restart: always | |
image: apache/nifi:1.12.1 | |
container_name: nifi | |
ports: | |
- "9090:8080" | |
volumes: | |
- type: volume |
//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 |
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; |
/* | |
* 엑셀 다운로드시 로딩이미지 노출 | |
*/ | |
$('#frmDownlaod').submit(function(){ | |
startLoading(); // 로딩중 이미지 노출 | |
$.post($(this).attr('action'), $(this).serialize(), function(response) { | |
endLoading(); // 로딩중 이미지 비노출 | |
}, 'text'); | |
return true; | |
}); |
I hereby claim:
To claim this, I am signing this object:
<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. |
<!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> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>CSS3 Transform basic</title> | |
<style> | |
* {margin:0; padding: 0;} | |
html, body {height: 100%} | |
body { | |
width: 600px; |