본문 바로가기

기타233

버전체크 npm-check-updates https://www.npmjs.com/package/npm-check-updates npm-check-updates Find newer versions of dependencies than what your package.json allows. Latest version: 12.3.0, last published: 9 days ago. Start using npm-check-updates in your project by running `npm i npm-check-updates`. There are 392 other projects in the npm registry www.npmjs.com npm install -g npm-check-updates ncu 명령어로 가능업데이트 확인 ncu -u로 버.. 2022. 2. 17.
NodeJS: PM2 Startup on Windows[2022-10-19] https://github.com/jessety/pm2-installer 아래 썻던 모듈 pm2-windows-service [DEPRECATED] 로 인해 변경 해당 파일을 다운후 해당 폴더로 이동해서 명령어실행시 완료 npm run configure npm run configure-policy npm run setup -- 서비스가 시작되지 않는 문제https://github.com/jessety/pm2-installer/issues/8 ============================================ blog.cloudboost.io/nodejs-pm2-startup-on-windows-db0906328d75 NodeJS: PM2 Startup on Windows How to deal.. 2021. 5. 6.
Error: Connection lost The server closed the connection uhou.tistory.com/125 Connection lost: The server closed the connection 에러 해결하기 Node.js와 mysql, AWS EC2, S3, Nginx 등을 연동하여 백엔드 작업을 하고있는데 가끔씩 'Error: Connection lost: The server closed the connection.' 이라는 에러로그가 뜨면서 웹 사이트에 접속이 되지 않을.. uhou.tistory.com stackoverflow.com/questions/20210522/nodejs-mysql-error-connection-lost-the-server-closed-the-connection nodejs mysql Error: Connection lost The ser.. 2020. 11. 30.
크롤링 github.com/bda-research/node-crawler github.com/simplecrawler/simplecrawler github.com/cheeriojs/cheerio github.com/ktty1220/cheerio-httpcli github.com/puppeteer/puppeteer 무엇을쓸것인가. puppeteer와 cheerio의 조합 + 크론잡 node-cron, node-schedule 둘중하나 선택 github.com/node-cron/node-cron github.com/node-schedule/node-schedule --- cheerio만 사용한다면 iconv를 써서 해결해야되지만 github.com/bnoordhuis/node-iconv cheerio-httpcli.. 2020. 10. 29.
autosize github.com/jackmoore/autosize jackmoore/autosize Autosize is a small, stand-alone script to automatically adjust textarea height to fit text. - jackmoore/autosize github.com textarea에 사이즈를 자동으로 늘려준다. autosize($('textarea')); 2020. 8. 24.
nvm 노드설치시 다양한 버전을 사용하기위해서 nvm을 이용하면 편하게 사용할수있다. https://github.com/nvm-sh/nvm nvm-sh/nvm Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions - nvm-sh/nvm github.com 위의 사이트에서 nvm의 기본정보를 알수있다. 윈도우 사용자라면 그냥 https://github.com/coreybutler/nvm-windows coreybutler/nvm-windows A node.js version management utility for Windows. Ironically written in Go. - coreybutler.. 2019. 11. 28.
https://nodejs.org/ https://nodejs.org/ Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. nodejs.org 안쓰면 까먹는다. 빠르게 다시예전에 했던부분까지 하나씩 다시 진행한다. 해당 홈페이지에서 그냥 다운받아서 설치만해도 노드가 실치된다 12.13.1 LTS버전 기준으로 진행한다. 2019. 11. 28.
Enter -> Keyup 검색시 엔터키시 바로 검색설정 Keyup이벤트 발생후 해당키가 어떤키를 눌렀는지확인 keycode값이 13이 엔터키를 눌렀을때 작동 지금은 모르겠는데 파이어폭스에서 예전에 event.keycode가 동작을 안해서 추가하는부분이 필요했다. var keycode = event.keyCode ? event.Keycode : event.which; 참고자료는 아래사이트에서 확인할것 https://www.w3schools.com/jsref/event_key_which.asp KeyboardEvent which Property KeyboardEvent which Property ❮ DOM Events ❮ KeyboardEvent Example Get the Unicode value of the pressed key.. 2019. 10. 8.
slick https://kenwheeler.github.io/slick/ slick - the last carousel you'll ever need slick is a responsive carousel jQuery plugin that supports multiple breakpoints, CSS3 transitions, touch events/swiping & much more! kenwheeler.github.io 기본적으로 슬라이더를 쓸떄 슬릭을 많이쓰는데 해당형태로 길게 늘어졌다가 정상작동된다. 인터넷 속도가 느릴때 저렇게 보여서 수정처리 https://github.com/kenwheeler/slick/issues/158 Hide slides before slick initialization · Iss.. 2019. 9. 10.