일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
31 |
- php
- front page
- vscode
- https
- launch.json
- Certbot
- Liniux
- CentOS7
- Fail2ban
- Linux
- DOM Parser
- 구글 클라우드
- LetsEncrypt
- Mac
- home page
- root
- new user
- Apache
- non-www
- git pull
- mysql
- child theme
- MariaDB
- SSL
- Google Cloud
- centos
- html
- Xdebug
- crontab
- wordpress
- Today
- Total
목록All (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..
Error Message Error: Your CLT does not support macOS 11. It is either outdated or was modified. Please update your CLT or delete it if no updates are available. Update them from Software Update in System Preferences or run: softwareupdate --all --install --force If that doesn't show you an update run: sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install Alternatively, manu..
Local SSL development (for localhost) 1) create Certificate authority (CA) for local machine $> openssl req -x509 -nodes -new -sha256 -days 1024 -newkey rsa:2048 -keyout RootCA.key -out RootCA.pem -subj "/C=US/CN=Example-Root-CA" $> openssl x509 -outform pem -in RootCA.pem -out RootCA.crt 2) create Domain name certificate create a domains.ext file with following contents authorityKeyIdentifier=k..
httpd-vhosts.conf ServerName localhost ServerAlias www.localhost Redirect permanent / https://localhost DocumentRoot "/Users/devxpert/Dev/webroot" ServerName localhost ServerAlias www.localhost Protocols h2 http/1.1 Redirect permanent / https://localhost SSLEngine on SSLCertificateFile "/Users/devxpert/Dev/webroot/ssl/localhost.crt" SSLCertificateKeyFile "/Users/devxpert/Dev/webroot/ssl/localhos..
OS Start Stop Load & Unload (Run at Startup) List Linus systemctl start daemon systemctl stop daemon Load: systemctl enable daemon Unload: systemctl disable daemon systemctl list MaxOS launchctl start daemon launchctl stop daemon Load: launchctl load daemon Unlaod: launchctl unload daemon launchctl list
the simplest way is clean project, remove cached data and reinstall modules. In my case, This helped to solve the issues. Xcode clean project in Xcode (Menu -> Product -> Clean Build Folder) Terminal remove cached data rm -rf ~/Library/Developer/Xcode/DerivedData/ rm -rf ~/Library/Caches/CocoaPods/ reinstall modules pod deintegrate pod update