Saturday, December 30, 2017

Working with MaidSafeCoin Tutorial

Make sure that you have yarn installed (not the one from cmdtest).

https://github.com/yarnpkg/yarn/issues/2821

git clone https://github.com/maidsafe/safe_examples.git

in the safe_examples directory, turning to Packaging gives:

yarn install-all

=======

brent@brent-VirtualBox:~/Downloads/safe_examples$ yarn install-all
yarn run v1.3.2
warning package.json: No license field
$ cd email_app && yarn && cd .. && cd web_hosting_manager && yarn
warning ../package.json: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["fs-extra@^1.00.0"] is trying to unpack in the same destination "/home/brent/.cache/yarn/v1/npm-fs-extra-1.0.0-cd3ce5f7e7cb6145883fcae3191e9877f8587950" as pattern ["fs-extra@^1.0.0"]. This could result in a non deterministic behavior, skipping.
info appdmg@0.4.5: The platform "linux" is incompatible with this module.
info "appdmg@0.4.5" is an optional dependency and failed compatibility check. Excluding it from installation.
info macos-alias@0.2.11: The platform "linux" is incompatible with this module.
info "macos-alias@0.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/8] ⠁ ref: CXX(target) Release/obj.target/binding/src/binding.o
[2/8] ⠁ weak: CXX(target) Release/obj.target/weakref/src/weakref.o
[-/8] ⠁ waiting...
[4/8] ⠁ electron
error /home/brent/Downloads/safe_examples/email_app/node_modules/electron-chromedriver: Command failed.
Exit code: 1
Command: node ./download-chromedriver.js
Arguments:
Directory: /home/brent/Downloads/safe_examples/email_app/node_modules/electron-chromedriver
Output:
/home/brent/Downloads/safe_examples/email_app/node_modules/electron-chromedriver/download-chromedriver.js:16
  if (error != null) throw error




error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

==================

brent@brent-VirtualBox:~/Downloads/safe_examples$ yarn pack:email
yarn run v1.3.2
warning package.json: No license field
$ cd email_app && yarn package && yarn post-package
warning ../package.json: No license field
$ electron-forge package
✔ Checking your system
Downloading tmp-5192-1-SHASUMS256.txt-1.6.2
[============================================>] 100.0% of 2.85 kB (2.85 kB/s)
⠹ Preparing to Package Application for arch: x64
An unhandled rejection has occurred inside Forge:
ENOSPC: no space left on device, mkdir '/tmp/electron-packager/linux-x64'
Error: ENOSPC: no space left on device, mkdir '/tmp/electron-packager/linux-x64'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

==============

ack, I guess my

Monday, December 25, 2017

Getting the WebCam to work in Ubuntu 16.04 might be as easy as GStreamer Good Plugins

I enabled gstreamer 1.0 good plugins through synaptic

Some stuff on the Internet that told me what I might have done:
https://stuff.mit.edu/afs/athena/system/amd64_deb50/os/usr/share/gtk-doc/html/gst-plugins-good-plugins-0.10/index.html

and the interesting plugin is v4l2src:


https://stuff.mit.edu/afs/athena/system/amd64_deb50/os/usr/share/gtk-doc/html/gst-plugins-good-plugins-0.10/gst-plugins-good-plugins-v4l2src.html

Thursday, December 21, 2017

mvn tutorial link

http://www.vogella.com/tutorials/ApacheMaven/article.html