전체 글 88

[Raspberry Pi] 라즈베리파이에서 파이썬 삭제하기

리눅스에서 파이썬 삭제하기 [주의 ] 기존 라즈베리파이 쓰고 있는 3.7버전 삭제 할 경우 python-samba 등 일부 패키지 작동하지 않음으로 특정 버전만 지울것 sudo apt autoremove python3 sudo apt autoremove python 즉 python3으로 지우지말고 버전을 입력해서 지울것 pi@raspberry:~ $ python -V Python 3.8.1 pi@raspberry:~ $ python3 -V -bash: python3: command not found pi@raspberry:~ $ sudo apt autoremove python Reading package lists... Done Building dependency tree Reading state inf..

[groomIDE] apt-get update 에러 해결 방법 (GPG오류)

구름 IDE에서 apt-get update 안되는 상황에 조치상황 root@goorm:/workspace# sudo apt-get update받기:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease [1,581 B]무시:2 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64 InRelease기존:3 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64 Release오류:1 https://develop..

[레지스트리 편집기] 마우스 오른쪽 목록 추가하기

Visual Studio Code 오른쪽 경로가 나오지 않을때 Visual Studio Code 오른쪽 경로를 바꾸고 싶을때 위의 이미지는 오른쪽 클릭시 나오는 목록들 중 이미지를 정상화 시켜준다. 수정을 눌러 데이터 경로를 맞춰주자. 위의 이미지는 오른쪽 클릭시 나오는 목록에서 Code(으)로 열기 클릭을 정상화 시켜준다. 수정을 눌러 데이터 경로를 맞춰주자.

알뜰살뜰 정보 2022.05.23

[MySQL] 백업을 위한 Dump 뜨기

ㅇ 외부의 DB에 접속해서 백업을 위한 SQL 파일 Dump - mysqldump을 이용한 dump - 설정 파일 따로 빼기 My.cnf 파일 - db 정보에 관련된 내용들 [mysqldump] user=root port=3306 password=1234 DB dump bat 파일 @echo off for /f %%i in ('powershell -c "get-date -format yyyyMMdd_HHmmss"') do set DATETIME=%%i SET LOGFILENAME=%DATETIME% echo %LOGFILENAME% mysqldump --defaults-file=./my.cnf -h [DB ip 주소] [테이블 명] >[경로] livestock_farm_backup-%LOGFILENAME..

[WinForm] Drawline을 이용한 선 그리기

참조 : https://icodebroker.tistory.com/7906 [C#/WINFORM] PictureBox 클래스 : 사용자 선 그리기 ▶ Segment.cs using System.Drawing; namespace TestProject { /// /// 세그먼트 /// public class Segment { /////////////////////////////////////////////////////////////////////////////////////////////.. icodebroker.tistory.com 참조소스에서 추가 기능 ㅇ 직선 그리기 시 길이 표시 ㅇ 각도 그리기 시 각도 표시

(실행에러) Permission denied: '/dev/ttyAMA0' 에러

라즈베리파이에서 시리얼 통신 테스트 시 [Errno 13] Permission denied: '/dev/ttyAMA0' stty -F /dev/ttyAMA0 시 stty : /dev/ttyAMA0: Permission denied 권한 에러가 나오는 상황이다 라즈베리파이 시리얼 설정을 바꿔줘야한다. 아래 구문을 입력하면 다음 아래와 같은 사진이 나온다. $ sudo raspi-config 위를 끝마치면 재부팅하고 다시 시도해보자.

플랫폼io(platformIO) 설치 및 아두이노 빌드

기존 Visual Studio Code에 아두이노 및 다른 임베디드 빌드를 위한 platformIO를 설치해봅시다. 설치하기 전에 파이썬이 설치필수 (필자는 설치되어 있어서 확인 불가) 재시작 문구가 나오기 전에 닫으면 외계인 얼굴이 나와도 다시 설치하기 때문에 기달려주세요. 위와 같은 창이 나타납니다. 포트를 정의해주고 싶으면 platform.ini파일에 upload = [포트] 추가 라이브러리를 추가해주고 싶으면 library = [라이브러리 이름] 추가

알뜰살뜰 정보 2021.12.27