서버 이전 또는 재설치 시 재설치 라면 %systemroot%\system32\inetsrv\metadata.dll 파일을 백업하고 복원하면 되겠지만 다른서버라면 아래 스크립트를 이용해서 백업, 복원절차를 거쳐야한다.



iis 구성정보 백업


iiscnfg.vbs /export /f [FILEPATH] /sp / children /d [PASSWORD]


iis 구성정보 복원


iiscnfg.vbs /import /f [FILEPATH] /sp / /dp / /children /d [PASSWORD]


Oracle 에서 Decode함수를 이용해서 크고 작음을 표시하고 싶어졌다. 예를들어 입력값이 어떤 수 이상이면 1 아니면 0을 반환하는 식이다. 그런데 검색해보면 Decode는 Decode(input, >0, 1, 0) 이런식으로 크다는 구문을 사용할 수 없다. 이럴때 어떻게할까? 구글링해보니 답이 있었다. 아래 링크 참고.


https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:4333097088785


답은 sign 함수를 같이 사용하는 것이다. sign함수는 아래 링크에 나온것처럼 입력이 NULL이면 NULL을 0이면 0을 음수면 -1을 양수이면 1을 반환한다.


http://docs.oracle.com/javadb/10.10.1.2/ref/rreffuncsign.html


최종적으로 Decode와 결합된 해결방법 다음과 같다.


select EMPNO, ENAME, SAL,

decode( sign( 2500 - SAL ), -1, 'ABOVE 2500','VERY LESS')   from EMP;


아래처럼 CASE 문으로 쓸수도 있지만 지저분하다.


select empno, ename, SAL, 

CASE when SAL > 4000 THEN 'ABOVE 4000'

     when SAL > 2500 THEN 'ABOVE 2500'

     ELSE 'VERY LESS' END

FROM EMP;




http://en.wikipedia.org/wiki/Comparison_of_JavaScript-based_source_code_editors


이 중에 


Ace (editor)

CodeMirror

GitHub Atom


이정도가 가장 좋은것 같다.




set ai
set nu
set visualbell
set nocompatible
set nobackup
set cindent 
set tabstop=4 shiftwidth=2 expandtab
set background=dark
set ruler
set hlsearch
colorscheme torte
autocmd FileType c,cpp,java,php,py autocmd BufWritePre <buffer> :%s/\s\+$//e

map <F1> :help<CR>
map <F2> :wq<CR> 
map <F3> :w!<CR> 
map <F4> :w<CR>
map <F5> :!make<CR>
map <F6> :!make<CR>


maven 보다 더 좋은 gradle 알아보자 ㅋㅋ


http://kwonnam.pe.kr/wiki/gradle



http://radiofun.tumblr.com/post/89423444736/how-to-do-a-product-critique


한번쯤 읽어볼 글이라 포스팅함, 원문은 아래 링크


https://medium.com/the-year-of-the-looking-glass/how-to-do-a-product-critique-98b657050638

Intel® Hardware Accelerated Execution Manager


https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

  그림으로 보는 자바스크립트 역사 

  https://www.okjsp.net/seq/240721

  http://codekin.com/?p=999

  http://codekin.com/?p=1005

  너무 웃기네요~~

  http://codekin.com/?cat=113

git book

http://git-scm.com/book/ko

나를위한 한글 버젼 메뉴얼



Book

The entire Pro Git book, written by Scott Chacon and published by Apress, is available here. All content is licensed under the Creative Commons Attribution Non Commercial Share Alike 3.0 license. Print versions of the book are available on Amazon.com.

  1. 1. 시작하기

    1. 1.1 버전 관리란?
    2. 1.2 짧게 보는 Git의 역사
    3. 1.3 Git 기초
    4. 1.4 Git 설치
    5. 1.5 Git 최초 설정
    6. 1.6 도움말 보기
    7. 1.7 요약
  2. 2. Git의 기초

    1. 2.1 Git 저장소 만들기
    2. 2.2 수정하고 저장소에 저장하기
    3. 2.3 커밋 히스토리 조회하기
    4. 2.4 되돌리기
    5. 2.5 리모트 저장소
    6. 2.6 태그
    7. 2.7 팁과 트릭
    8. 2.8 요약
  3. 3. Git 브랜치

    1. 3.1 브랜치란 무엇인가?
    2. 3.2 브랜치와 Merge의 기초
    3. 3.3 브랜치 관리
    4. 3.4 브랜치 Workflow
    5. 3.5 리모트 브랜치
    6. 3.6 Rebase하기
    7. 3.7 요약
  4. 4. Git 서버

    1. 4.1 프로토콜
    2. 4.2 서버에 Git 설치하기
    3. 4.3 SSH 공개키 만들기
    4. 4.4 서버에 설정하기
    5. 4.5 공개하기
    6. 4.6 GitWeb
    7. 4.7 Gitosis
    8. 4.8 Gitolite
    9. 4.9 Git 데몬
    10. 4.10 Hosted Git
    11. 4.11 요약
  5. 5. 분산 환경에서의 Git

    1. 5.1 분산 환경에서의 Workflow
    2. 5.2 프로젝트에 기여하기
    3. 5.3 프로젝트 운영하기
    4. 5.4 요약
  6. 6. Git 도구

    1. 6.1 리비전 조회하기
    2. 6.2 대화형 명령어
    3. 6.3 Stashing
    4. 6.4 히스토리 단장하기
    5. 6.5 Git으로 버그 찾기
    6. 6.6 서브모듈
    7. 6.7 Subtree Merge
    8. 6.8 요약
  7. 7. Git맞춤

    1. 7.1 Git 설정하기
    2. 7.2 Git Attribute
    3. 7.3 Git 훅
    4. 7.4 정책 구현하기
    5. 7.5 요약
  8. 8. Git으로 이전하기

    1. 8.1 Git과 Subversion
    2. 8.2 Git으로 옮기기
    3. 8.3 요약
  9. 9. Git의 내부

    1. 9.1 Plumbing 명령과 Porcelain 명령
    2. 9.2 Git 개체
    3. 9.3 Git 레퍼런스
    4. 9.4 Packfile
    5. 9.5 Refspec
    6. 9.6 데이터 전송 프로토콜
    7. 9.7 운영 및 데이터 복구
    8. 9.8 요약
  10. Index of Commands


https://www.igvita.com/2008/04/14/custom-putty-color-themes/


색깔이 어두워서 보기 어려운 문제 해결.

+ Recent posts