[nodejs] trying to post linkedin share using nodeJS

2018-03-08 Thread erniecho
/* I'm trying to posting or share on linkedin but can't figure out how to do it correctly. Here is the code I'm using. */ var everyauth = require('everyauth') , connect = require('connect'); everyauth.linkedin .consumerKey('YOUR CONSUMER ID HERE') .consumerSecret('YOUR CONSUMER SECRET

[nodejs] Re: Taking Node-report of already running process

2018-03-08 Thread Zlatko
Well, did you look at the docs ? "can also be triggered by sending a USR2 signal to a Node.js process" So, `kill -USR2 ` should do the trick. Btw, their docs say you can do this: var nodereport = require('node-report');nodereport.triggerReport(); So if