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 / BannerSlide.html
Last active December 15, 2015 10:19
슬라이드 배너jquery,
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>테스트</title>
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://cherne.net/brian/resources/jquery.hoverIntent.minified.js"></script>
<script type="text/javascript">
$(document).ready(function(){
// 숫자 타입에서 쓸 수 있도록 currency() 함수 추가
Number.prototype.currency = function(){
if(this==0) return 0;
var reg = /(^[+-]?\d+)(\d{3})/;
var n = (this + '');
while (reg.test(n)) n = n.replace(reg, '$1' + ',' + '$2');
return n;
};
@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;
@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>
/*
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.
//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;
@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;

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 / 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;
});
@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;