Thursday, March 31, 2011

HTML Quicker Reference

요약 : 오래된 문서지만 html의 기본 태그는 잘 설명하고 있음
인용 : Note that this document is HOPELESSLY out of date. It was accurate and current with respect to Mosaic2.4, which was, lets see, almost a decade ago? I doubt any of the links work. I'm not going to check and remove them, I'll leave them there as a historical reference.
레퍼런스 : http://hea-www.harvard.edu/~fine/Tech/qr.html

HTML em, strong, dfn, code, samp, kbd, var, cite tag

레퍼런스 : http://www.w3schools.com/tags/tag_phrase_elements.asp

Pre tag 의 역할

요약 : pre tag 는 preformatted 의 의미임.
설명 : all the spaces and carriage returns are rendered exactly as you type them.
pre 블록 안쪽에 다른 태그가 올 수도 있다. 예를 들면 a href= 라던가.
다만 텍스트에 < 나 > 가 오면 문제가 생긴다고 함
레퍼런스 : http://www.htmlcodetutorial.com/linepar/_PRE.html

xmp tag 는 Html 5 에서 지원 안됨

요약 : xmp tag 대신 pre tag 를 쓸 것
설명 : xmp tag 는 그 안쪽의 tag 를 모두 무시해주는 기능.
인식하는 태그는 /xmp 뿐. 즉 html 을 verbatim 하게 표시하기 위한 것이었음.
html5 에서는 pre tag 로 그 기능을 대신할 수 있음

Html 에 tab 문자 넣는 법

질문 : Html 에 tab 문자 넣는 법?
답 : &+#9; 를 쓰면 된다 (+ 제외)
레퍼런스 : http://en.wikipedia.org/wiki/Tab_key#Tabs_in_HTML

Html의 CSS 쓰는 법 (Cascading Style Sheets)

Cascading Style Sheets 간단예

1. Paragraph 전체에 적용한 예





2. 텍스트 일부에 적용한 예



레퍼런스 : http://www.w3schools.com/TAGS/tag_style.asp
키워드 : 스타일 시트

코덱(Codec)의 정의

네이버 캐스트 - 코덱 (Codec)
디지털 ⇆ 아날로그
코덱의 정의에 대해 잘 정리된 글

Wednesday, March 30, 2011

Useful Sites (Favorites, 즐겨찾기)

Favorites에 넣을만한 링크들 목록

포탈
Naver
Yahoo! Japan
Wikipedia

사전 등
Yahoo! 辞書
네이버 일어사전
네이트온 영어사전
excite 일한번역
infoseek 일한번역 (this is better)

전화 및 주소 등
http://regia.tistory.com/43 해외 전화시 국가 코드 등 (대한민국 국내 및 국제 전화번호 표기법)
-> 미러 : 대한민국 국내 및 국제 전화번호 표기법
http://www.etpost.co.kr/service/zipcode/ 우편번호 검색
영문주소검색
스팸 전화번호 데이터베이스 - 모르는 번호로부터 전화가 오면 '스팸검색'
서울 지하철노선도

약이름
http://www.druginfo.co.kr/ 처방전의 약이름 검색

바이러스 관련
윈도우 프로세스 이름 검색 (내 컴퓨터가 야동서버로 활용되고 있다)
컴퓨터 바이러스 사전 Virus Encyclopedia

동영상
Youtube
http://clipnabber.com/clipnabber_classic.php YouTube, Vimeo 등 다운로드
http://keepvid.com/
http://bitsnoop.com/

게임
구글 패크맨

Picassa에서 사진 삭제하는 법

질문 : Picassa에서 사진을 삭제하려면?
답 : 앨범으로 들어가서 Edit > Organize & Reorder 를 하면 거기서 삭제 가능하다.
키워드 : 피카사, album, pictures, photos, delete

Picassa에서 앨범의 private/public 여부 세팅하는 법

질문 : Picassa에서 앨범의 공개 여부를 세팅하려면?
답 : Picassa의 Home 탭에서 앨범을 클릭해서 들어가면
Actions > Album Properties 라는 메뉴가 있다.
거기서 Visibility 를 Public on the Web 또는 Private 로 바꿔주면 된다.
키워드 : 피카사, album, pictures, photos, 사진

Monday, March 28, 2011

DOS Command Line Batch File 문법

%0 is the program name as it was called,
%1 is the first command line parameter,
%2 is the second command line parameter,
and so on till %9.

%CmdCmdLine% will return the entire command line as passed to CMD.EXE
%* will return the remainder of the command line starting at the first command line argument (in Windows NT 4, %* also includes all leading spaces)
%~dn will return the drive letter of %n (n can range from 0 to 9) if %n is a valid path or file name (no UNC)
%~pn will return the directory of %n if %n is a valid path or file name (no UNC)
%~nn will return the file name only of %n if %n is a valid file name
%~xn will return the file extension only of %n if %n is a valid file name
%~fn will return the fully qualified path of %n if %n is a valid file name or directory

예제 : Gnomonology Rendering Zbrush Displacement Maps 를 만든 Scott Spenser 의 배치 파일

:convertfile
@IF %1 == "" GOTO end
imf_copy -p %1 "%~d1%~p1%~n1.map"
@SHIFT
@GOTO convertfile
:end
@ECHO.
@ECHO Done!
@pause

출처 : http://www.robvanderwoude.com/parameters.php
키워드 : Command line parameters
미러 : Dos Batch File Parameters

Google 의 instant 기능 (입력과 동시에 검색되는 기능) 끄는 법

질문 : Google 에서 입력과 동시에 검색되는 기능 끄는 법?
답 : Search 버튼 우측에 instant on/off 옵션이 있다. 이걸 Off 로 해주면 된다.
키워드 : 자동 입력, auto

Saturday, March 26, 2011

RAR file 을 extract 할 때 "not RAR archive" 에러 나는 이유

질문 : ".rar is not RAR archive. No files to extract" 와 같은 에러가 나는 이유
요약 : password protection 문제일 가능성이 큼
설명 : File corrupt 가 아니라 password protection 이 걸려 있는 경우가 많다. UnRarX 등의 유틸리티에서는 password 가 걸려 있을 경우 그냥 error 메시지를 보여준다.
레퍼런스 : Unarchiver wont open .rar files

Friday, March 25, 2011

AppleScript 에서 file exists 여부 파악하기

set msg to "no"
tell application "Finder" to if exists "/usr/bin/gzip" as POSIX file then set msg to "yes"
display dialog msg

출처 : Check if file exists

Thursday, March 24, 2011

SWF 파일 등을 보는데 편리한 플래시 뷰어

질문 : SWF 등 플래쉬 파일을 볼때 컨트롤러나 timeline 가 없어 불편한데 편리한 플래시 뷰어는 없는가?
요약 : Eltima SWF & FLV Player (Elmedia Player) 가 좋음
설명 : 공짜 소프트웨어임 freeware
레퍼런스 : http://mac.eltima.com/freeflashplayer.html
키워드 : 프로그레스 바, progress bar, flash, adobe, flash file format, 어도비, 플래시, viewer, controller, play, stop, pause, 타임라인

마이크로소프트 워드에서 개행문자를 검색하는 법

질문 : Microsoft Word 에서 개행문자를 Search and Replace 하는 법?
요약 : ^p 로 찾으면 됨
부연 : 참고로 TAB(탭)은 ^t
키워드 : 오피스, MS office

Monday, March 21, 2011

Prezi

http://prezi.com/
Web 2.0 으로 각광받는 프레젠테이션 툴
키워드 : Powerpoint, Power Point, Slides, 프리젠테이션, presentation

Saturday, March 19, 2011

Ruby on Rails

루비온레일즈 - 빠른 웹개발 툴
http://en.wikipedia.org/wiki/Ruby_on_Rails

Monday, March 14, 2011

Prevent websites from resizing Firefox’s browser window

질문 :파이어폭스의 창 사이즈가 자동으로 변경되는 것 방지하는 법?
답 :
1. Go to Tools > Options (맥에서는 Preference)
2. Click on the Content tab
3. Next to where it says “Enable Javascript”, click on Advanced
4. Uncheck the option “Move or resize existing windows”
레퍼런스 : http://www.techspot.com/blog/73/prevent-websites-from-resizing-firefoxs-browser-window/
(Prevent websites from resizing Firefox’s browser window)

Friday, March 11, 2011

amule doesn't start

Q : amule doesn't start
A : Try deleting "muleLock" file. Location is:
Home > Library > Application Support > aMule > muleLock
(Mac OS X)

in-house tool 만들때 간편하게 에러처리하는 법

요약 : 에러를 리턴하는 간편한 방법으로, "-666ΩΩΩΩΩ" 같이 입력할 가능성이 거의 없는 스트링을 리턴하게 하는 방법이 있다. 별도의 처리를 안해줘도 하나의 리턴값으로 처리 가능하므로 코드가 깨끗해진다. 판매용이 아닌 회사 내부에서만 쓸 툴을 짤 때 쓰기 좋은 방법이다.
키워드 : error handling, 에러 핸들링, return value