2010년 1월 10일 일요일

[WINDOW] 윈도우 환경변수



<PARAM NAME="Run" VALUE="%windir%\notepad.exe">
<PARAM NAME="RunParms" VALUE="%desktop%\sales.txt">
<PARAM NAME="DefDir" VALUE="%mydocuments%">

  Example - explore Internet Explorer's cache:

<PARAM NAME="Run" VALUE="%windir%\explorer.exe">
<PARAM NAME="RunParms" VALUE="%internet_cache%">


VariableDescription
%yourvariable%Custom Variable
Any variable seen by the shell. IntraLaunch 4.8 and higher required. Can only be used withGetVariable().
%windir%Windows directory
Eg. C:\WINNT
%sysdir%Windows system folder
Eg. C:\WINNT\SYSTEM32
%program_files%Program Files directory
Eg. C:\Program Files
%program_files_common%Program Files\Common Files
Eg. C:\Program Files\Common Files
%desktop%Desktop folder
Eg. C:\Documents and Settings\Administrator\Desktop
%startmenu%Start Menu folder
Eg. C:\Documents and Settings\Administrator\Start Menu
%startmenu_programs%Start Menu - Programs folder
Eg. C:\Documents and Settings\Administrator\Start Menu\Programs
%startmenu_startup%Start Menu - Startup folder
Eg. C:\Documents and Settings\Administrator\Start Menu\Programs\Startup
%mydocuments%My Documents folder
Eg. C:\Documents and Settings\Administrator\My Documents
%favorites%Favorites folder
Eg. C:\Documents and Settings\Administrator\Favorites
%recent%Recently used folder
Eg. C:\Documents and Settings\Administrator\Recent
%sendto%SendTo folder
Eg. C:\Documents and Settings\Administrator\SendTo
%user_desktop%Desktop folder
Eg. C:\Documents and Settings\Administrator\Desktop
%fonts%Fonts folder
Eg. C:\WINNT\Fonts
%templates%Templates folder
Eg. C:\Documents and Settings\Administrator\Templates
%common_startmenu%Common Start Menu folder
Eg. C:\Documents and Settings\All Users\Start Menu
%common_startmenu_programs%Common Start Menu - Programs
Eg. C:\Documents and Settings\All Users\Start Menu\Programs
%common_startmenu_startup%Common Start Menu - Startup
Eg. C:\Documents and Settings\All Users\Start Menu\Programs\Startup
%common_desktop%Common desktop folder
Eg. C:\Documents and Settings\All Users\Desktop
%appdata%Application Data folder
Eg. C:\Documents and Settings\Administrator\Application Data
%internet_cache%IE cache folder
Eg. C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files
%cookies%IE Cookies folder
Eg. C:\Documents and Settings\Administrator\Cookies
%history%History folder
Eg. C:\Documents and Settings\Administrator\Local Settings\History
%mypictures%My Pictures folder
Eg. C:\Documents and Settings\Administrator\My Documents\My Pictures
%profile%Users profile root folder
Eg. C:\Documents and Settings\Administrator
%nethood%Network neighborhood
Eg. C:\Documents and Settings\Administrator\NetHood
%common_templates%Common templates folder
Eg. C:\Documents and Settings\All Users\Templates
%common_documents%Common documents folder
Eg. C:\Documents and Settings\All Users\Documents
%username% *Username of user logged in
Eg. Administrator
%userdomain% *Domain user is currently part of
Eg. DOMAINNAME
%tmpfolder% *Path to TMP folder
Eg. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
%tempfolder% *Path to TEMP folder
Eg. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
%systemdrive% *Drive letter of system drive
Eg. C:
%os% *Name of operating system in use
Eg. Windows_NT
%homepath% *Typicall path to root
Eg. \
%homedrive% *Path home drive is on
Eg. C:
%comspec% *Full path to command interperter
Eg. C:\WINNT\system32\cmd.exe
%computername% *Name of workstation
Eg. COMPUTERNAME
  • These new variables are obtained from the workstation's shell. Opening a command prompt and doing a "set" command will show them under WindowsNT and higher. These variables must be explicitly set under Windows95/98/ME in autoexec.bat.

[블로그] 텍큐 배경화면 편집하기

그동안 미뤄왔던 블로그 대문공사를 위해

hisastro님의 텍스트큐브 상단 타이틀 배경 아주 쉽게 변경하기 글을 참고해서

블로그 대문을 수정해 보려 했다.

뽀샵질도 좀 했다..ㅠㅠ

 

1. 당초 계획은 아래 처럼 생긴 bg_header.gif 파일을 하나 만들어서 원래파일대신 교체하는것

근데 요놈이 파일만 교체한다고 되는게 아니라 소스도 수정해야 한단다. (빨간코드대신 파란코드로)

 

이과정에서 알게된것은

  1. 구지 원래이름인 bg_header.gif를 사용안해도 된다든것과,
  2. gif형식 외에 png형식의 파일도 지원한다는것이다.

png파일 사용의 이점은 투명/불투명 효과를 줄수 있다는것이다.

 

사진으로 보면

위처럼 흰부분이 짤라져 보이게 되면 뭔가 부조화 스러워 보이는데,

요로코롬 반투명 효과를 적용할수 있다는것.

하지만 원래 배경파일(SWblogBgImage.gif)의 저 왜있는지 모르는 사람들때문에 영구리다.

 

2. 그래서 배경파일(SWblogBgImage.gif) 자체를 수정하기로 했다.

그래서 원본파일에 텍스트를 배치할 공간을 확보하기위해 쓸모없는 부분을 지워버리고.

글자들을 배치했다.

  1. SWblogBgImage.gif 로 upload 하고,
  2. 기존의 header로 쓰던 starland_900_200.png 파일은 싹지워버리고 빈파일로 저장해서 upload했다.
    1. 1.에서 수정했던 코드를 수정해도 되지만 (img src부분을 삭제)

    1. 귀찮아서 starland_900_200.png 파일을 빈파일로 upload했다.

 

3. 그 결과.

요로코롬 정신없는 배경을 만들게 되었다^^

 

 

사람이든 블로그든, 껍데기에 속지말고 내용에 충실해야 하거늘

자꾸 겉모습에만 손이간다….ㅠㅠ 2010/01/11 새벽에….

[유용한툴]fixel ruler (픽셀측정자)

 

평소갖고 싶었던놈이었는데, 생각난김에 깔아봤다.

http://www.mioplanet.com/products/pixelruler/

여기서 무료로 다운받을수 있고,

요렇게 생겼다. 사용법은 간단하다

좌클릭하면 세로↔가로 방향이 바뀌고

우클릭하면 꺼진다.

기본사이즈 600 px보다 크게 마우스 커서를 움직이면 자동으로 커진다.

드래그해서 이리저리 끌고 옮겨다닐 수 있다.

 

몇해전에 달통이라는 위젯 사이트에서 비슷한 fixcel ruler를 썼는데,

고놈의 단점은 꼭 달통 매니져가 있어야 한다는것.

 

괜찮은 놈일것 같다.^^

요즘 블로깅을 하면서 꽤 필요해진 녀석이다.

요렇게 측정할때 좋다!!

[블로그] 블로그 관련

출처 : http://hisastro.textcube.com/

 

텍스트큐브 상단 타이틀 배경 아주 쉽게 변경하기

텍스트큐브 상단 타이틀 배경에 블로그 링크 아주 쉽게 걸기

 

[짬통]제안서 배경에 좋은 고해상도 이미지

제안서 배경에 좋은 고해상도 이미지 하나

 

출처 : http://hisastro.textcube.com/tag/고해상도%20이미지?page=1

 

세상엔 퍼나르기에도 시간이 부족한 너무나도 많은 좋은 자료들이 있다.

[Oracle] Installing Oracle Database 11g Release 2 on Linux x86

출처 : http://linux.textcube.com/

 

===================================================

===================================================

2010년 1월 6일 수요일

[Oracle] session kill 하기

 

SQL> select sid, serial# from v$session where sid='223';

       SID    SERIAL#
---------- ----------
       223      25336

SQL>

SQL>

SQL>

SQL> alter system kill session '223, 25336';

System altered.

Elapsed: 00:00:01.02
SQL>