일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- php
- Apache
- Certbot
- Google Cloud
- git pull
- LetsEncrypt
- Mac
- Xdebug
- DOM Parser
- SSL
- home page
- vscode
- root
- https
- new user
- MariaDB
- CentOS7
- Linux
- 구글 클라우드
- centos
- wordpress
- Liniux
- crontab
- launch.json
- front page
- html
- child theme
- mysql
- non-www
- Fail2ban
- Today
- Total
목록전체 글 (35)
between 0 and 1
TCPDF 를 이용해 PDF 를 만들 때, 한글이 깨지는 현상이 생길 수 있다. 이 원인은 서버에 한글 폰트가 없기 때문에 발생하는 것으로, 서버에 한글 폰트를 추가하고, TCPDF 에 폰트를 링크를 걸어주면 해결할 수 있다. 1. TCPDF 폰트추가도구 확인 tcpdf_addfont.php 파일이 있어야 폰트를 추가할 수 있다 # cd /usr/share/php/tcpdf/tools/ # ll 2. (리눅스) 서버에 폰트 추가 - 나눔폰트 설치 폰트 설치 # cd /usr/share/fonts/ # wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip # unzip NanumFont_TTF_ALL.zip -d NanumFon..
to backup by using mysqldump without password, it needs 2 files. - bash script file (~.sh) and mysql configuration file (w/ any filename and extension) 1. create bash script file. $> vim backup.sh mysqldump --defaults-extra-file=./.sqlconf databaseName > ./backupdb/"$(date '+%F').sql" * -p option must be excluded from the command in order to use the password in the config file. 2. create mysql c..
1. create a new repository on Github 2. move to existing project and initiate git 1) touch .gitignore 2) git init 3) git add . 4) git commit -m "any message" 5) git remote add origin https://github/~~.git 6) git push origin master 3. move to Github 4. set default branch to "master" 5. delete "main" branch
how to solve "git pull" error in vscode error: There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details git pull If you wish to set tracking information for this branch you can do so with: git branch --set-upstream develop origin/ as descirbed in error message, we need just set an upstream branch ex. git branch --set..
xdebug (version 3.x.x +) install pecl install xdebug xdebug 3+ version will be installed (@2021.01.03) configuration php.ini [xdebug] zend_extension="xdebug.so" xdebug.mode=debug check $> php -i | grep “xdebug” vscode connection run vscode shft+command+x (to bring up the extensions window) find and install “PHP Debug” open debug window (shift + command + D) create launch.json set xdebug port 900..