일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
- Python
- JavaScript
- 확장자
- TPL
- mariadb
- php
- docker
- Postfix
- RabbitMQ
- 문자열자르기
- 부모창
- smarty
- 천단위
- Selectbox
- replace
- Oracle
- Eclipse
- MySQL
- i18n
- 일괄변경
- ubuntu
- random
- install
- centos
- jQuery
- yum
- SVN
- 한글 깨짐
- TextBox
- Today
- Total
목록분류 전체보기 (195)
wilson's story
ubuntu terminal 에서 tab 했을때 에러 날때 에러 : _get_comp_words_by_ref: command not found 1차로 아래와 같이 해본다 apt-get install bash-completion exec bash type _init_completion 에러 : bash: type: _init_completion: not found bash-completion 를 설치 적용 했는데도 에러가 난다면 # 파일 확인 /usr/share/bash-completion/bash_completion vi ~/.bashrc # 맨마지막 줄에 추가 source /usr/share/bash-completion/bash_completion exec bash type _init_completion
ubuntu 절전모드 해제 sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target 절전모드 확인 sudo systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target 절전모드인 상태 절전모드가 해제가 되었을때 절전모드 활성화 sudo unmask status sleep.target suspend.target hibernate.target hybrid-sleep.target
powerShell 을 관리자 모드로 열고 하단의 내용을 한줄 한줄 넣고 엔터 reg.exe add “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32” /f /ve taskkill /f /im explorer.exe explorer 이렇게 하면 windows11에서 나오던 오른쪽 마우스 메뉴가 기존의 windows10의 오른쪽 마우스 메뉴 처럼 나온다 개인적으로는 기존 메뉴 방식이 더 편하다
공개한 git에 개인 정보를 올리거나, 잘못 올린사항을 기록에도 안남게 수정하고 싶을때 사용하는 방법 git reset --hard HEAD~1 HEAD~1 -> 최근 반영한 HEAD를 한개의 기록을 지운다 HEAD 값을 n으로 하면 n개의 기록이 삭제 된다 -> 최근 반영한 기준 git push -f origin HEAD를 삭제 후 branch 이름으로 push를 해주면 제거하려고 했던 기록이 사라진다
Notion API 를 사용하기 위해서는 https://developers.notion.com/ Notion API developers.notion.com 사이트에 로그인을 하여 API를 생성해줘야한다 새 API 통합 만들기 를 눌러준다 기본 정보를 입력 '이름' 를 입력 후 제출 버튼을 눌러준다 표시 버튼을 누르면 프라이빗 API 통합 시크릿 키가 보여진다 복사를 하자 -> 이 시크릿 키로 API 접속을 하게된다 기능 페이지에서 기능을 변경할 수 있다 API를 생성 후 메인 페이지로 오면 생성된 API 를 볼 수 있다 이부분을 놓치면 API를 사용 할 수 없다 API를 적용할 Notion 페이지로 간다 작업할 Notion 페이지에서 옵션을 누르고 Add connections 를 누른다 본인이 만든 AP..
Jenkins 세팅에서 원격지 서버에서 Maven을 빌드 해서 적용하고 싶을 경우가 있다 기본적으로 Ubuntu 터미널에서 Maven 사용할때는 mvn clean package 하면 ./target 폴더가 생성되면서 완료 되지만 Jenkins에서 Build Steps 에서 Send files or execute commands over SSH 하위에 Exec command 에서 사용하려면 ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [127]] Build step 'Send files or execute commands over SSH' changed build result to UNSTABLE..
현재 설정된 시간 확인 timedatectl -> 결과 Time zone: Etc/UTC (UTC, +0000) 초기 기본값 시간 세팅 sudo dpkg-reconfigure tzdata 키보드로 입력하여 이동이 가능하다 엔터로 설정 완료후 나오고 다시 확인 timedatectl -> 결과 Time zone: Asia/Seoul (KST, +0900) 으로 변경 된걸 확인할수 있다
maven 사이트 https://maven.apache.org/download.cgi Maven – Download Apache Maven Downloading Apache Maven 3.9.2 Apache Maven 3.9.2 is the latest release: it is the recommended version for all users. System Requirements Java Development Kit (JDK) Maven 3.9+ requires JDK 8 or above to execute. It still allows you to build against 1.3 and maven.apache.org # 다운받을 폴더로 이동 cd /tmp # 다운로드 wget https://dlcd..
$(document).keyup(function (e) { //console.log("e.keyCode--", e.keyCode) // e.keyCode = 40 : 방향키 아래 // e.keyCode = 38 : 방향키 위 //imageView 레이어 팝업에 'visible' class 값이 있으다면 if($("#imageView").hasClass("visible") === true) { // 키보드 방향키 위, 아래 값이 들어올때 if(e.keyCode == 40 || e.keyCode == 38){ // imageList 목록에 데이터값(li) 이 존재 할때 if($("#imageList").children('li').length >0){ let liData = $("#imageList").chi..
python에서 orm으로 작업하기 위해서는 table을 Model로 만들어줘야한다 이걸 자동으로 해주는 라이브러리 sqlacodegen https://github.com/agronholm/sqlacodegen 설치방법 pip install sqlacodegen Mariadb 사용법 sqlacodegen "mysql+pymysql://user:password@host:port/dbname" > models.py comment에서 한글이 깨질 경우 sqlacodegen "mysql+pymysql://user:password@host:port/dbname?charset=euckr" > models.py # models.py 파일을 vscode로 열고 Encoding을 EUC-KR로 변경 하면 commnet의..