What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-26 20:46:14
nodejs restart process
Generally process managers are used to (automatically) restart processes, such as monit, PM2, nodemon, forever, etc. However, you could restart from the process itself by simply spawning a detached child process that waits some period of time and then ex... Add solution -
-
Python 2021-10-24 20:59:09
python geodata visualize
from pyecharts import Geo data = [ ("海门", 9),("鄂尔多斯", 12),("招远", 12),("舟山", 12),("齐齐哈尔", 14),("盐城", 15), ("赤峰", 16),("青岛", 18),("乳山", 18),("金昌", 19),("... Add solution -
-
-
Javascript 2021-10-14 13:18:07
web scraping node js puppeteer
/* This code comes from Vincent Lab And it has a video version linked here: https://www.youtube.com/watch?v=GAvpZuVzeA8 */ // AQI Air Pollution Level Health Implications Cautionary Statement (for PM2.5) // 0 - 50 Good Air quality is considered sa... Add solution -
Javascript 2021-10-12 06:56:03
setup node and mongodb on centos 7 using npm
curl -sL https://rpm.nodesource.com/setup_10.x | bash - curl -sL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo yum install -y nodejs yarn npm i -g pm2 typescript #pm2 startup pm2 install typescript Add solution -
Best helpers
Ranking is empty