My Blog List

Monday, January 21, 2013

Oracle11g create Tablespace

First We Should Drop Tablespace if it exist

DROP TABLESPACE TODOLIST INCLUDING CONTENTS AND DATAFILES;

and Create 

CREATE TABLESPACE TODOLIST DATAFILE 
  '/oracle/11g/oradata/orcl/todolist.dbf' SIZE 100M AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
NOLOGGING
ONLINE
PERMANENT
EXTENT MANAGEMENT LOCAL AUTOALLOCATE
BLOCKSIZE 8K
SEGMENT SPACE MANAGEMENT AUTO
FLASHBACK ON;

Tuesday, January 15, 2013

jquery File Upload



<script type="text/javascript"
src="http://malsup.github.com/jquery.form.js"></script>


$(document) .ready(
function() {
$('#loading').hide();

$(function() {
$('#myForm').ajaxForm({
dataType : 'json',
beforeSend : function(xhr, o) {
$('#loading').show();
},
success : function(data) {
if (data.status == 0) {
alert('success');
$('#up_down_right').empty();
$('#up_down_right').append('<a href="'+ data.download_url + data.info.file_path+ data.info.file_name+  '">파일 다운 받기</a> ');

}else{
alert('fail' + data.status);
}
$('#loading').hide();
}
});
});
});




<form action="/api/v3/web/setting/create/fileUpload.json"
enctype="multipart/form-data" method="post" name="myForm" id="myForm" >
<label for="myFile">파일선택 : </label>
<input type="file" name="file" id="myFile" />
<input type="submit" value="확인" />
<input type="hidden" name="App-Agent" id="App-Agent"/>
<input type="hidden" name="AKey" id="AKey"/>
<input type="hidden" name="Access-Token" id="Access-Token"/>

</form>

Thursday, January 10, 2013

html On Enter Key CallBack



<td><input id="txtSearch" name="txtSearch" type="text" style="width:220px;" runat="server" onkeypress="javascript:if(event.keyCode==13){alert('hello');}" class="input_search" /></td>

open ssl

바로가기 경로

http://dimdim.tistory.com/entry/openssl-%EC%9D%B8%EC%A6%9D%EC%84%9C-%EC%83%9D%EC%84%B1