반응형

Emacs에서 Python 인터프리터 설치되어 있어도 실행시 오류가 나는 경우가 있는데

"Process Python exited abnormally with code 49"

이것은 기존 윈도우 10 이나 11 버전에 가짜 python.exe 나 python3.exe 가 설정되어있어서 그렇다. 

앱 실행 별칭에서 해당 기능을 꺼주거나 마이크로소프트 스토어에서 python 을 설치해주면 해결이 된다.

 

 

설정->앱->앱실행별칭-> 앱설치관리자(Python.exe), 앱설치관리자(Python3.exe) 켬 해제

 

 

 

그리고 가짜 화일은 c:\users\[사용자]\AppData\Local\Microsoft\WindowsApps 에서 확인할수있다.

반응형

VS Code Classic ASP 모드에서 Emmet 사용하기

Development 2022. 3. 20. 17:38 posted by CecilDeSK
반응형

기본적으로 VS Code 에서 Classsic ASP 모드에서 Emmet 사용이 되지 않는다

활성화하기 위해서는 Preferences 에서 관련 설정을 추가하거나 settings.json 에서 관련내용을 추가해주어야 한다.

 

우선 Preferences 설정

File > Preferences > Settings 또는 (Ctrl + , ) 를 눌러 설정으로 가서 

emmet Include Languages 파트를 찾아 아래 내용과 같이추가한다.

Emmet Include Languages classic asp

 

또는 settings.json 에서 직접 수정

%appdata%\Roaming\Code\User\settings.json 해당 경로에서 settings.json을 직접 수정

emmet calssic asp settings.json

 

반응형
반응형

Mysql을 설치하고 root 비밀번호 초기화 및 보안 강화를 위한 설정 명령어

 

$ mysql_secure_installation

 

$ mysql_secure_installation

Securing the MySQL server deployment.

Connecting to MySQL using a blank password.
The 'validate_password' component is installed on the server.
The subsequent steps will run with the existing configuration
of the component.
Please set the password for root here.

New password: 

Re-enter new password: 

Estimated strength of the password: 50 
Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : Y
By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.

Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y
Success.


Normally, root should only be allowed to connect from
'localhost'. This ensures that someone cannot guess at
the root password from the network.

Disallow root login remotely? (Press y|Y for Yes, any other key for No) : Y
Success.

By default, MySQL comes with a database named 'test' that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.


Remove test database and access to it? (Press y|Y for Yes, any other key for No) : Y
 - Dropping test database...
Success.

 - Removing privileges on test database...
Success.

Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.

Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y
Success.

All done! 

 

--------

만일 실수로 password strength 타입을 medium 혹은 strong으로 설정시 패스워드 생성이 어려울수있다. 실수로 설정시 설정을 변경하는방법은 아래와 같다.

 

$ mysql -u root -p

 

mysql> SHOW VARIABLES LIKE 'validate_password%';
+--------------------------------------+--------+
| Variable_name | Value |
+--------------------------------------+--------+
| validate_password.check_user_name | ON |
| validate_password.dictionary_file | |
| validate_password.length | 8 |
| validate_password.mixed_case_count | 1 |
| validate_password.number_count | 1 |
| validate_password.policy | STRONG |
| validate_password.special_char_count | 1 |
+--------------------------------------+--------+

 

mysql>set GLOBAL validate_password.policy=LOW;

mysql>exit

반응형

삼성전자 노트북 Pen S NT930SBE-K716A

System 2019. 6. 5. 18:30 posted by CecilDeSK
반응형

알루미늄 바디에 S펜으로 새로워진 삼성 노트북 Pen S 모델 Pen S NT930SBE-K716A

새로워진 S Pen 추가로 필기하듯 사용할수있는 모델로 S펜을 사용할수있는 기본프로그램이 기본 제공된다. 바디는 스크래치에 강한 알루미늄 바디를 사용해 외관보호에 플라스틱 재질보다 좀더 도움이 될듯 하다.

무게는 1.12Kg로 LG그램보다 약간더 무게가 나가지만 큰 무리는 없을듯하고 알루미늄 재질임을 감안했을때 당연한듯 싶다. UFS카드 슬롯과 AKG 사운드 & Thunder 앰프를 포함하였다. 

퀵충전 기술로 10분 충전에 96분정도 사용 가능, 완충시간은 100분으로 좋은 구성이고 퀵충전은 모바일 전자기기 사용하는 입장에서 대환영이다. 

 

간단하게 스펙을 살펴보면 13.3인치 디스플레이에 i7 8565U 프로세서 16G의 메모리, 속도에서 좀더 향상된 성능을 보여주는 NVMe 256 SSD 무게는 1.12Kg로 삼성전자 노트북중에서도 고사양 노트북에 속하며 별도의 그래픽카드가 없는것을 빼면 상당히 좋은 퍼포먼스를 보여줄것 으로 예상된다. 멀티미디어 쪽에서는 AKG 스피커와 Thunder 앰프로 사운드도 부족하지 않을 사양이고 UFS 메모리 지원, Thunderbolt 3 포트를 2개, USB-C 1개를 지원한다.  간략하게만 살펴봐도 좋은 사양이다. 

 

 

Pen S NT930SBE-K716A Spec

 

 

 

이벤트 기간이라 사은품도 다양하다. (이더넷 젠더, 키보드 스킨, 화면보호기) 

 

Type-C Ethernet Adapter & Key Skin
액정화면보호기

 

포장 개봉후 외관 

Pen S NT930SBE-K716A

전원어뎁터등 각종 부속물

Pen S NT930SBE-K716A

 

본체 외관 이미지는 삼성전자 홈페이지자료로 대체... 

Pen S NT930SBE-K716A
Pen S NT930SBE-K716A

 

Pen S NT930SBE-K716A
Pen S NT930SBE-K716A
Pen S NT930SBE-K716A
Pen S NT930SBE-K716A
Pen S NT930SBE-K716A

 

11번가 제품페이지

 

 

반응형