node.js redis async await get
node.js redis promise await get example
고급 메모장
node.js redis promise await get example
pm2 시작할 때 args 넘기기 args 가져오는 예제
node.js express에서 클라이언트 아이피 주소를 항상 얻을 수 있게 미들웨어를 짰다
PHP-FPM 7.3 https://blog.kerus.net/1014/install-php-7-3-fpm-remirepo-on-centos CentOS 8 PHP-FPM : https://blog.kerus.net/2276/centos-8-php-7-4-fpm-%ec%84%a4%ec%b9%98-remirepo 1 Remi Repo remi 저장소를 설치한다 sudp rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \ sudo yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm && \ sudo yum -y install… Continue reading "CentOS 7 PHP / PHP-FPM 7.4 설치 (remi repo)"
MySQL Dump Database https://stackoverflow.com/questions/13484667/downloading-mysql-dump-from-command-line 전체 데이터베이스 백업 mysqldump -u root -p --all-databases > all_db_backup.sql 특정 데이터베이스 백업 mysqldump -u root -p testuser2 > testuser2.sql 형식 : mysqldump -u [username]… Continue reading "MySQL 데이터베이스 백업"
node.js 파일 수정 후 자동 재시작. https://stackoverflow.com/questions/24750395/reload-express-js-routes-changes-without-manually-restarting-server nodemon index.js 설치 npm install nodemon
Centos 7 에서 remirepo를 활용한 php 7.3 fpm 설치 https://computingforgeeks.com/how-to-install-php-7-3-on-centos-7-fedora/ yum 패키지매니저에 저장소 REMIREPO 설치 sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum install epel-release yum-utils remirepo php7.3 활성화 sudo yum-config-manager… Continue reading "Centos 7 PHP 7.3 FPM 설치 (Remi Repo)"
1 <laravel_dir>/app/config/app.php 2 /* |-------------------------------------------------------------------------- | Application Debug Mode |-------------------------------------------------------------------------- | | When your application is in debug mode, detailed error messages with | stack traces will be shown on… Continue reading "Laravel Debug for Specific IP"
???? 비동기를 비동기로 바꾼다니?? 정확히는 자바스크립트의 비동기 함수를 Promise의 결과로 쉽게 바꿔준다. 그러므로, async/await 를 더 손 쉽게 사용할 수 있다.
자바스크립트 ES6 중복제거 const array = [5, 3, 2, 5, 3, 5]; const newObject = new Set(array); const returnArray = [...newObject];