오늘 처음 신기한(매우 문제있는) 현상을 발견했다.
내 노트북 모니터가 어두워지고 1~3Hz로 떨렸다.
미세한 것도 아니고 매우 굵직굵직하게.
노트북을 접었다 폈다. 이리 저리 해보고 전원도 다시 확인해 보고 하다보니 어느 순간에 다시 괜찮아 졌다.
이제는 다시 양호해져서 다시 접었다 폈다 별 짓을 해도 그런 문제는 안 생긴다.
원인이 뭐였을 까? 한 번 그러면 다음에 또 그럴 수 있다는 뜻이다.
우선 생각해 볼 수 있는 원인으로는 주위의 강력한 자기장(EMP) - 옆 집이나 옆방 혹은 가전기기들.
옆 집에 우퍼나 큰 스피커라든지 TV가 있는 걸까? 어제 옆 집에 누가 이사 오긴 했는 데.
까마귀 날자 배 떨어진다고 약간 의심된다.
두 번 째는 전원공급의 이상. 우리 나라는 220볼트지만 사실 여러가지 물리적 기술적 사정에 따라 전위차가 +.-20 정도는 날 수 있다고 들었다.
세 번째. 접촉불량. 전원 케이블 or 모니터 케이블의 접촉.
네 번째. 소프트웨어, 드라이버의 문제. 문제 발생 당시 해상도를 바꿔도 조건에 변화가 없었던 걸로 봐서 사실 이건 거의 희박하다. 하지만 비표준해상도로 노트북을 반년이나 써서 녀석이 속으로 골병들고 있었는 지도 모른다.
2003년 4월 10일 목요일
Internet Explorer 동시 Download(다운로드) 개수 제한 풀기
INFO: WinInet Limits Connections Per Server
--------------------------------------------------------------------------------
The information in this article applies to:
Microsoft Internet Explorer (Programming) versions 4.0, 4.01, 5, 5.5
--------------------------------------------------------------------------------
SUMMARY
WinInet will limit the number of simultaneous connections that it will make to a single HTTP server. If you exceed this limit the requests will block until one of the current connections has completed. This is by design and is in agreement with the HTTP specification and industry standards.
MORE INFORMATION
WinInet will limit connections to a single HTTP 1.0 server to four simultaneous connections. Connections to a single HTTP 1.1 server will be limited to two simultaneous connections. The HTTP 1.1 specification (RFC2068) mandates the two connection limit while the four connection limit for HTTP 1.0 is a self-imposed restriction which coincides with the standard used by a number of popular Web browsers.
The only evidence of this limitation to your application will be that calls like HttpSendRequest and InternetOpenURL will simply appear to take longer to complete as they wait for previous connections to be freed up before their requests are sent.
You can configure WinInet to exceed this limit by creating and setting the registry entries below
NOTE: By changing these settings you are causing WinInet to break the HTTP protocol specification for your application and any other WinInet applications running on your machine, including Internet Explorer. You should only do this if absolutely necessary and then you should avoid doing standard Web browsing while these settings are in effect:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
MaxConnectionsPerServer REG_DWORD (Default 2)
Sets the number of simultaneous requests to a single HTTP 1.1 Server
MaxConnectionsPer1_0Server REG_DWORD (Default 4)
Sets the number of simultaneous requests to a single HTTP 1.0 Server
These settings are made for a particular user and will have no affect on other users who log onto the machine.
In Internet Explorer 5, it is possible to change the connection limit programmatically by calling the InternetSetOption API on NULL handle with the following flags (note that it will change connection limit for the entire process):
INTERNET_OPTION_MAX_CONNS_PER_SERVER INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER
Additional query words: kbwininet multiple instance
Keywords : kbIE400 kbIE401 kbWinInet kbGrpInet kbIE500 kbIE550
Issue type : kbinfo
Technology :
--------------------------------------------------------------------------------
The information in this article applies to:
Microsoft Internet Explorer (Programming) versions 4.0, 4.01, 5, 5.5
--------------------------------------------------------------------------------
SUMMARY
WinInet will limit the number of simultaneous connections that it will make to a single HTTP server. If you exceed this limit the requests will block until one of the current connections has completed. This is by design and is in agreement with the HTTP specification and industry standards.
MORE INFORMATION
WinInet will limit connections to a single HTTP 1.0 server to four simultaneous connections. Connections to a single HTTP 1.1 server will be limited to two simultaneous connections. The HTTP 1.1 specification (RFC2068) mandates the two connection limit while the four connection limit for HTTP 1.0 is a self-imposed restriction which coincides with the standard used by a number of popular Web browsers.
The only evidence of this limitation to your application will be that calls like HttpSendRequest and InternetOpenURL will simply appear to take longer to complete as they wait for previous connections to be freed up before their requests are sent.
You can configure WinInet to exceed this limit by creating and setting the registry entries below
NOTE: By changing these settings you are causing WinInet to break the HTTP protocol specification for your application and any other WinInet applications running on your machine, including Internet Explorer. You should only do this if absolutely necessary and then you should avoid doing standard Web browsing while these settings are in effect:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
MaxConnectionsPerServer REG_DWORD (Default 2)
Sets the number of simultaneous requests to a single HTTP 1.1 Server
MaxConnectionsPer1_0Server REG_DWORD (Default 4)
Sets the number of simultaneous requests to a single HTTP 1.0 Server
These settings are made for a particular user and will have no affect on other users who log onto the machine.
In Internet Explorer 5, it is possible to change the connection limit programmatically by calling the InternetSetOption API on NULL handle with the following flags (note that it will change connection limit for the entire process):
INTERNET_OPTION_MAX_CONNS_PER_SERVER INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER
Additional query words: kbwininet multiple instance
Keywords : kbIE400 kbIE401 kbWinInet kbGrpInet kbIE500 kbIE550
Issue type : kbinfo
Technology :
bash shell 설정파일 예제(.bashrc)
GNU (http://www.gnu.org) -> Manuals Online (http://www.gnu.org/manual/manual.html)
-> bash-2.05a (http://www.gnu.org/manual/bash-2.05a/bashref.html)
http://www.gnu.org/software/bash/bash.html
--------------------------------------------------
# .bashrc
# Prompt design
PS1="\[\033[34m\]\[\033[1;36m\][\u@\h \W] \[\033[34m\]\[\033[0;37m\]"
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Read first /etc/inputrc if the variable is not defined, and after
# the /etc/inputrc include the ~/.inputrc
[ -z $INPUTRC ] && export INPUTRC=/etc/inputrc
# User specific aliases and functions
alias ls='gls -F --color'
alias rm='rm -i'
alias mv='mv -i'
alias cp='cp -i'
alias vi='vim'
PATH=$PATH:/opt/IBMJava2-13/bin/:/home/ilashman/local/rrdtool/bin:.:
set -o emacs
------------------------------------------------------------------
예제 2 (ilashman@adam.kaist.ac.kr)
------------------------------------------------------------------
if [ -f /etc/bashrc ]; then
./etc/bashrc
fi
PATH=.:/usr/local/bin/:/usr/bin:/bin/:/usr/ucb:/usr/X11R6/bin:/usr/sbin/:/sbin:/usr/local/lang/java/bin:/usr/bin/X11:/usr/openwin/bin:/moses/u5/cs320/bin/:~/nachos/bin:
PS1="\[\033[34m\]\[\033[1;36m\][\u@\h \W] \[\033[34m\]\[\033[0;37m\]"
PAGER="less -i"
export PAGER EDITOR
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
alias vi='vim'
alias cp='cp -i'
alias mv='mv -i'
alias ls='/usr/local/bin/ls -F --color=auto'
alias clear='/usr/local/bin/clear'
alias hanterm="hanterm -hfn *gothic* -bg black -fg white"
alias xterm="xterm -e /bin/bash -login"
set -o emacs
------------------------------------------------------------------
예제 3 (ilashman@tmax.neowiz.com)
------------------------------------------------------------------
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export EDITOR=vim
export PATH=$PATH:/home/ilashman/local/rrdtool/bin:/home/ilashman/local/mysql/bin
export CVSROOT="/link/cvsroot"
export PERL5LIB=/home/ilashman/local/perl/lib/5.8.0:/home/ilashman/local/perl/lib/site_perl/5.8.0:/home/ilashman/public_html/mondy/rrd_pet/lib
#alias ghc='/home/ilashman/local/ghc-6.0/bin/i386-unknown-linux/ghc'
#alias ghci='/home/ilashman/local/ghc-6.0/bin/i386-unknown-linux/ghci'
#alias hugs='/home/ilashman/local/bin/hugs'
# mondy2를 위한 설정
#PERL5LIB=/home/ilashman/local/perl5/lib/perl5/5.8.0:/home/ilashman/local/perl5/lib/perl5/site_perl/5.8.0:/home/ilashman/local/rrdtool/lib/perl:/home/ilashman/public_html/mondy/rrd_pet/lib:/home/ilashman/local/perl5/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
#export PERL5LIB
export LANG=en_US.iso885915
# HUB, PM test를 위한 설정
CVSROOT=:pserver:ilashman@search28.sayclub.com:/svc/cvsroot
export CVSROOT
ACE_ROOT=/home/ilashman/local/src/ACE_wrappers
export ACE_ROOT
export LD_LIBRARY_PATH=/home/ilashman/local/src/ACE_wrappers/ace:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/home/ilashman/local/ElectricFence-2.2.2/lib:$LD_LIBRARY_PATH
ulimit -c unlimited
# mm(zendprof가 사용)를 위한 설정
export PATH=/home/ilashman/local/mm-1.3.0/bin:$PATH
export LIBDIR=/home/ilashman/local/mm-1.3.0/lib:$LIBDIR
export LD_LIBRARY_PATH=/home/ilashman/local/mm-1.3.0/lib:$LD_LIBRARY_PATH
export LD_RUN_PATH=/home/ilashman/local/mm-1.3.0/lib:$LD_RUN_PATH
# zendprof를 위한 설정
export LIBDIR=/home/ilashman/local/src/zendprof/modules:$LIBDIR
export LD_LIBRARY_PATH=/home/ilashman/local/src/zendprof/modules:$LD_LIBRARY_PATH
export LD_RUN_PATH=/home/ilashman/local/src/zendprof/modules:$LD_RUN_PATH
-> bash-2.05a (http://www.gnu.org/manual/bash-2.05a/bashref.html)
http://www.gnu.org/software/bash/bash.html
--------------------------------------------------
# .bashrc
# Prompt design
PS1="\[\033[34m\]\[\033[1;36m\][\u@\h \W] \[\033[34m\]\[\033[0;37m\]"
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Read first /etc/inputrc if the variable is not defined, and after
# the /etc/inputrc include the ~/.inputrc
[ -z $INPUTRC ] && export INPUTRC=/etc/inputrc
# User specific aliases and functions
alias ls='gls -F --color'
alias rm='rm -i'
alias mv='mv -i'
alias cp='cp -i'
alias vi='vim'
PATH=$PATH:/opt/IBMJava2-13/bin/:/home/ilashman/local/rrdtool/bin:.:
set -o emacs
------------------------------------------------------------------
예제 2 (ilashman@adam.kaist.ac.kr)
------------------------------------------------------------------
if [ -f /etc/bashrc ]; then
./etc/bashrc
fi
PATH=.:/usr/local/bin/:/usr/bin:/bin/:/usr/ucb:/usr/X11R6/bin:/usr/sbin/:/sbin:/usr/local/lang/java/bin:/usr/bin/X11:/usr/openwin/bin:/moses/u5/cs320/bin/:~/nachos/bin:
PS1="\[\033[34m\]\[\033[1;36m\][\u@\h \W] \[\033[34m\]\[\033[0;37m\]"
PAGER="less -i"
export PAGER EDITOR
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
alias vi='vim'
alias cp='cp -i'
alias mv='mv -i'
alias ls='/usr/local/bin/ls -F --color=auto'
alias clear='/usr/local/bin/clear'
alias hanterm="hanterm -hfn *gothic* -bg black -fg white"
alias xterm="xterm -e /bin/bash -login"
set -o emacs
------------------------------------------------------------------
예제 3 (ilashman@tmax.neowiz.com)
------------------------------------------------------------------
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
export EDITOR=vim
export PATH=$PATH:/home/ilashman/local/rrdtool/bin:/home/ilashman/local/mysql/bin
export CVSROOT="/link/cvsroot"
export PERL5LIB=/home/ilashman/local/perl/lib/5.8.0:/home/ilashman/local/perl/lib/site_perl/5.8.0:/home/ilashman/public_html/mondy/rrd_pet/lib
#alias ghc='/home/ilashman/local/ghc-6.0/bin/i386-unknown-linux/ghc'
#alias ghci='/home/ilashman/local/ghc-6.0/bin/i386-unknown-linux/ghci'
#alias hugs='/home/ilashman/local/bin/hugs'
# mondy2를 위한 설정
#PERL5LIB=/home/ilashman/local/perl5/lib/perl5/5.8.0:/home/ilashman/local/perl5/lib/perl5/site_perl/5.8.0:/home/ilashman/local/rrdtool/lib/perl:/home/ilashman/public_html/mondy/rrd_pet/lib:/home/ilashman/local/perl5/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
#export PERL5LIB
export LANG=en_US.iso885915
# HUB, PM test를 위한 설정
CVSROOT=:pserver:ilashman@search28.sayclub.com:/svc/cvsroot
export CVSROOT
ACE_ROOT=/home/ilashman/local/src/ACE_wrappers
export ACE_ROOT
export LD_LIBRARY_PATH=/home/ilashman/local/src/ACE_wrappers/ace:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/home/ilashman/local/ElectricFence-2.2.2/lib:$LD_LIBRARY_PATH
ulimit -c unlimited
# mm(zendprof가 사용)를 위한 설정
export PATH=/home/ilashman/local/mm-1.3.0/bin:$PATH
export LIBDIR=/home/ilashman/local/mm-1.3.0/lib:$LIBDIR
export LD_LIBRARY_PATH=/home/ilashman/local/mm-1.3.0/lib:$LD_LIBRARY_PATH
export LD_RUN_PATH=/home/ilashman/local/mm-1.3.0/lib:$LD_RUN_PATH
# zendprof를 위한 설정
export LIBDIR=/home/ilashman/local/src/zendprof/modules:$LIBDIR
export LD_LIBRARY_PATH=/home/ilashman/local/src/zendprof/modules:$LD_LIBRARY_PATH
export LD_RUN_PATH=/home/ilashman/local/src/zendprof/modules:$LD_RUN_PATH
vim 설정 파일(.vimrc) 예제
http://www.vim.org/ -> Documentation
:help
Linux에서 쓰는 설정 파일 .vimrc
-----------------------------------------------
set fileencoding=korea
if has("autocmd")
" compile
autocmd FileType c map #2 :!clear^M:w^M:!gcc % -o %:r.out^M
autocmd FileType java map #2 :!clear^M:w^M:!javac %^M
autocmd FileType cpp map #2 :!clear^M:w^M:!g++ % -o %:r.out^M
autocmd FileType python map #2 :!clear^M:w^M:!chmod 700 % ^M:! % ^M
autocmd FileType perl map #2 :!clear^M:w^M:!chmod 700 % ^M:! % ^M
autocmd FileType scheme map #2 :!clear^M:w^M:!mzscheme %^M
autocmd FileType nml map #2 :!clear^M:w^M:!nmlc -o %:r.out %^M
" execute
autocmd FileType c map #3 :!clear^M:! ./%:r.out^M
autocmd FileType java map #3 :!clear^M:!java %:r^M
autocmd FileType cpp map #3 :!clear^M:! ./%:r.out^M
autocmd FileType nml map #3 :!clear^M:! ./%:r.out^M
endif " has ("autocmd")
set notitle
set noicon
set backspace=indent,eol,start " allow backspacing over everything in insert mode
set background=dark
set showmatch
set vb " visual bell. 벨소리가 나지 않게 해준다.
set nocompatible " Use Vim defaults (much better!)
set ai " always set autoindenting on
set cindent
set smartindent
set backup " keep a backup file
set history=1000 " keep 100 lines of command line history
set ruler " show the cursor position all the time
syntax on
set ts=8
set shiftwidth=4
set softtabstop=4
set nu " show line number
set expandtab
set hlsearch
set incsearch
set foldmethod=syntax
autocmd BufRead *.c syn region myFold start="{" end="}" transparent fold
autocmd BufRead *.c syn sync fromstart
set foldmethod=syntax
set t_kb=^H
set t_kD=^[[3~
set <Up>=^[OA
set <Down>=^[OB
set <Right>=^[OC
set <Left>=^[OD
set <PageUp>=^[[5~
set <PageDown>=^[[6~
set <Home>=^[[2~
set <End>=^[[4~
" 다음은 Putty에 최적화된 설정이다.
set t_kb=^H " backspace를 눌렀을 때 글자를 지워줌.
set t_kD=^[[3~ " delete키를 눌렀을 때 뒷 글자를 지워줌.
" c 파일의 경우 Makefile 이 없으면 gcc를 불러줌
au BufRead,BufNewFile *.c
\ if !filereadable("Makefile") && !filereadable("makefile") |
\ set makeprg=gcc\ %\ -o\ %< |
\ endif
" cpp 파일의 경우 Makefile 이 없으면 g++를 불러줌
au BufRead,BufNewFile *.cpp
\ if !filereadable("Makefile") && !filereadable("makefile") |
\ set makeprg=g++\ %\ -o\ %< |
\ endif
" java 파일의 경우 Makefile 이 없으면 javac를 불러줌
au BufRead,BufNewFile *.java
\ if !filereadable("Makefile") && !filereadable("makefile") |
\ set makeprg=javac\ % |
\ endif
" 지난번 편집했던 곳으로 Jump
au BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g`\"" |
\ endif
" C소스 파일 syntex rule -----------------------------------------------------
let c_gnu=1
let c_space_errors=1
let c_no_trail_space_error=1
"let c_comment_strings=1
let c_ansi_typedefs=1
let c_ansi_constants=1
" .h 파일을 C 헤더로 처리할지 여부.
" let c_syntax_for_h=1
----------------------------------------------------
Windows에서 쓰는 설정 파일 c:\vim\_vimrc
----------------------------------------------------
setlocal spell spelllang=en_us " vim7에 추가된 기능, spell check on
set nocompatible
set backspace=indent,eol,start
set background=dark
hi Normal guifg=white guibg=black " background를 검은 색으로 만든다.
set showmatch
set novb " visual bell. 벨소리가 나지 않게 해준다.
set nocompatible " Use Vim defaults (much better!)
set cindent
set smartindent
set backup " keep a backup file
set history=1000 " keep 100 lines of command line history
set ruler " show the cursor position all the time
syntax on
set ts=8
set shiftwidth=4
set softtabstop=4
set expandtab
set number " show line number
set hlsearch
set incsearch
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
set diffexpr=MyDiff()
function MyDiff()
let opt = ''
if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
silent execute '!C:\Vim\vim61\diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out
endfunction
----------------------------------------------------
:help
Linux에서 쓰는 설정 파일 .vimrc
-----------------------------------------------
set fileencoding=korea
if has("autocmd")
" compile
autocmd FileType c map #2 :!clear^M:w^M:!gcc % -o %:r.out^M
autocmd FileType java map #2 :!clear^M:w^M:!javac %^M
autocmd FileType cpp map #2 :!clear^M:w^M:!g++ % -o %:r.out^M
autocmd FileType python map #2 :!clear^M:w^M:!chmod 700 % ^M:! % ^M
autocmd FileType perl map #2 :!clear^M:w^M:!chmod 700 % ^M:! % ^M
autocmd FileType scheme map #2 :!clear^M:w^M:!mzscheme %^M
autocmd FileType nml map #2 :!clear^M:w^M:!nmlc -o %:r.out %^M
" execute
autocmd FileType c map #3 :!clear^M:! ./%:r.out^M
autocmd FileType java map #3 :!clear^M:!java %:r^M
autocmd FileType cpp map #3 :!clear^M:! ./%:r.out^M
autocmd FileType nml map #3 :!clear^M:! ./%:r.out^M
endif " has ("autocmd")
set notitle
set noicon
set backspace=indent,eol,start " allow backspacing over everything in insert mode
set background=dark
set showmatch
set vb " visual bell. 벨소리가 나지 않게 해준다.
set nocompatible " Use Vim defaults (much better!)
set ai " always set autoindenting on
set cindent
set smartindent
set backup " keep a backup file
set history=1000 " keep 100 lines of command line history
set ruler " show the cursor position all the time
syntax on
set ts=8
set shiftwidth=4
set softtabstop=4
set nu " show line number
set expandtab
set hlsearch
set incsearch
set foldmethod=syntax
autocmd BufRead *.c syn region myFold start="{" end="}" transparent fold
autocmd BufRead *.c syn sync fromstart
set foldmethod=syntax
set t_kb=^H
set t_kD=^[[3~
set <Up>=^[OA
set <Down>=^[OB
set <Right>=^[OC
set <Left>=^[OD
set <PageUp>=^[[5~
set <PageDown>=^[[6~
set <Home>=^[[2~
set <End>=^[[4~
" 다음은 Putty에 최적화된 설정이다.
set t_kb=^H " backspace를 눌렀을 때 글자를 지워줌.
set t_kD=^[[3~ " delete키를 눌렀을 때 뒷 글자를 지워줌.
" c 파일의 경우 Makefile 이 없으면 gcc를 불러줌
au BufRead,BufNewFile *.c
\ if !filereadable("Makefile") && !filereadable("makefile") |
\ set makeprg=gcc\ %\ -o\ %< |
\ endif
" cpp 파일의 경우 Makefile 이 없으면 g++를 불러줌
au BufRead,BufNewFile *.cpp
\ if !filereadable("Makefile") && !filereadable("makefile") |
\ set makeprg=g++\ %\ -o\ %< |
\ endif
" java 파일의 경우 Makefile 이 없으면 javac를 불러줌
au BufRead,BufNewFile *.java
\ if !filereadable("Makefile") && !filereadable("makefile") |
\ set makeprg=javac\ % |
\ endif
" 지난번 편집했던 곳으로 Jump
au BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g`\"" |
\ endif
" C소스 파일 syntex rule -----------------------------------------------------
let c_gnu=1
let c_space_errors=1
let c_no_trail_space_error=1
"let c_comment_strings=1
let c_ansi_typedefs=1
let c_ansi_constants=1
" .h 파일을 C 헤더로 처리할지 여부.
" let c_syntax_for_h=1
----------------------------------------------------
Windows에서 쓰는 설정 파일 c:\vim\_vimrc
----------------------------------------------------
setlocal spell spelllang=en_us " vim7에 추가된 기능, spell check on
set nocompatible
set backspace=indent,eol,start
set background=dark
hi Normal guifg=white guibg=black " background를 검은 색으로 만든다.
set showmatch
set novb " visual bell. 벨소리가 나지 않게 해준다.
set nocompatible " Use Vim defaults (much better!)
set cindent
set smartindent
set backup " keep a backup file
set history=1000 " keep 100 lines of command line history
set ruler " show the cursor position all the time
syntax on
set ts=8
set shiftwidth=4
set softtabstop=4
set expandtab
set number " show line number
set hlsearch
set incsearch
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
set diffexpr=MyDiff()
function MyDiff()
let opt = ''
if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
silent execute '!C:\Vim\vim61\diff -a ' . opt . v:fname_in . ' ' . v:fname_new . ' > ' . v:fname_out
endfunction
----------------------------------------------------
검색엔진(search engine) - 구글(google), 네이버(naver)
가장 유명하고 뛰어난 것으로 알려진 검색엔진은 구글(google)이다.
http://www.google.com/ http://www.google.co.kr/
웹 문서 중 텍스트 파일 뿐만 아니라. doc, ppt 파일도 열어서 내용을 검색해 준다.
뉴스 그룹을 검색하면 누군가가 질문하고 대답해둔 (FAQ) 등을 직접 검색해 볼 수도 있다.
google은 link를 이용하여 ranking을 매기는 방식을 사용하고 있다.
국내에서는 네이버와 empas가 유명하다.
http://www.naver.com/ http://www.empas.com/
google과 naver는 툴바(toolbar)를 지원해서 설치하면 Internet Explorer(IE)의 주소창 같은 것이 추가된다. 주소창과 같은 역할을 하므로 기존의 주소창은 지워도 된다. 검색엔진이나 영어사전, 백과사전등을 자동으로 불러서 좋다.
naver는 지식인(지식-in)이라는 서비스를 통해 잡다한 지식들을 다른 인터넷 사용자들과 공유할 수 있는 백과사전 같은 것도 자동으로 찾는 다.
또한 naver -> 포토앨범(photo album)에 가면 사진을 매우 많이 볼 수 있다. (http://imagebingo.naver.com/)
vivisimo
http://www.vivisimo.co.kr/
http://www.google.com/ http://www.google.co.kr/
웹 문서 중 텍스트 파일 뿐만 아니라. doc, ppt 파일도 열어서 내용을 검색해 준다.
뉴스 그룹을 검색하면 누군가가 질문하고 대답해둔 (FAQ) 등을 직접 검색해 볼 수도 있다.
google은 link를 이용하여 ranking을 매기는 방식을 사용하고 있다.
국내에서는 네이버와 empas가 유명하다.
http://www.naver.com/ http://www.empas.com/
google과 naver는 툴바(toolbar)를 지원해서 설치하면 Internet Explorer(IE)의 주소창 같은 것이 추가된다. 주소창과 같은 역할을 하므로 기존의 주소창은 지워도 된다. 검색엔진이나 영어사전, 백과사전등을 자동으로 불러서 좋다.
naver는 지식인(지식-in)이라는 서비스를 통해 잡다한 지식들을 다른 인터넷 사용자들과 공유할 수 있는 백과사전 같은 것도 자동으로 찾는 다.
또한 naver -> 포토앨범(photo album)에 가면 사진을 매우 많이 볼 수 있다. (http://imagebingo.naver.com/)
vivisimo
http://www.vivisimo.co.kr/
SSH (Secure shell) 사용하기
telnet은 보안에 취약하므로 요즘 FreeBSD, Linux 등 대부분의 곳에서 SSH를 대신 사용한다.
사용법 자체는 telnet과 크게 다르지 않다.
ssh의 포트 번호 : 22번
ssh client - Xmanager(ssh로 패치된 버젼), SSH Secure shell client, secure token.
-----------------------------
인증키 사용하여 암호 없이 접속하기
[ilashman@partita ilashman]$ ssh-keygen -t dsa (키 생성하기)
Generating public/private dsa key pair.
Enter file in which to save the key (/home/ilashman/.ssh/id_dsa): (그냥 엔터)
Enter passphrase (empty for no passphrase): (그냥 엔터)
Enter same passphrase again: (그냥 엔터)
Your identification has been saved in /home/ilashman/.ssh/id_dsa.
Your public key has been saved in /home/ilashman/.ssh/id_dsa.pub.
The key fingerprint is:
(블라블라블라. 나의 키가 적혀져 나온다.) ilashman@partita.neowiz.com
[ilashman@partita ilashman]$ eval $(ssh-agent) (인증키 메모리에 상주 시키기)
이제 .ssh/id_dsa.pub 파일의 내용을 다른 server의 .ssh/authorized_keys2 파일에 적어 넣으면 된다.
그리고 각 서버의 .ssh 디렉토리의 permission은 700으로 한다.
(키 복사하기)
A서버에서 ssh-keygen을 하여 B 서버의 authorized_keys2 에 적어넣으면
이제 부터는 A서버에서 B서버로 암호 없이 접근할 수 있다.
사용법 자체는 telnet과 크게 다르지 않다.
ssh의 포트 번호 : 22번
ssh client - Xmanager(ssh로 패치된 버젼), SSH Secure shell client, secure token.
-----------------------------
인증키 사용하여 암호 없이 접속하기
[ilashman@partita ilashman]$ ssh-keygen -t dsa (키 생성하기)
Generating public/private dsa key pair.
Enter file in which to save the key (/home/ilashman/.ssh/id_dsa): (그냥 엔터)
Enter passphrase (empty for no passphrase): (그냥 엔터)
Enter same passphrase again: (그냥 엔터)
Your identification has been saved in /home/ilashman/.ssh/id_dsa.
Your public key has been saved in /home/ilashman/.ssh/id_dsa.pub.
The key fingerprint is:
(블라블라블라. 나의 키가 적혀져 나온다.) ilashman@partita.neowiz.com
[ilashman@partita ilashman]$ eval $(ssh-agent) (인증키 메모리에 상주 시키기)
이제 .ssh/id_dsa.pub 파일의 내용을 다른 server의 .ssh/authorized_keys2 파일에 적어 넣으면 된다.
그리고 각 서버의 .ssh 디렉토리의 permission은 700으로 한다.
(키 복사하기)
A서버에서 ssh-keygen을 하여 B 서버의 authorized_keys2 에 적어넣으면
이제 부터는 A서버에서 B서버로 암호 없이 접근할 수 있다.
HTML과 CSS,WWW(World Wide Web),PHP 메뉴얼
http://www.w3.org/ -> HTML -> HTML 4.0
http://www.w3schools.com/ -> Web Building -> Web W3c ->Search W3Schools
---
PHP 메뉴얼 들.
http://www.php.net/
http://phpnuke.org/
http://www.zend.com/
http://www.phpschool.com/
http://www.nzeo.com/
---
CSS 예제 파일
BODY { background-color: #ffffff; font-family: arial; font-size: 9pt }
A { text-decoration: underline }
A:link { color: #0000CC }
A:visited { color: #0000CC }
A:active { color: #0000CC }
A.tab_sel { text-decoration: none }
A.tab_sel:link { color: #FFFFFF }
A.tab_sel:visited { color: #FFFFFF }
A.tab_sel:active { color: #FFFFFF }
A.tab{ text-decoration: none }
A.tab:link { color: #0000CC }
A.tab:visited { color: #0000CC }
A.tab:active { color: #0000CC }
TD { color: #0000CC; font-size: 9pt; font-family: tahoma }
.normal { font-size: 8pt; text-align: center; background-color: #FFFFFF }
.normalb { font-size: 8pt; text-align: center; background-color: #CCFFFF }
//.warn { font-size: 8pt; text-align: center; background-color: #FF00CC }
.warn { font-size: 8pt; text-align: center; background-color: #FF0000 }
.crit { font-size: 8pt; text-align: center; background-color: #FF0000 }
.fail { font-size: 8pt; text-align: center; background-color: #4CB24C }
.down { font-size: 8pt; text-align: center; background-color: #D9D9D9 }
TD.sum_sv { color: black; width: 80px; height: 88px; font-weight: bold; font-size: 9pt; text-align: center; border: 1px solid #333333; background-color: #FFFF66 }
TD.sum_in { color: black; width: 80px; height: 88px; font-weight: bold; font-size: 9pt; text-align: center; border: 1px solid #333333; background-color: #F2FEF6 }
TD.sum_tcol { color: black; height: 48px; font-weight: bold; font-size: 9pt; text-align: center; border-top: 1px solid #333333; border-right: 1px solid #333333; background-color: #FFFF66 }
TD.sum_tcol2 { color: black; height: 24px; font-weight: bold; font-size: 9pt; text-align: center; border-top: 1px solid #333333; border-right: 1px solid #333333; background-color: #FFFF66 }
TD.sum_tcol3 { color: black; height: 24px; font-weight: bold; font-size: 8pt; text-align: center; border-top: 1px solid #999999; border-right: 1px solid #999999; background-color: #FFFF66 }
TD.sum_tcol3_end { color: black; height: 24px; font-weight: bold; font-size: 8pt; text-align: center; border-top: 1px solid #999999; border-right: 1px solid #333333; background-color: #FFFF66 }
TD.sum_scol { color: black; width: 50px; font-weight: bold; font-size: 8pt; height: 40px; text-align: center; border-top: 1px solid #999999; border-right: 1px solid #999999; border-bottom: 1px solid #333333; background-color: #CCFF66 }
TD.sum_scol_end { color: black; width: 50px; font-weight: bold; font-size: 8pt; height: 40px; text-align: center; border-top: 1px solid #999999; border-right: 1px solid #333333; border-bottom: 1px solid #333333; background-color: #CCFF66 }
TD.tab { height: 20px; font-size: 8pt; text-align: center; border-bottom: 1px solid #3366CC; background-color: #EFEFEF }
TD.tab_sel { color: white; height: 20px; font-size: 8pt; font-weight: bold; text-align: center; border-bottom: 1px solid #3366CC; background-color: #3366CC }
-----
CSS 파일에서 정의한 것들을 사용하는 방법.
1. html 파일을 하나 만든다.
2. <LINK href="css파일명과 확장자" rel="stylesheet" type="text/css">라는 줄을 삽입한다.
3. <TD class=tab></TD> 같은 식으로 tag를 사용하면 된다.
http://www.w3schools.com/ -> Web Building -> Web W3c ->Search W3Schools
---
PHP 메뉴얼 들.
http://www.php.net/
http://phpnuke.org/
http://www.zend.com/
http://www.phpschool.com/
http://www.nzeo.com/
---
CSS 예제 파일
BODY { background-color: #ffffff; font-family: arial; font-size: 9pt }
A { text-decoration: underline }
A:link { color: #0000CC }
A:visited { color: #0000CC }
A:active { color: #0000CC }
A.tab_sel { text-decoration: none }
A.tab_sel:link { color: #FFFFFF }
A.tab_sel:visited { color: #FFFFFF }
A.tab_sel:active { color: #FFFFFF }
A.tab{ text-decoration: none }
A.tab:link { color: #0000CC }
A.tab:visited { color: #0000CC }
A.tab:active { color: #0000CC }
TD { color: #0000CC; font-size: 9pt; font-family: tahoma }
.normal { font-size: 8pt; text-align: center; background-color: #FFFFFF }
.normalb { font-size: 8pt; text-align: center; background-color: #CCFFFF }
//.warn { font-size: 8pt; text-align: center; background-color: #FF00CC }
.warn { font-size: 8pt; text-align: center; background-color: #FF0000 }
.crit { font-size: 8pt; text-align: center; background-color: #FF0000 }
.fail { font-size: 8pt; text-align: center; background-color: #4CB24C }
.down { font-size: 8pt; text-align: center; background-color: #D9D9D9 }
TD.sum_sv { color: black; width: 80px; height: 88px; font-weight: bold; font-size: 9pt; text-align: center; border: 1px solid #333333; background-color: #FFFF66 }
TD.sum_in { color: black; width: 80px; height: 88px; font-weight: bold; font-size: 9pt; text-align: center; border: 1px solid #333333; background-color: #F2FEF6 }
TD.sum_tcol { color: black; height: 48px; font-weight: bold; font-size: 9pt; text-align: center; border-top: 1px solid #333333; border-right: 1px solid #333333; background-color: #FFFF66 }
TD.sum_tcol2 { color: black; height: 24px; font-weight: bold; font-size: 9pt; text-align: center; border-top: 1px solid #333333; border-right: 1px solid #333333; background-color: #FFFF66 }
TD.sum_tcol3 { color: black; height: 24px; font-weight: bold; font-size: 8pt; text-align: center; border-top: 1px solid #999999; border-right: 1px solid #999999; background-color: #FFFF66 }
TD.sum_tcol3_end { color: black; height: 24px; font-weight: bold; font-size: 8pt; text-align: center; border-top: 1px solid #999999; border-right: 1px solid #333333; background-color: #FFFF66 }
TD.sum_scol { color: black; width: 50px; font-weight: bold; font-size: 8pt; height: 40px; text-align: center; border-top: 1px solid #999999; border-right: 1px solid #999999; border-bottom: 1px solid #333333; background-color: #CCFF66 }
TD.sum_scol_end { color: black; width: 50px; font-weight: bold; font-size: 8pt; height: 40px; text-align: center; border-top: 1px solid #999999; border-right: 1px solid #333333; border-bottom: 1px solid #333333; background-color: #CCFF66 }
TD.tab { height: 20px; font-size: 8pt; text-align: center; border-bottom: 1px solid #3366CC; background-color: #EFEFEF }
TD.tab_sel { color: white; height: 20px; font-size: 8pt; font-weight: bold; text-align: center; border-bottom: 1px solid #3366CC; background-color: #3366CC }
-----
CSS 파일에서 정의한 것들을 사용하는 방법.
1. html 파일을 하나 만든다.
2. <LINK href="css파일명과 확장자" rel="stylesheet" type="text/css">라는 줄을 삽입한다.
3. <TD class=tab></TD> 같은 식으로 tag를 사용하면 된다.
피드 구독하기:
글 (Atom)