linux – can’t able to run node from wsl bash

I run linux Ubuntu on windows using “Windows Subsystem for Linux”.

I try to run node from wsl bash.

I get this error:

Command 'node' not found, but can be installed with:

sudo apt install nodejs

I have installed node on my windows 10.

But when I typing node.exe is works.

This is a problem since npm is not working (npm.cmd) and binary files like lerna run node without the ext.

So how to solve this problem?

enter image description here

command line – Root Cron job does not run

I have a shell file in /root/crons/test.sh which contains two simple commands which works well if they run separately in terminal. But my cron job which should run every 2 minutes does not run at all. It looks like

# www wordpress backup
*/2 * * * * /root/crons/test.sh

can somebody tell me please what could be the problem.
Commands in test.sh are here

#!/bin/bash
sudo curl https://kutkovak.publicvm.com/wp-cron.php?_nonce=4f5127c3&backwpup_run=runext&jobid=1
sudo mv /var/www/kutkovak/wp-content/uploads/backwpup-cd9e2f-backups/*kutkovak-wp.zip /root/backups/www/kutkovak/

I am new in this so may be it is a trivial problem.

roblox – How do I run a client-side script on a game that’s not mine?

I need to run an exploit script, but I won’t get caught, because it’s not for cheating. What’s the best exploit script runner for mac?

The client-side script is:

for i, v in pairs(game:GetDescendants()) do
    if v:IsA("Sound") then
        print(v.SoundId)
    end
end 
game.DescendantAdded:Connect(function(Obj)
    if Obj:IsA("Sound") then
        print(v.SoundId)
    end
end

I need to run it.

How?

What is it called when you run your software on a client-supplied cloud platform?

There is an architectural/deployment pattern that works as follows:

  1. Ask the client for access to their account with a cloud computing platform (like AWS, Azure, or Digital Ocean).
  2. Create servers, databases, and whatever else you need on that platform for the client’s individual use. Deploy your application to the newly created servers. This is automated on your side.
  3. The client accesses the application on their servers. Their data stays on their cloud.
  4. Fully manage the servers, databases, etc. for the client for as long as they use the software. You handle updating your application for them, backups (if applicable), and everything else. This is also automated. The client does not need an sysadmin.

This is a kind of middle ground between on-premises software and SaaS. Does it have an established name?

gm techniques – How do I run an adventure with the party in competition with an NPC party in a race for the MacGuffin?

I’m looking at the next leg of our campaign being a “race for the MacGuffin” scenario. The PCs (Rolemaster) have been chasing an evil sorceress for a while now. I want to let them catch up but put them in a position where they can’t actually kill her. She’s working for someone powerful who will come after them if they kill her. But it’s in a mercenary role so if they can get the MacGuffin for him he won’t care what happens to her after that.

The problem: I’ve never run or even read an adventure with competing adventuring parties. Can someone point me to some good resources?

I’m looking for published adventures (from any system), blog posts with adventure design ideas, direct advice from the folks here, and/or anything else that can help me figure out how to pit one party against another without having it be a straight up brawl.

cpu usage – How do I calculate how much CPU, RAM, energy is required to run a specific Python program?

How do I determine how much energy, CPU and RAM are being used to run to run a specific Python program?

How do I determine how much energy, CPU and RAM are being used to run a Python program?

Suppose we want to find out how much energy, CPU and RAM are being used in Python to find out the factorial of a positive integer. I used the code below but it is not working.

MWE:

from __future__ import print_function
import psutil

n=5
fact=1
for i in range(1,n+1):
    fact=fact*i
print fact

print('CPU  % used:', psutil.cpu_percent())
print('physical memory  % used:', psutil.virtual_memory())  # physical memory usage
print('memory % used:', psutil.virtual_memory()(2))

firefox – How can I run this script in Chrome on Android?

I want to run this script from the search bar to be able to inspect items on Android and it will move the console without leaving the page
This is the script:
  javascript: (function () {var script = document. createElement (‘script’); script. src = “http://cdn.jsdelivr.net/npm/eruda”; document. body. appendChild (script); script. onload = function () {eruda. init ()}}) ();

  I remove the IIfe wrapper and it still doesn’t work

  Does anyone know what to do?

  I leave the github repository here:
  https://github.com/liriliri/eruda/blob/master/README.md

virtualization – Is it safer to run executable file (not safe, may contain virus) on VBox

I have a host system (Windows 10) with premium antivirus and running a Windows 7 in Virtualbox with no antivirus. I have installed sandboxie and try to run executable files that may contain virus. Is it safe to run those applications? and what will be the effect if the virus slips out. I know this is a dumb question even after knowing about sanboxie. But I would like to know the consequences that occur.

Also, I would like to know how it affects the host machine if I run that exe file without sandboxie on Virtualbox.

Since there are many viruses and trojans that silently triggers even without running the exe file. Just want to learn the consequences that virus can damage. (P.S that I still having the antivirus on on the host machine).

front end – Frontend/Backend Integration: Wait for a Google Cloud function to run and then return result

I am trying to create a tool that receives a user input on the front end, uses that input to run a Google Cloud function and then returns a link to the output, hosted on Google cloud as well.

How can you give updates that a process is being performed, and update the page when it is finished?