Before publishing, ensure you have:
- An npm account (sign up at https://www.npmjs.com/signup)
- The package is ready (all tests pass, build successful)
- You are logged into npm on your machine
Before publishing, ensure you have:
pkg upgrade -y ( choose "y" if any questions )
pkg install proot-distro -y
Grr this took hours to figure out. I was trying to install MJPG-streamer and running VLC command lines and all this crap but nothing worked.
First install motion:
~> sudo apt-get install motion
Then create a config file:
~> mkdir ~/.motion
~> nano ~/.motion/motion.conf
| var soundex = function (s) { | |
| var a = s.toLowerCase().split(''), | |
| f = a.shift(), | |
| r = '', | |
| codes = { | |
| a: '', e: '', i: '', o: '', u: '', | |
| b: 1, f: 1, p: 1, v: 1, | |
| c: 2, g: 2, j: 2, k: 2, q: 2, s: 2, x: 2, z: 2, | |
| d: 3, t: 3, | |
| l: 4, |
| package com.elm.mb.rest.filters; | |
| import java.io.IOException; | |
| import javax.servlet.FilterChain; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; | |
| import org.apache.commons.logging.Log; |
| # repertoire du fichier tar contenant les images issues a l'ancien format | |
| tarFolder=/media/hybris-media/phoenix/migration | |
| # repertoire de travail ou seront extraites les images originales | |
| mediaFolderOrigin=/media/hybris-media/phoenix/migration/original | |
| # repertoire de travail ou seront converties les images originales | |
| mediaFolderConverted=/media/hybris-media/phoenix/migration/converted | |
| # repertoire contenant l'executable imageMagick |