밥벌이에 해당되는 글 105건
2010/08/30 :: svnsync on Windows
2010/08/27 :: perl study ..."*"?
2010/08/04 :: TRACE (3)
2010/07/20 :: [VC++] .rc 컴파일
2010/07/06 :: 포렌식 툴 인증
2010/07/02 :: QT Reference url (3)
2010/02/06 :: Mork Sturcture (1)
svnsync on Windows
http://www.pyrasis.com/main/Subversion-HOWTO#s-5.17

Windows의 경우는 아래와 같이 사용합니다.

저장소 생성
C:\repos>svnadmin create syncsample
새로 만든 저장소의 hooks 디렉토리에 pre-revprop-change.bat라는 빈 파일을 만듭니다.

초기화
C:\repos>svnsync init file:///c:/repos/syncsample http://svn.collab.net/repos/svn

저장소 복사
C:\repos>svnsync sync file:///c:/repos/syncsample
이올린에 북마크하기(0) 이올린에 추천하기(0)
2010/08/30 17:26 2010/08/30 17:26

 태그 : 
이 글의 관련글(Trackback) 주소 :: http://www.sojins.net/tt/sojins/trackback/1173
Name
Password
Homepage
비밀글 (Secret)
print "*" x $_ . "\n" for (1..5);

여기서 $_ 하고,  sub 안에서의 $_ 무슨 차이...?
이올린에 북마크하기(0) 이올린에 추천하기(0)
2010/08/27 12:01 2010/08/27 12:01

 태그 : 
이 글의 관련글(Trackback) 주소 :: http://www.sojins.net/tt/sojins/trackback/1172
Name
Password
Homepage
비밀글 (Secret)
TRACE
http://www.ibm.com/developerworks/kr/library/tutorial/au-apptracing/section3.html

솔라리스는 gdb가 안되길래... 솔라리스 서버에 gdb 설치안되어 있고, 외부 네트웍 연결도 불가 ㅠ.ㅜ

Debugging a Program With dbx
http://dlc.sun.com/pdf/819-3683/819-3683.pdf

+
Sun Studio 11
http://docs.sun.com/app/docs/coll/771.7

http://docs.sun.com/app/docs/prod/appl.int.srvrs?l=en#hic
이올린에 북마크하기
2010/08/04 19:23 2010/08/04 19:23

이 글의 관련글(Trackback) 주소 :: http://www.sojins.net/tt/sojins/trackback/1156
sojins| 2010/08/12 13:48 | PERMALINK | EDIT/DEL | REPLY
http://tldp.org/HOWTO/HOWTO-INDEX/howtos.html
sojins| 2010/08/12 13:49 | PERMALINK | EDIT/DEL | REPLY
http://tldp.org/HOWTO/Program-Library-HOWTO/index.html
sojins| 2010/08/23 11:21 | PERMALINK | EDIT/DEL | REPLY
sigsegv segmentation fault occurred
Name
Password
Homepage
비밀글 (Secret)
http://www.microsoft.com/whdc/DevTools/WDK/WDKpkg.mspx

이올린에 북마크하기(0) 이올린에 추천하기(0)
2010/07/23 10:15 2010/07/23 10:15

 태그 : 
이 글의 관련글(Trackback) 주소 :: http://www.sojins.net/tt/sojins/trackback/1151
| 2010/07/23 10:25 | PERMALINK | EDIT/DEL | REPLY
관리자만 볼 수 있는 댓글입니다.
| 2010/07/23 18:27 | PERMALINK | EDIT/DEL | REPLY
관리자만 볼 수 있는 댓글입니다.
| 2010/07/23 18:27 | PERMALINK | EDIT/DEL | REPLY
관리자만 볼 수 있는 댓글입니다.
Name
Password
Homepage
비밀글 (Secret)
다국어 리소스를 포함한 프로젝트가 build/clean 둘 다 안되어서
.rc를 의심했다. 깨진 글자나 뭐 다른게 있을까 해서...

VS2005에서는 맛이 가는 문제가 있어서 command로 컴파일 해봤다.

rc.exe /i "C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include;C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Include" [resource-file]


이렇게 컴파일하면, 문제를 일으킨 위치가 표시된다.
문자열의 경우 따옴표 짝이 안맞으면, RC2104 번 오류가 표시된다.
RC2104가 발생하면 바로 윗줄을 봐주는 센스가 필요함!
(MSDN에서 해결책이랍시고 나와있는 걸 보니... 좀 쌩뚱맞더라;)

+ 덧
1. rc.exe /? 하면 도움말 표시된다.
2. /i 대신 환경변수의 INCLUDE에 추가해도 된다.

이올린에 북마크하기(0) 이올린에 추천하기(0)
2010/07/20 19:14 2010/07/20 19:14

 태그 : 
이 글의 관련글(Trackback) 주소 :: http://www.sojins.net/tt/sojins/trackback/1146
Name
Password
Homepage
비밀글 (Secret)
포렌식 툴 인증
Computer Forensic Tool Testing, NIST
http://www.cftt.nist.gov/

Computer Forensic Reference Data Sets, NIST
http://www.cfreds.nist.gov/


이올린에 북마크하기(0) 이올린에 추천하기(0)
2010/07/06 19:53 2010/07/06 19:53

 태그 : 
이 글의 관련글(Trackback) 주소 :: http://www.sojins.net/tt/sojins/trackback/1133
Name
Password
Homepage
비밀글 (Secret)
http://doc.qt.nokia.com/latest/examples.html

이올린에 북마크하기(0) 이올린에 추천하기(0)
2010/07/02 19:11 2010/07/02 19:11

 태그 : 
이 글의 관련글(Trackback) 주소 :: http://www.sojins.net/tt/sojins/trackback/1127
sojins| 2010/07/02 19:11 | PERMALINK | EDIT/DEL | REPLY
http://doc.trolltech.com/3.3/qprocess.html
sojins| 2010/07/23 10:26 | PERMALINK | EDIT/DEL | REPLY
http://techbase.kde.org/Development/Tutorials/First_program_%28ko%29
sojins| 2010/07/23 10:26 | PERMALINK | EDIT/DEL | REPLY
http://techbase.kde.org/Development/Tutorials/CMake_%28ko%29#KDevelop_.ED.94.84.EB.A1.9C.EC.A0.9D.ED.8A.B8_.ED.8C.8C.EC.9D.BC
Name
Password
Homepage
비밀글 (Secret)
/* 컨버팅 함수 만들었다.*/

int ConvertMorkStrToUnicode(const char* strIN, char *strOut, size_t outsize)
{
ASSERT(strIN);
int len = (int)strlen(strIN);

if (len > (int)outsize)
return -1;
int from=0, to=0;
char ch, cHigh, cLow;
while(len>from)
{
ch = strIN[from++];
switch(ch)
{
case 0x24: // '$': escape the next two hex bytes which encode a single octet
{
cHigh = strIN[from++];
cLow = strIN[from++];
cHigh = cHigh > 0x40 ? cHigh%0x37 : cHigh%0x30;
cLow  = cLow > 0x40 ? cLow%0x37 : cLow%0x30;
strOut[to++] = cHigh << 4 | cLow;
continue;
}
break;
case 0x5c: // '\\'
{
// CR,LF(#xD, #xA)
if (strIN[from] == 0x0d && strIN[from+1] == 0x0a) // escape line ending
{
from+=2;
continue;
}
ch = strIN[from++];
}
break;
case 0x29: // ')' End of literal
continue;
default:
break;
}
strOut[to++] = ch;
};
// terminate to null
strOut[to] = strOut[to+1] = 0;

return to;
}

이올린에 북마크하기(0) 이올린에 추천하기(0)
2010/02/06 17:47 2010/02/06 17:47

 태그 : 
이 글의 관련글(Trackback) 주소 :: http://www.sojins.net/tt/sojins/trackback/1093
Name
Password
Homepage
비밀글 (Secret)
Mork Sturcture
source : https://developer.mozilla.org/en/Mork_Structure
FireFox2에서 사용하는 history.dat 의 name(url title) 인코딩 참조

Literals

A Mork literal is a binary octet sequence encoded as plain text. Every byte becomes literally the next byte of the value, unless certain bytes are seen which have metacharacter status. (Why is there more than one metachar? Because it might shrink markup. Complexity here is worth some compression.)

  • ) - close paren - end of literal
  • $ - dollar - escape the next two hex bytes which encode a single octet
  • \ - backslash - if the next byte is either #xA or #xD, omit linebreak from literal; otherwise escape next byte. For example, \ removes metachar status from an immediately following \, $, or ).

The first metachar is close paren. A literal always appears at the tail end of a cell which is always terminated by a close paren ), so in practice every literal is terminated by ). The only way to get ) inside a literal is by escaping the ) byte one way or other.

The second metachar is dollar $, which allows you to encode any octet as two digits of hex. Some writers might encode all non-ascii octets this way, and the year 2000 version of Mozilla did this, but it's not required. You are never required to use $ to escape bytes when writing, but readers must escape hex following $ when $ itself is not escaped, say using \. (Why did I choose $ for this metachar? Because I thought URLs might be common Mork content, and I wanted to use a byte that might appear less often in URLs.)

The third metachar is backslash \, which was added to allow escaping metachars using C like syntax, and to allow line continuation in a C like manner so very long lines need not be generated unless a writer insists.

(If I was going to extend Mork for base 64, I'd probably extend the meaning of the $ metachar to understand a following non-hex byte was the start of a base 64 sequence. For example, ${ABC} might mean ABC was base 64 content. I've seen folks online bitch about Mozilla's verbose encoding of unicode under Mork using $ to encode every null byte. Why didn't you speak up during the year I discussed it online? In five years, why did no one tweak Mork so version 1.5 would do better? Why not just write unicode as raw binary, since Mork supports that? Why does Mork suck because no one spends an hour making changes? Whatever.)


이올린에 북마크하기(0) 이올린에 추천하기(0)
2010/02/06 16:24 2010/02/06 16:24

 태그 : 
이 글의 관련글(Trackback) 주소 :: http://www.sojins.net/tt/sojins/trackback/1092
sojins| 2010/02/06 16:33 | PERMALINK | EDIT/DEL | REPLY
// Hex Char to int ;-)
char cHign = 'D', cLow='0', cHex=0;
cHigh = cHigh > 0x40 ? cHigh%0x37 : cHigh%0x30;
cLow = cLow > 0x40 ? cLow%0x37 : cLow%0x30;
cHex = cHigh << 4 | cLow;
Name
Password
Homepage
비밀글 (Secret)
manifest authoring error c1010001: Values of attribute 'level' not equal in different manifest snippets


프로젝트 속성 > 링커 > 매니페스트 파일

UAC(사용자 계정 컨트롤) 사용: 예
UAC 실행 수준                     : requireAdministrator (default=asInvoker)

* vc 2005에서 강제로 포함한 경우에는 에러 나니까... 적용한 파일을 지우고 설정하면 됨.


이올린에 북마크하기(0) 이올린에 추천하기(0)
2009/11/16 15:59 2009/11/16 15:59

이 글의 관련글(Trackback) 주소 :: http://www.sojins.net/tt/sojins/trackback/1084
Name
Password
Homepage
비밀글 (Secret)