: [1] : ... [21] : [22] : [23] : [24] : [25] : [26] : [27] :

bot 추가 기능 구상

개발 2006/02/14 00:51
노래방 곡 검색기능
대구버스 검색 개선

-_-
2006/02/14 00:51 2006/02/14 00:51

grub multi boot

리눅스 2006/02/09 20:11
[[ GRUB를 이용한 Windows 2000, Linux 멀티부팅 ]]
---------------------------------------------

1. 먼저 파티션을 나누어 Windows 2000설치한다.

2. Linux(RedHat 7.2) 설치시 GRUB을 부트로더로 하여 MBR(Master Boot Record)에 설치한다.

3. 설치완료후 Rebooting을 하면 Linux로 부팅되는데,

4. Linux 부팅후 /boot/grub/grub.conf에 다음을 추가한다.

title Windows 2000
root (hd0,0)
makeactive
chainloader +1

5. root (hd0,0) --> 첫번째 HardDisk의 첫번째 Partition을 의미한다(root다음 띄어쓰기 주의!!).

6. Rebooting하면 완료...
2006/02/09 20:11 2006/02/09 20:11

Country Code

메모 2006/02/09 16:13
Country Code
---------------------------------------------------
AFGHANISTAN ----------------------------------- AF
ALBANIA --------------------------------------- AL
ALGERIA --------------------------------------- DZ
AMERICAN SAMOA ------------------------------- AS
ANDORRA --------------------------------------- AD
ANGOLA ---------------------------------------- AO
ANGUILLA -------------------------------------- AI
ANTARCTICA ------------------------------------ AQ
ANTIGUA AND BARBUDA --------------------------- AG
ARGENTINA ------------------------------------- AR
ARMENIA --------------------------------------- AM
ARUBA ----------------------------------------- AW
ASCENSION ISLAND ------------------------------ AC
AUSTRALIA ------------------------------------- AU
AUSTRIA --------------------------------------- AT
AZERBAIJAN ------------------------------------ AZ
BAHAMAS --------------------------------------- BS
BAHRAIN --------------------------------------- BH
BANGLADESH ------------------------------------ BD
BARBADOS -------------------------------------- BB
BELARUS --------------------------------------- BY
BELGIUM --------------------------------------- BE
BELIZE ---------------------------------------- BZ
BENIN ----------------------------------------- BJ
BERMUDA --------------------------------------- BM
BHUTAN ---------------------------------------- BT
BOLIVIA --------------------------------------- BO
BOSNIA AND HERZEGOWINA ------------------------ BA
BOTSWANA -------------------------------------- BW
BOUVET ISLAND --------------------------------- BV
BRAZIL ---------------------------------------- BR
BRITISH INDIAN OCEAN TERRITORY ---------------- IO
BRUNEI DARUSSALAM ----------------------------- BN
BULGARIA -------------------------------------- BG
BURKINA FASO ---------------------------------- BF
BURUNDI --------------------------------------- BI
CAMBODIA -------------------------------------- KH
CAMEROON -------------------------------------- CM
CANADA ---------------------------------------- CA
CAPE VERDE ------------------------------------ CV
CAYMAN ISLANDS -------------------------------- KY
CENTRAL AFRICAN REPUBLIC ---------------------- CF
CHAD ------------------------------------------ TD
CHILE ----------------------------------------- CL
CHINA ----------------------------------------- CN
CHRISTMAS ISLAND ------------------------------ CX
COCOS (KEELING) ISLANDS ----------------------- CC
COLOMBIA -------------------------------------- CO
COMOROS --------------------------------------- KM
CONGO, DEMOCRATIC PEOPLE'S REPUBLIC ----------- CD
CONGO, REPUBLIC OF ---------------------------- CG
COOK ISLANDS ---------------------------------- CK
COSTA RICA ------------------------------------ CR
COTE D'IVOIRE --------------------------------- CI
CROATIA (local name: Hrvatska) ---------------- HR
CUBA ------------------------------------------ CU
CYPRUS ---------------------------------------- CY
CZECH REPUBLIC -------------------------------- CZ
DENMARK --------------------------------------- DK
DJIBOUTI -------------------------------------- DJ
DOMINICA -------------------------------------- DM
DOMINICAN REPUBLIC ---------------------------- DO
EAST TIMOR ------------------------------------ TP
ECUADOR --------------------------------------- EC
EGYPT ----------------------------------------- EG
EL SALVADOR ----------------------------------- SV
EQUATORIAL GUINEA ----------------------------- GQ
ERITREA --------------------------------------- ER
ESTONIA --------------------------------------- EE
ETHIOPIA -------------------------------------- ET
FALKLAND ISLANDS (MALVINAS) ------------------- FK
FAROE ISLANDS --------------------------------- FO
FIJI ------------------------------------------ FJ
FINLAND --------------------------------------- FI
FRANCE ---------------------------------------- FR
FRANCE, METROPOLITAN -------------------------- FX
FRENCH GUIANA --------------------------------- GF
FRENCH POLYNESIA ------------------------------ PF
FRENCH SOUTHERN TERRITORIES ------------------- TF
GABON ----------------------------------------- GA
GAMBIA ---------------------------------------- GM
GEORGIA --------------------------------------- GE
GERMANY (DEUTSCHLAND) ------------------------- DE
GHANA ----------------------------------------- GH
GIBRALTAR ------------------------------------- GI
GREECE ---------------------------------------- GR
GREENLAND ------------------------------------- GL
GRENADA --------------------------------------- GD
GUADELOUPE ------------------------------------ GP
GUAM ------------------------------------------ GU
GUATEMALA ------------------------------------- GT
GUERNSEY -------------------------------------- GG
GUINEA ---------------------------------------- GN
GUINEA-BISSAU --------------------------------- GW
GUYANA ---------------------------------------- GY
HAITI ----------------------------------------- HT
HEARD AND MC DONALD ISLANDS ------------------- HM
HOLY SEE (VATICAN CITY STATE) ----------------- VA
HONDURAS -------------------------------------- HN
HONG KONG ------------------------------------- HK
HUNGARY --------------------------------------- HU
ICELAND --------------------------------------- IS
INDIA ----------------------------------------- IN
INDONESIA ------------------------------------- ID
IRAN (ISLAMIC REPUBLIC OF) -------------------- IR
IRAQ ------------------------------------------ IQ
IRELAND --------------------------------------- IE
ISLE OF MAN ----------------------------------- IM
ISRAEL ---------------------------------------- IL
ITALY ----------------------------------------- IT
JAMAICA --------------------------------------- JM
JAPAN ----------------------------------------- JP
JERSEY ---------------------------------------- JE
JORDAN ---------------------------------------- JO
KAZAKHSTAN ------------------------------------ KZ
KENYA ----------------------------------------- KE
KIRIBATI -------------------------------------- KI
KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF -------- KP
KOREA, REPUBLIC OF ---------------------------- KR
KUWAIT ---------------------------------------- KW
KYRGYZSTAN ------------------------------------ KG
LAO PEOPLE'S DEMOCRATIC REPUBLIC -------------- LA
LATVIA ---------------------------------------- LV
LEBANON --------------------------------------- LB
LESOTHO --------------------------------------- LS
LIBERIA --------------------------------------- LR
LIBYAN ARAB JAMAHIRIYA ------------------------ LY
LIECHTENSTEIN --------------------------------- LI
LITHUANIA ------------------------------------- LT
LUXEMBOURG ------------------------------------ LU
MACAU ----------------------------------------- MO
MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF ---- MK
MADAGASCAR ------------------------------------ MG
MALAWI ---------------------------------------- MW
MALAYSIA -------------------------------------- MY
MALDIVES -------------------------------------- MV
MALI ------------------------------------------ ML
MALTA ----------------------------------------- MT
MARSHALL ISLANDS ------------------------------ MH
MARTINIQUE ------------------------------------ MQ
MAURITANIA ------------------------------------ MR
MAURITIUS ------------------------------------- MU
MAYOTTE --------------------------------------- YT
MEXICO ---------------------------------------- MX
MICRONESIA, FEDERATED STATES OF --------------- FM
MOLDOVA, REPUBLIC OF -------------------------- MD
MONACO ---------------------------------------- MC
MONGOLIA -------------------------------------- MN
MONTSERRAT ------------------------------------ MS
MOROCCO --------------------------------------- MA
MOZAMBIQUE ------------------------------------ MZ
MYANMAR --------------------------------------- MM
NAMIBIA --------------------------------------- NA
NAURU ----------------------------------------- NR
NEPAL ----------------------------------------- NP
NETHERLANDS ----------------------------------- NL
NETHERLANDS ANTILLES -------------------------- AN
NEW CALEDONIA --------------------------------- NC
NEW ZEALAND ----------------------------------- NZ
NICARAGUA ------------------------------------- NI
NIGER ----------------------------------------- NE
NIGERIA --------------------------------------- NG
NIUE ------------------------------------------ NU
NORFOLK ISLAND -------------------------------- NF
NORTHERN MARIANA ISLANDS ---------------------- MP
NORWAY ---------------------------------------- NO
OMAN ------------------------------------------ OM
PAKISTAN -------------------------------------- PK
PALAU ----------------------------------------- PW
PANAMA ---------------------------------------- PA
PAPUA NEW GUINEA ------------------------------ PG
PARAGUAY -------------------------------------- PY
PERU ------------------------------------------ PE
PHILIPPINES ----------------------------------- PH
PITCAIRN -------------------------------------- PN
POLAND ---------------------------------------- PL
PORTUGAL -------------------------------------- PT
PUERTO RICO ----------------------------------- PR
QATAR ----------------------------------------- QA
REUNION --------------------------------------- RE
ROMANIA --------------------------------------- RO
RUSSIAN FEDERATION ---------------------------- RU
RWANDA ---------------------------------------- RW
SAINT KITTS AND NEVIS ------------------------- KN
SAINT LUCIA ----------------------------------- LC
SAINT VINCENT AND THE GRENADINES -------------- VC
SAMOA ----------------------------------------- WS
SAN MARINO ------------------------------------ SM
SAO TOME AND PRINCIPE ------------------------- ST
SAUDI ARABIA ---------------------------------- SA
SENEGAL --------------------------------------- SN
SEYCHELLES ------------------------------------ SC
SIERRA LEONE ---------------------------------- SL
SINGAPORE ------------------------------------- SG
SLOVAKIA (Slovak Republic) -------------------- SK
SLOVENIA ------------------------------------- SI
SOLOMON ISLANDS ------------------------------- SB
SOMALIA --------------------------------------- SO
SOUTH AFRICA ---------------------------------- ZA
SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS -- GS
SPAIN ----------------------------------------- ES
SRI LANKA ------------------------------------- LK
ST. HELENA ------------------------------------ SH
ST. PIERRE AND MIQUELON ----------------------- PM
SUDAN ----------------------------------------- SD
SURINAME -------------------------------------- SR
SVALBARD AND JAN MAYEN ISLANDS ---------------- SJ
SWAZILAND ------------------------------------- SZ
SWEDEN ---------------------------------------- SE
SWITZERLAND ----------------------------------- CH
SYRIAN ARAB REPUBLIC -------------------------- SY
TAIWAN ---------------------------------------- TW
TAJIKISTAN ------------------------------------ TJ
TANZANIA, UNITED REPUBLIC OF ------------------ TZ
THAILAND -------------------------------------- TH
TOGO ------------------------------------------ TG
TOKELAU --------------------------------------- TK
TONGA ----------------------------------------- TO
TRINIDAD AND TOBAGO --------------------------- TT
TUNISIA --------------------------------------- TN
TURKEY ---------------------------------------- TR
TURKMENISTAN ---------------------------------- TM
TURKS AND CAICOS ISLANDS ---------------------- TC
TUVALU ---------------------------------------- TV
UGANDA ---------------------------------------- UG
UKRAINE --------------------------------------- UA
UNITED ARAB EMIRATES -------------------------- AE
UNITED KINGDOM -------------------------------- UK
UNITED STATES --------------------------------- US
UNITED STATES MINOR OUTLYING ISLANDS ---------- UM
URUGUAY --------------------------------------- UY
UZBEKISTAN ------------------------------------ UZ
VANUATU --------------------------------------- VU
VATICAN CITY STATE (HOLY SEE) ----------------- VA
VENEZUELA ------------------------------------- VE
VIET NAM -------------------------------------- VN
VIRGIN ISLANDS (BRITISH) ---------------------- VG
VIRGIN ISLANDS (U.S.) ------------------------- VI
WALLIS AND FUTUNA ISLANDS --------------------- WF
WESTERN SAHARA -------------------------------- EH
YEMEN ----------------------------------------- YE
YUGOSLAVIA ------------------------------------ YU
ZAIRE ----------------------------------------- ZR
ZAMBIA ---------------------------------------- ZM
ZIMBABWE -------------------------------------- ZW
2006/02/09 16:13 2006/02/09 16:13

우분투 한영키

리눅스 2006/02/04 00:02
http://www.ubuntu.or.kr/wiki.php/%ED%95%9C%EC%98%81%ED%82%A4


http://bbs.kldp.org/viewtopic.php?t=65796&highlight=%BF%EC%BA%D0%C5%F5+%B3%AA%BA%F1
2006/02/04 00:02 2006/02/04 00:02

http://prome.snu.ac.kr/~instps/board2/crgtest/crgtest.cgi?action=read
2006/01/25 09:59 2006/01/25 09:59

srpm build

리눅스 2006/01/20 16:32
http://www.linuxfactory.org/board/read.php?table=pds&no=139&page=1&PHPSESSID=fa8696729521df23e5ffaaf232dd9e2c

RPM생성은(i686기준, target에 플랫폼에 맞게 넣으세요.)

# rpmbuild --rebuild --target=i686 unrar-3.2.2-lse.src.rpm

/usr/src/redhat/RPMS/i686 디렉에 생성됩니다.
2006/01/20 16:32 2006/01/20 16:32

.

재미 2006/01/18 07:44
2006/01/18 07:44 2006/01/18 07:44

어제
IgetLinux 를 설치하고,

gaim으로 봇에게 메세지를 날려봤다

그런데 이게 왠일인가!!
msn messenger, webmessenger, jmsn, minimsn,
심지어는 폰으로 해도 응답이 잘 작동하던
봇이 이상하게도 정상적으로 작동하질 않는 것이었다.

터미널 창을열고
ssh 접속을해서,

상태를 봤다

gaim에서 보낸 메세지에 줄바꿈이 들어가 전송이 되는것이었다.

윈도우로 돌아와서,
eclipse 디버깅으로,
gaim에서 넘어온 메세지를 보니
\r\n 이 앞에 붙어서 날라오는걸 확인했다


String rm = mime.getMessage();; // args[0];
               if(rm.startsWith("\r\n")){
                       rm = rm.substring(2);//gaim 에서 메세지들어올때 \r\n이 붙어서 들어옴
               }
이렇게 코드를 수정했다.
2006/01/14 11:17 2006/01/14 11:17

jdk install

리눅스 2006/01/07 14:08
http://jjuriet.egloos.com/1018675/

2. jdk 설치
(http://java.sun.com 에서 다운로드 가능)
#chmod +x jdk-1_5_0_06-linux-i586.bin
#./jdk-1_5_0_06-linux-i586.bin
Do you agree to the above license terms? [yes or no]
yes
# vi /etc/profile
PATH="$PATH:/usr/local/jdk1_5_0_06/bin"
export JAVA_HOME="/usr/local/jdk1_5_0_06"
두줄 추가
# source profile
2006/01/07 14:08 2006/01/07 14:08

작성자 : qwert (2004-10-13 19:54)
제목 : 하부 디렉토리까지 특정 이름의 파일 찾아서 지우기  

만약에 cvs로 받은 패키지의 'CVS'디렉토리를 모두 지운다면,

'find . -name CVS -exec rm -rf {} \;'를 실행한다.
[ 이 글에 댓글달기 | 본문에 댓글달기 | 수정 | 삭제]  


작성자 : 검은밤하늘 (2004-10-15 21:45)
제목 : 작성된지 30일 이상 지난 파일을 모두 지우기  

작성되거나 변경된지 30일 이상 지난 파일을 모두 지울려면

find . -mtime +30 -exec rm -f {} \;


-mtime 옵션은 최종변경시간을 체크하는 옵션이죠.
/tmp 나 /var/log 디렉토리에서 오래된 파일을 지울 때 유용한 옵션입니다.  


http://man.linux.co.kr/?platform=redhat9&program=find§ion=1
2006/01/06 13:17 2006/01/06 13:17

: [1] : ... [21] : [22] : [23] : [24] : [25] : [26] : [27] :