python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Writing a string to a file on a remote linux box
I'm trying to write a Python string (yaml) to /path/to/foo.yaml on a remote linux machine.
There's some fiddly Python/bash interop here.
My current solution looks like this:
ip = '1.2.3.4'
yaml = '......

P i
Votes: 0
Answers: 1
scp from remote server to ec2-instance
I want to copy a folder from remote ubuntu to ec2-instance tried the below at remote ubuntu machine
scp -i </path/of/ec2_pemkey> -r <folder that I wanna copy> user@<ip of ec2>:/path/...
Ankita sharma
Votes: 0
Answers: 2
Content-Security-Policy with React, Electron and Webpack
i'm developing an app to show trekking routes with Electron, React and Typescript (also Webpack). But, when i try to load GoogleMaps api, i get the following error:
Refused to load the script 'https:/...

MrMenchaca
Votes: 0
Answers: 0
Why doesn't scp command allow wildcat star when copying files?
For example, I am copying files from a remote machine to my local Mac:
scp -P 33 root@xx.xx.xx.xx:/data/*test .
This gives an error:
zsh: no matches found: root@xx.xx.xx.xx:/data/*test
But If i copy...

marlon
Votes: 0
Answers: 1