"C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.EXE" "%1"
귀찮아서;;
in the status bar
CEikStatusPane* sp=iEikonEnv->AppUiFactory()->StatusPane();
CAknContextPane* cp=(CAknContextPane *)sp->ControlL(TUid::Uid(EEikStatusPaneUidContext));
_LIT(KContextBitMapFile, "my_bitmap_file.mbm");
CFbsBitmap* bitmap = iEikonEnv->CreateBitmapL(KContextBitMapFile, EMbmBitmap);
CleanupStack::PushL(bitmap);
CFbsBitmap*  bitmapmask = iEikonEnv->CreateBitmapL(KContextBitMapFile, EMbmBitmapMask);
CleanupStack::PushL(bitmapmask);
cp->SetPicture(bitmap, bitmapmask);
CleanupStack::Pop(); // bitmapmask
CleanupStack::Pop(); // bitmap
DrawNow();

mount -o rw,remount /media/usbmemory

http://hangeul.naver.com/share.nhn 에서 수동설치 버젼을 다운받는다.

압축파일을 열어보면 파일명이 깨져있다...흠...

윈도우에서 압축관리자로 풀어지지 않으면, 터미널에서  unzip으로 풀어준다.

깨진 파일명을 수동으로 바꿔준다.

디렉토리 이동
$cd /usr/share/fonts/truetype/

나눔폰트 디렉토리 생성
$sudo mkdir NanumFont

생성한 디렉토리에 나눔폰트 복사
$sudo cp /home/dynaforce/바탕화면/NanumFont/*.ttf /usr/share/fonts/truetype/NanumFont/

폰트적용
$
fc-cache -f

안티앨리어스 적용
$sudo vi /etc/fonts/conf.avail/29-language-selector-ko-kr.conf

아래 부분을 찾아서 수정
<!-- Turn off antialias and autohint for Korean fonts depending on pixelsize -->
<!-- <match target="font">
        <test name="lang" compare="contains">
                <string>ko</string>
        </test>
        <test name="pixelsize" compare="more">
                <int>10</int>
        </test>
        <test name="pixelsize" compare="less">
                <int>22</int>
        </test>
        <edit name="antialias" mode="assign">
                <bool>true</bool>
        </edit>
        <edit name="autohint" mode="assign">
                <bool>true</bool>
        </edit>
        <edit name="hintstyle" mode="assign">
                <const>hintmedium</const>
        </edit>
</match> -->

참조 : http://scitech.tistory.com/199
         http://scitech.tistory.com/200

$sudo passwd root
$sudo vi /etc/modprobe.d/blacklist.conf

아래 내용이 있으면 주석을 해제하고 없으면 추가하면 된다.

# 비프음 제거
blacklist pcspkr



K2000 설정방법

A 마우스 설정방법
1. 마우스에서 마우스 밑면에 있는 동글을 제거 합니다.
2. 마우스에 충전용 케이블을 연결시켜 충전합니다.
3. 마우스에서 제거한 동글을 컴퓨터 USB 포터에 삽입합니다. (방향 주의)
4. 동글 삽입후 20~30초 후에 동글에 있는 리셋 스위치를 (동글 중앙에 가까운구멍) 볼펜심으로 눌러주면 LED가 0.5초 간격으로 점등합니다.
(만약 불빛이 반짝이지 않으면 동글 방향을 반대로 돌려서 삽입하시고 20~30초 후에 4번 항목을 재시행합니다)
5. 마우스의 밑면 동글에 있던 위치의 스위치를 한번 누러주면 불이나갑니다.
6. 마우스의 양쪽키와 휠키 3가지를 동시에 한번만 눌러주고 난뒤 한번더 우측키를 눌러서 빠른 속도로 마우스를 좌우로 흔들어 주면 커서가 움직이면서 LED가 0.2초 간격으로 점등합니다.
키을 누를때 귀뚜라미 소리가 납니다 만약 소리가 나지 않으면 6번항 재시행 하십시요.

B 키보드 설정방법
1. 키보드는 오른쪽 shift 버튼을 누르고 있는 상태에서 키보드 맨위에 위치한 왼쪽에서 두번째 이메일 키버튼를 눌러줍니다.
2. 키보드 우측 상단 LED 표시등 오른쪽 scroll Lock 표시등에 불이 들어오면 정상적으로 연결 되었다는 표시입니다.(동글의 깜빡이던 불은 점멸됩니다)
char* UTF8toANSI(char *pszCode)
{
    BSTR    bstrWide;   
    char*   pszAnsi;   
    int     nLength;       
 
    // Get nLength of the Wide Char buffer   
    nLength = MultiByteToWideChar(CP_UTF8, 0, pszCode, lstrlen(pszCode) + 1,NULL, NULL);
    bstrWide = SysAllocStringLen(NULL, nLength);   
 
    // Change UTF-8 to Unicode (UTF-16)   
    MultiByteToWideChar(CP_UTF8, 0, pszCode, lstrlen(pszCode) + 1, bstrWide, nLength);
 
    // Get nLength of the multi byte buffer    
    nLength = WideCharToMultiByte(CP_ACP, 0, bstrWide, -1, NULL, 0, NULL, NULL);
    pszAnsi = new char[nLength];   
    
    // Change from unicode to multi byte   
    WideCharToMultiByte(CP_ACP, 0, bstrWide, -1, pszAnsi, nLength, NULL, NULL);
 
    SysFreeString(bstrWide);   
 
    return pszAnsi;   
}
int CheckEncodingType(CString strPage)
{
//////////////////////////////////////////////////////////////////////////
// 
// Function : CheckEncodingType
// Param : LPCTSTR lpFilelocation 파일의 저장위치
// Return : integer;    0  = ANSI
//                      1  = UTF-8
//                      2  = Unicode LE
//                      3  = Unicdoe BE
//                      -1 = File Error
//
// description : 텍스트의 인코딩 형식을 찾아 리턴한다
    int nRet = 0;
    BYTE btBuf[8];
    memset(btBuf, 0, 8);
    //BOM 정의
    BYTE btBOM_UnicodeBE[] = {0xFE, 0xFF};
    BYTE btBOM_UnicodeLE[] = {0xFF, 0xFE};
    BYTE btBOM_UTF8[] = {0xEF, 0xBB, 0xBF};
    //3바이트이상
    if(strPage.GetLength() < 3)
        return -1;
    if(memcmp(btBuf, btBOM_UnicodeLE, 2) == 0) //Unicode Little Endian
    {
        nRet = 2;
        return nRet;
    }
    else if(memcmp(btBuf, btBOM_UnicodeBE, 2) == 0) //Unicode Big Endian
    {
        nRet = 3;
        return nRet;
    }
    else if(memcmp(btBuf, btBOM_UTF8, 3) == 0) //UTF-8
    {
        nRet = 1;
        return nRet;
    }
    // ANSI와 UTF-8을 노가다로 판단하는 루틴
    memset(btBuf, 0, 8);
    int nLookNum = 0; // 이후 출현할 바이트 개수값
    int nRead = 0;
    int nANSINum = 0;
    for (int i=0; i 0) //내부 검사
            {
                nLookNum--;             
                if(btBuf[0] >= 0x80 && btBuf[0] <= 0xBF)
                    continue;
                else
                    return 0; //ANSI 리턴
            }
            else  //최외각 검사
            {
                if(btBuf[0] >= 0xC0 && btBuf[0] <= 0xDF)  nLookNum = 1;
                else if(btBuf[0] >= 0xE0 && btBuf[0] <= 0xEF) nLookNum = 2;
                else if(btBuf[0] >= 0xF0 && btBuf[0] <= 0xF7) nLookNum = 3;
                else if(btBuf[0] >= 0xF8 && btBuf[0] <= 0xFB) nLookNum = 4;
                else if(btBuf[0] == 0xFC || btBuf[0] == 0xFD) nLookNum = 5;
                else           nANSINum++;
                continue;
            }
        }
    }   
    if(nRead != nANSINum) nRet = 1;
    else     nRet = 0;
    return nRet;
}

출처 : 데브피아
http://www.devpia.com/MAEUL/Contents/Detail.aspx?BoardID=50&MAEULNo=20&no=568605&ref=561246
기본적으로 지역명으로 가져올 수 있는 경우의 URL은

http://www.google.com/ig/api?weather=Seoul
http://www.google.com/ig/api?weather=Busan

등이 있다.

하지만 위와 같이 지역명으로 가져올 수 없는 지역일 경우,
http://www.google.com/ig/cities?output=xml&hl=ko&country=kr

에서, 해당지역의 위도와 경도를 찾아 입력하여 주면 된다.

예를 들어 강릉의 경우,

Gangneung 으로 정보를 불러올 수 없지만 아래와 같이 위도와 경도를 입력하여 줌으로써 원하는 정보를 얻을 수 있다.

http://www.google.com/ig/api?hl=ko&weather=gangneung,,,37750000,12889993