run the command that corresponds to your operating system - corda

when i run [enter image description here],it show bash: workflows-java/build/nodes/run-nodes : No such file or directory.
Thanks.
workflows-java/build/nodes/run-nodes
[enter image description here][1]

The docs is currently being updated to accommodate the code changes in the cordapp-example repo.
The correct instruction for Linux and MacOs is:
./gradlew deployNodes
./build/nodes/runnodes

Related

Cloning Pintos with Ubuntu

I am trying to start doing the Pintos Stanford project on Ubuntu. I downloaded the tar file that the Stanford website provides but when I try and run
pintos -- run alarm-multiple
I get the following error:
Unrecognized character \x16; marked by <-- HERE after if ($<-- HERE near column 7 at /home/adambomb/src/pintos/src/utils/pintos line 911
I found on another stackoverflow post that I should pull from latest version of pintos:
git clone git://pintos-os.org/pintos-anon pintos
But doing this gets me an error:
Cloning into 'pintos'...
fatal: read error: Connection reset by peer
I'm not really sure where to go from here and could use some insight to fix either of these problems.
I don't really know where to go from here.
I ran into the same issues as you trying various guides on the internet (eg. this guide) and looking through StackOverflow. However, this youtube video helped me the most.
Steps below can be found here. I'm using Ubuntu 18.04.
Run sudo apt-get install qemu
Get latest pintos source code from pintos public git repository or download older version with this link
2a. Under heads, find master and click the tree hyperlink
2b. Click snapshot and download the .tar.gz file to your directory
Run tar -xvzf pintos-anon-master-{value}.tar.gz where {value} is the commit-id
Open /utils/pintos-gdb with vim and edit GDBMACROS variable to point to the full path for pintos directory
Open Makefile with vim and edit LOADLIBES variable name to LDLIBS
Compile utils directory by navigating to /src/utils and running make
Edit /src/threads/Make.vars (line 7): change bochs to qemu
Compile threads directory by navigating to /src/threads and running make
Edit /utils/pintos (line 103): replace bochs with qemu
Edit /utils/pintos (~line 257): replace kernel.bin with the full path to kernel.bin
Edit /utils/pintos (~line 621): replace qemu with qemu-system-x86_64
Edit /utils/Pintos.pm (line 362): replace loader.bin with the full path to loader.bin
Open ~/.bashrc and add export PATH=/home/.../pintos/src/utils:$PATH to the last line.
Reload terminal by running source ~/.bashrc
Run pintos with pintos run alarm-multiple

Premake5 will not run on Mac OS

enter image description here
I tried to run the premake5 file retrieved from https://premake.github.io/download.html
But bash gives me this. Not sure what is wrong...
Premake is a command line application; here is an article on what that means, and how to use the macOS Terminal application.

Jupyterhub with custom singleuser image raises 'no such file or directory' for '/home/jovyan/work'

I tried to setup Jupyterhub to serve Jupyter pytorch notebook using this repo as image https://github.com/stepankuzmin/pytorch-notebook, which is also available as a Docker image on dockerhub as https://hub.docker.com/r/stepankuzmin/pytorch-notebook/.
This involves modifying the config.yml file to point to the image, e.g.:
singleuser:
image:
name: stepankuzmin/pytorch-notebook
tag: latest
I am getting:
oci runtime error: container_linux.go:247: starting container process caused \"chdir to cwd (\\\"/home/jovyan/work\\\") set in config.json failed: no such file or directory
Resolved.
After much googling I stumbled on this: https://github.com/jupyterhub/jupyterhub/issues/1425. The summary from this is thread is the error can occur due to:
* The singleuser jupyterhub image you are building does not conform to the requirements
* You are building a singleuser jupyterhub image based on an old base image of singleuser jupyter
The only way for me to proceed was to build my own singleuser jupyterhub pytorch jupyter notebook image, which is now available here: https://hub.docker.com/r/nethsix/pytorch-notebook/
The repo is: https://github.com/nethsix/pytorch-notebook
I built the image using repo2docker as documented here: http://zero-to-jupyterhub.readthedocs.io/en/latest/user-environment.html#build-a-custom-docker-image-with-repo2docker

How can I solve Error: object 'opencpu' not found

I tried to load the appdemo into opencpu and it gave me an error. How should I solve this error?
Steps to Reproduce:
1. git clone git clone https://github.com/rwebapps/appdemo.git
2. sudo -i R[enter image description here][1]
3. library(opencpu)
4. opencpu$browse("/library/appdemo/www")
picture of the error on my terminal
In OpenCPU 2.0 you need a different command to start the server:
ocpu_start_server()
Or to directly start the appdemo app
ocpu_start_app("rwebapps/appdemo")

How to make devstack persist changes after reboot of system in ubuntu 16.10?

I created a debian image which is of QCOW2 type and launched a instance using the same image.
instance was successfully running and image creation was succesful too.
I want to persist this and all other changes i will make into devstack even after host reboot.
I tried running:
screen -c stack-screenrc
but running that script shows the following results....
enter image description here
I referred following link
https://ask.openstack.org/en/question/5423/rebooting-with-devstack/
but rejoin-stack.sh script doesn't exists in my devstack.
any alternative suggestions?
You only have to write the next:
script /dev/null
screen -c stack-screenrc

Resources