티스토리

개발, 검색, 함수
검색하기

블로그 홈

개발, 검색, 함수

manywaypark.tistory.com/m

manywaypark 님의 블로그입니다.

구독자
0
방명록 방문하기
공지 공지 - 일반 공지 모두보기

주요 글 목록

  • USB memory 용량이 제대로 인식되지 않을 때 명령행에서 diskpart를 이용하면 된다. diskpart.exe 실행해서 한번에 해결하기: diskpart.exe DISKPART> list disk ...... DISKPART> select disk [disk-number-here] DISKPART> clean DISKPART> create partition primary DISKPART> list partition ...... DISKPART> select partition 1 DISKPART> active DISKPART> format fs=fat32 quick NOTE: clean 단계 이후에는 그냥 GUI에서 format 해도 될 듯하다. ref: https://miuna3.tistory.com/105 happy hackin' 공감수 0 댓글수 0 2020. 1. 21.
  • windows product key 보기 Single board computer나 embedded device에 미리 설치되어 나오는 윈도우즈의 경우 product key를 따로 제공하지 않는 경우가 있다. command line에서 아래처럼 하면 볼 수 있다. wmic path SoftwareLicensingService get OA3xOriginalProductKey ref: https://www.groovypost.com/howto/find-your-windows-10-product-key/ How to Find your Windows 10 Product Key Microsoft has made every effort to make Windows 10 licensing convenient. That said, there are times .. 공감수 0 댓글수 0 2019. 8. 1.
  • [cygwin] command line에서 cygwin package 설치하기 apt-cyg라는 간단한 script를 깔면 된다. 설치:$ wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg$ install apt-cyg /bin 사용:$ apt-cyg install emacs refs:https://stackoverflow.com/questions/9260014/how-do-i-install-cygwin-components-from-the-command-linehttps://github.com/transcode-open/apt-cyg happy hackin' 공감수 0 댓글수 0 2018. 10. 31.
  • 개발용 Windows VM MS에서 개발 환경이 구축된 VM을 배포하는구나.https://developer.microsoft.com/ko-kr/windows/downloads/virtual-machines 여태 나만 모른 건가? happy hackin' 공감수 0 댓글수 0 2018. 10. 21.
  • visual studio에서 google test를 쓰는 법 Visual Studio 2017에는 google test가 통합되었구나. 세상이 좋아지고 있다.https://docs.microsoft.com/ko-kr/visualstudio/test/how-to-use-google-test-for-cpp happy hackin' 공감수 0 댓글수 0 2018. 5. 2.
  • windows에서 chocolatey를 이용해 32bit 버전의 erlang 설치하기 choco install erlang --forcex86=true이렇게 하면 설치는 제대로 되지만 shim이 잘못된 위치(64bit용 위치 즉, \Program Files\ 아래)를 가리키게 되어있어서 오류가 난다. PS C:\ProgramData\chocolatey> erlCannot find file at 'c:\program files/erl9.0/erts-9.0/bin/erl.exe' (c:\program files\erl9.0\erts-9.0\bin\erl.exe). This usually indicates a missing or moved file. tools/shimgen.exe를 사용해서 다시 생성하면 해결된다. PS C:\ProgramData\chocolatey\bin> ren erl.e.. 공감수 0 댓글수 0 2017. 12. 29.
  • a package manager for windows 윈도우에서도 패키지 관리를 해보자. https://chocolatey.org/ happy hackin' 공감수 0 댓글수 0 2017. 2. 3.
  • [VS2015] vcvarsall.bat는 어디에? Visual Studio 2015에서는 vcvarsall.bat가 기본으로 설치되지 않는 듯.설치 프로그램 다시 실행하고, C++ Common Tools 항목을 설치해주어야된다.기본 위치에 깔았다면, vcvarsall.bat 파일의 위치는 아래와 같다.C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat ref: http://stackoverflow.com/questions/33323172/vcvarsall-bat-needed-for-python-to-compile-missing-from-visual-studio-2015-v-1 happy hackin' 공감수 1 댓글수 0 2016. 6. 23.
  • Windows에서 time server를 사용해보자. 리눅스라면 그냥 rdate 사용하면 되는데, 윈도우즈에서는 멀 어찌할지 잘 몰라서 검색. "제어판 > 시간 및 날짜 설정"에서 "인터넷시간" 선택 후 선호하는 ntp server(time.bora.net 등)를 선택하면 된다. 한가지 추가하자면 명령행에서 w32tm /resync 로 강제로 다시 sync하게 할 수 있다는 것. 가끔 유용하다. 좀 찾아보니 더 멋진게 많네. 걍 관리자권한으로 이렇게 하면... 끄읏~~ w32tm /config /syncfromflags:manual /manualpeerlist:0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org ref: http://www.pool.ntp.org/en/use.html happy hack.. 공감수 0 댓글수 0 2014. 12. 4.
  • doxymacs on cygwin 의존성은 내 경우 libxml2-devel 이었는데, 기본적인 autotools등도 필요하다.emacs가 PATH에 있는지 확인$ which emacs......$ git clone git://git.code.sf.net/p/doxymacs/code doxymacs-code......$ ./bootstrap......$ ./configure --prefix=/usr/local......$ make install 일반적인 제대로 된 설정(?)이라면 위와 같이 하면 동작할 것이다. 나는 일종의 종합선물 세트인 emacs.d를 쓰고 있으므로 관리의 편의를 위해 emacs.d쪽으로 옮긴다. $ cp /usr/local/share/emacs/site-lisp/*.el ~/.emacs.d/site-lisp/또한 e.. 공감수 0 댓글수 0 2014. 10. 21.
  • [cygwin] sshd service refs:http://kwon37xi.egloos.com/2496478http://www.howtogeek.com/howto/41560/how-to-get-ssh-command-line-access-to-windows-7-using-cygwin/ happy hackin' 공감수 0 댓글수 0 2014. 8. 27.
  • command line에서 MSVC project 빌드하기 MSBuild.exe MyProj.proj /property:Configuration=Debugref: http://msdn.microsoft.com/en-us/library/dd393574.aspx happy hackin' 공감수 0 댓글수 0 2014. 1. 15.
  • [ERR] cygwin에서 ssh-agent 사용시 "Could not open a connection to your authentication agent" 문제: linux에서는 "exec ssh-agent" 로 하면 되었던 것으로 기억하는데 cygwin bash 환경에서는 제목과 같은 오류가 나면서 제대로 동작하지 않았다. 해결: 다음과 같이 ssh-agent를 실행한다. $ exec ssh-agent /usr/bin/bash refs: http://linuxindetails.wordpress.com/2010/06/07/could-not-open-a-connection-to-your-authentication-agent/ happy hackin' 공감수 0 댓글수 1 2012. 2. 22.
  • [cygwin] address space needed by 'foo.dll' (0xabc0000) is already occupied problem: 원본 저장소는 svn이지만 git을 쓰고싶어서 git-svn을 사용하려 했는데 cygwin에 포함된 git-svn이 다음과같은 이상한 에러를 내면서 제대로 동작하지 않았다. 0 [main] perl 4888 child_info_fork::abort: address space needed by 'cygsvn_client-1-0.dll' (0x13A0000) is already occupied solution: 모든 cygwin process를 닫고 cmd에서 ash또는 dash에서 다음을 수행; (exit all the cygwin processes and in the shell(ash or dash)); cd \cygwin\bin$ ash $ PATH=. rebaseall -v ....... 공감수 0 댓글수 0 2012. 2. 10.
  • odd(cd/dvd) 드라이브 없을 때 외장하드나 usb memory 이용해서 윈도7설치 하기 1. 설치 미디어 준비 odd가 있는 장치에서 설치 디스크를 외장하드나 USB로 복사한다. iso 이미지를 가지고 있다면 가상 드라이브로 마운트 한 후 복사한다. 2. 외장 미디어 부팅 가능하게 만들기 설치 디스크의 /boot/bootsect.exe를 다른 장소에 복사한 후 bootsect.exe /nt60 [외장 미디어 drive letter] 내 경우는 bootsect.exe를 c:에 복사했고 외장 미디어는 F 드라이브로 잡혔으므로 다음과 같이 했다. c:>bootsect.exe /nt60 F: 설치하고자하는 박스(아마 보통 놋북이겠지)를 재시작하고 BIOS 메뉴에 들어가서 USB/External HDD 부팅을 활성화하고 외장 매체로 부팅하면 윈도7 설치 화면이 뜬다. 끝! note: 내 경우 P16.. 공감수 0 댓글수 0 2012. 1. 16.
  • [ERR] no OPENSSL_Applink win32환경에서 openssl을 사용하는 프로젝트에 관련 라이브러리(libeay32.lib)를 추가하고 성공적으로 실행파일을 만들어서 테스트 하려고 돌리는 순간 다음과 같은 에러가 나면서 진행되지 않았다. OPENSSL_Uplink(nnnnnnnn,nn): no OPENSSL_Applink win32환경에서는 openssl 소스 설치 디렉토리의 바로 하위에 있는 ms/applink.c를 해당 프로젝트에 추가해주어야만 runtime에 제대로 동작한다고 한다(먼가 복잡한 dll 관련 설정인듯 보인다). 역시 win32에서의 일이므로 further research는 당연히 안한다.^^ refs: http://www.mail-archive.com/openssl-users@openssl.org/msg51836... 공감수 0 댓글수 0 2009. 10. 20.
  • [ERR] link: extra operand `/opt:ref' openssl을 win32 환경에서 빌드하는데 다음과 같은 에러가 나면서 링크되지 않았다. link: extra operand `/opt:ref' 대충 찾아보니 cygwin과 충돌이 나서 그렇다고 한다. PATH에서 VC관련된 것들을 cygwin의 bin앞쪽으로 설정하면 해결됐다. win32 관련된 것이므로 더이상 파고들지 않는다. ^^; refs: http://mail.openjdk.java.net/pipermail/build-dev/2008-July/001306.html http://osdir.com/ml/java.openjdk.build.devel/2008-07/msg00063.html happy hackin' 공감수 0 댓글수 0 2009. 10. 19.
  • [TIP] 초간단 Cygwin/X 설정 설치할 cygwin package: xorg-x11-server, xinit, xorg-x11-docs, X-start-menu-icons cygwin을 기본 디렉토리에 설치하지 않았다면, \path\to\your\cygwin\bin\startxwin.bat 편집: SET CYGWIN_ROOT=\path\to\your\cygwin startxwin.bat를 실행하거나, 시작 > 프로그램 > Cygwin-X > XWin Server putty로 원격 서버 접속 후 X 응용프로그램 실행해서 확인. (putty의 Connection > SSH > X11 에서 Enable X11 forwarding 활성화 되어있어야함) 참고: http://x.cygwin.com/docs/ug/setup-cygwin-x-inst.. 공감수 0 댓글수 0 2009. 1. 15.
  • [TIP] cygwin 업그레이드 후 이상한 메시지 (Huh? No /etc/fstab file? Using default root and cygdrive prefix...) cygwin 업그레이드 후에 이전에 본적 없는 눈에 거슬리는 이상한 메시지가 명령을 내릴 때 마다 출력되었다. 윈도우에서 fstab를 찾는 것은 좀 이상하지 않은가? Huh? No /etc/fstab file? Using default root and cygdrive prefix... mount로 현재 마운트 된것들을 살펴보고 그것들을 %CYGWIN_HOME%/etc/fstab에 저장해주면 된다. 다음은 내 경우다. (c와 d가 hdd이므로 마운트하고, e는 SD card 이므로 안 써준다.) C:\>mount Huh? No /etc/fstab file? Using default root and cygdrive prefix... c:\cygwin on / type ntfs (binmode,system) .. 공감수 0 댓글수 0 2008. 5. 27.
    문의안내
    • 티스토리
    • 로그인
    • 고객센터

    티스토리는 카카오에서 사랑을 담아 만듭니다.

    © Kakao Corp.