2010년 8월 10일 화요일

에시드의 미투데이 - 2010년 8월 9일

  • 정말 덥다yo 좀있다 나가야 하는데.. 흑흑흑(무더위 미투광장 미친1000명도전) 2010-08-09 12:47:30

이 글은 에시드님의 2010년 8월 9일의 미투데이 내용입니다.

2010년 7월 28일 수요일

에시드의 미투데이 - 2010년 7월 27일

  • 술이 럼 땡기는데 잔차타러감(싱글기어 싱글인생 ㅠㅠ me2mobile) 2010-07-27 19:55:26

이 글은 에시드님의 2010년 7월 27일의 미투데이 내용입니다.

2010년 7월 26일 월요일

vi에서 ^M 삭제

window 시스템의 Enter 문자를 뜻하는 ^M문자가 텍스트 중에 있을때, vi 를 사용해서 간단하게 모두 삭제할수 있습니다.

명령은 ex 모드에서

:%s/(ctrl+v)M//g

입니다.

(ctrl+v)M 은 ctrl과 v를 눌러준후, ctrl키를 떼지 말고 바로 m을 눌러주시믄 됩니다.
위는 정규표현식을 이용한것이고, 형식은 %s/이것을/요걸로/g입니다
그럼 문서안의 모든 "이것을" "요걸로" 바꾸게 되죠.
단, ^M의 경우 ctrl+M의 뜻인데 단순히 문자로 ^M을 바꾸라도 해도 인식을 못하기 때문에, 위처럼 (ctrl+v)M으로 해주셔야 합니다.

2010년 6월 11일 금요일

에시드의 미투데이 - 2010년 6월 10일

  • 헛수고하느랴 수고많으셨음 ㅠㅠ 물론 경험은 되었지만….(인생경험치가 +5만큼 증가하였습니다 me2mobile) 2010-06-10 15:48:09

이 글은 에시드님의 2010년 6월 10일의 미투데이 내용입니다.

2010년 6월 4일 금요일

Oracle XE: Changing the default http port

XE: Changing the default http port

Oracle XE uses the embedded http listener that comes with the XML DB (XDB) to serve http requests. The default port for HTTP access is 8080.

It also supports the WebDAV protocol just as well as FTP.

You can determine the current configuration using the following commands when you connect to XE as the oracle user SYSTEM (or any other DBA):


C:\WINDOWS\system32>sqlplus system@xe

SQL*Plus: Release 10.1.0.2.0 - Production on Mi Jan 25 11:44:33 2006

Copyright (c) 1982, 2004, Oracle. All rights reserved.

Enter password:

Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Beta

SQL> -- get current status
SQL> select dbms_xdb.gethttpport as "HTTP-Port"
, dbms_xdb.getftpport as "FTP-Port" from dual;

HTTP-Port FTP-Port
---------- ----------
8080 0

You can change the http port and the ftp port to whatever you like (keep in mind that you need special privileges for ports < 1024 on Unix/Linux systems).

SQL> -- set http port and ftp port
SQL> begin
2 dbms_xdb.sethttpport('80');
3 dbms_xdb.setftpport('2100');
4 end;
5 /

PL/SQL procedure successfully completed.

SQL> select dbms_xdb.gethttpport as "HTTP-Port"
, dbms_xdb.getftpport as "FTP-Port" from dual;

HTTP-Port FTP-Port
---------- ----------
80 2100

If you only want to use the database without allowing access via http or ftp then you can disable both:

SQL> -- disable http and ftp access
SQL> begin
2 dbms_xdb.sethttpport('0');
3 dbms_xdb.setftpport('0');
4 end;
5 /

PL/SQL procedure successfully completed.

SQL> -- get current status
SQL> select dbms_xdb.gethttpport as "HTTP-Port"
, dbms_xdb.getftpport as "FTP-Port" from dual;

HTTP-Port FTP-Port
---------- ----------

 

2010년 6월 3일 목요일

org.eclipse.wst.common.component 수정

이클립스에서

tomcat에  ADD and Remove 할시 프로젝트 이름 수정할 파일은

 

각 워크스페이스 안에 .settings폴더 안에

 

org.eclipse.wst.common.component

 

파일을 열어 수정한후 리프레시 한방 한다.