I'm trying to run untrusted javascript code in linux + node.js with the sandbox module but it's broken, all i need is to let users write javascript programs that printout some text. No other i/o is allowed and just plain javascript is to be u...
I have a batch file that will launch a .js file which, via WinSCP, checks if a file exists and returns to the batch file if it does or not.  The problem IS: It always returns not found, and I cannot figure out why. I am unsure how to use a wildcard i...
For a while now, I have been using UltraEdit on my Windows box.  The ability to write scripts with a familiar language (JavaScript) has proved to be extremely useful.  The only problem is that I cannot use it on my Linux box at work.  Is there a comp...
I'm completely new to deploying front-end code and thus the question. I have a React App which I need to run as a background process, however I'm a little confused about the how to do this. I run a npm script   npm run build   to build, minif...
I am on Linux -both browser side & server side- with a recent Firefox 38 or 42 if that matters; this question gives more context, and the github GPLv3 project containing my code. It is not a usual Web application (it would have usually one, and p...
I have written a Node JS server waiting to sit on a server. In an ideal world, I'd like to create a sub-domain which points to the Node server. I have seen articles that allow you to v-host Apache to proxy forward to the node server on a specific...
I need to set an environment variable from Node (currently using v8.9.3)  Ideally, I would like to run export DATA_DIR=/var/lib/data when the program starts.  1. Tried spawning a child_process to set this, but it does not appear to work.  Example:  c...
to draw multi line      var city= focus.selectAll(".city")       .data(cities)       .enter().append("g")       .attr("class", "city");  var bad=city.append("path")       .attr("class", "line")...
I wish to write a cinnamon applet.  These are based in JavaScript.  The code I wish to write changes services (turning them on and off, similar to WebDeveloperMenuApplet).  I don't expect the debugging for the service start/stop/restart to work,...
I ran into an issue where I nave a fairly simple Node process that captures a screenshot. Is it possible to change the innerText of an HTML element using Puppeteer, just before the screen capture is acquired?  I have had success with using Puppeteer...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.