프로그래밍/미분류 (82) 썸네일형 리스트형 node.js : fnm use 를 입력하면 "We can't find the necessary environment variables to replace the Node version" 에러가 발생한다. node.js 를 처음 깔아보려고 했다.nodejs.org 에 ( https://nodejs.org/en/download/ ) 가보니 윈도우에서 커맨드로 설치하는 방법이 간단하게 나와 있어서 따라해 보려했다.명령은 다음 네개였으나, 2개만 성공하고 나머지는 나오지 않았다.winget install Schniz.fnmfnm install 22node -vnpm -vnode -v, npm -v 는 설치된 node 프로그램과 npm 프로그램의 버전을 확인해 보는 명령인데, 1, 2 번을 문제없이 수행했는데도 명령을 찾지 못하고 실패했다. 아마도 실행파일 이 설치되고 패쓰변수에 설치경로가 추가되지 않아서 그런 것 같아서, 재부팅을 했는데도 계속 node -v, npm -v 가 실패했다.재부팅 후에 fnm 이라는.. OutputDebugString 은 Exception 을 발생시켜서 동작한다 https://ntquery.wordpress.com/2015/09/07/windows-10-new-anti-debug-outputdebugstringw/ Windows 10: New Anti-Debug OutputDebugStringWPrior to Windows 10, OutputDebugStringW was only a dummy implementation. The function converted the input Unicode string to a simple Ansi string and calls the Ansi version of the function OutputDeb…ntquery.wordpress.com 위 링크에서 가져온 코드를 보면,void __stdcall _OutputDebugS.. PE Header [RUST] rusqlite, LNK1181: cannot open input file 'sqlite3.lib' rust 로 간단한 sqlite 를 사용해 보려고, 유튜브 튜토리얼을 따라해 봤는데, cargo run 을 실행하니 에러가 발생했다.(개발환경은 windows 10)에러메시지는 다음과 같다. = note: LINK : fatal error LNK1181: cannot open input file 'sqlite3.lib'error: could not compile `rust_sqlite_sample` (bin "rust_sqlite_sample") due to previous error빌드과정에서 sqlite3.lib 를 찾을 수 없다는 메시지였다.rusqlite 라이브러리를 사용하는데, 라이브러리를 사용하기 위해 Cargo.toml 에 다음과 같이 설정했었었다.[dependencies]rusqlite .. First chance exception 0X406D1388 크롬과 엣지에서 Exception 0X406D1388 덤프가 많이 발생했다. 덤프파일을 windbg 로 열어 analyze -v 를 실행한 스택내용은 다음과 같았다. (크롬 심볼서버 세팅함.) STACK_TEXT: KERNELBASE!RaiseException+0x6a chrome!base::PlatformThreadBase::SetName+0x1ae chrome!base::internal::ThreadGroupImpl::WorkerThreadDelegateImpl::OnMainEntry+0x74 chrome!base::internal::WorkerThread::RunWorker+0x81 chrome!base::internal::WorkerThread::RunPooledWorker+0x18 chrome!.. Flutter Warning: Operand of null-aware operation '!' hastype 'SchedulerBinding' which excludes null. 올해 초에 만들었던 플러터 프로젝트를 다시 빌드하다 보니 다음과 같은 경고메시지가 떴다. 동작은 했지만, 우찌 없앨지 고민했다. /D:/DEV_FLUTTER/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.5.0/lib/src/widgets/selectable.dart:459:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null. - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('/D:/DEV_FLUTTER/flutter/packages/.. powershell 이 시스템에서 스크립트를 실행할 수 없으므로 Microsoft.PowerShell_profile.ps1 파일을 로드할 수 없습니다. vscode 나 일반 cmd 창, terminal 등을 열 때, 빨간색으로 다음과 같은 에러메시지가 뜨는 경우를 자주 만난다. powershell 경고문구인데, powershell 을 본격적으로 사용하지 않으니 그냥 지나치면 되지만, 경고문구가 거슬린다. 해결방법을 포스팅해 놓는다. 에러문구는 다음과 같다. . : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\Me\Documents\WindowsPowerShell\Microsoft.PowerShell_profil e.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170) 를 참조하십시오. 위치 줄:1 문자:3 + ... 인코딩을 들여다보자 아주 오래전에 회사내부에서 공유하려 만들었던 글입니다. 인코딩을 들여다보자 다음과 같은 실험으로 인코딩을 들여다보자. 준비물 : notepad, madedit, python notepad 로 동일한 문자열 여러가지 인코딩으로 저장해 보기 기본 cp949 인코딩 영문은 한 글자당 한바이트가 되고, 한글 한 글자가 두바이트가 되는 cp949 (euc-kr) 인코딩 바이트 스트림이 저장된다. utf-8 인코딩 영문은 여전히 한 글자당 한바이트, 한글은 한 글자가 3바이트가 되어 저장된다. utf 16(le) 인코딩 영문, 한글 상관 없이 모든 글자 하나가 두바이트로 저장된다. utf 16(be) 인코딩 바로 위와 동일하게 영문, 한글 모두 두바이트씩으로 저장되지만, 두바이트의 순서가 le와 반대이다. made.. 이전 1 2 3 4 ··· 11 다음