- Download
monit-5.5-1.el6.rf.x86_64.rpm
$ sudo yum install monit-5.5-1.el6.rf.x86_64.rpm
- Installs to
/usr/bin/monit
- Start deamon
$ monit
- Start services
$ monit start all
(all is monitor all)
To use OrbitControls for Ejecta you will need to modify the OrbitControls.js where touchmove
is looking for variable element.clientHeight
and element.clientWidth
. These are read-only properties of Element which are not available in Ejecta.
If you are passing the default document
Element using controls = new THREE.OrbitControls( camera );
, then you can replace the following lines with the innerWidth
and innerHeight
properties of window
. (window == document
are basically same element in Ejecta).
function touchmove( event ) {
if ( scope.enabled === false ) { return; }
Working on a feature branch, let's say "feature/local-notification". Once finished, one commits all the files and sends the PR to let's say "develop" on a remote repositiory used by your team.
When a reviewer comes to check the PR they announce they are unable to comment on diffs or view all the diffs on Github as Github's diff limit was reached.
You are asked to (kindly) split the commit...
Below I will outline the (what I think is the best and most flexible) method of doing this (there are perhaps other ways depending on your situation).
Cordova: 5.1.1
Node.js: v0.12.0
Replace ~/Documents/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/index.js
(or whatever the error output says)
(function() { | |
// Usage - attach scope to last argument for printing scope: | |
// console.info('whatever', this); | |
// console.info('whatever', { a: 'abc'}, ..., this); | |
if (window.console && console.info){ | |
var old = console.info; | |
console.info = function() { | |
var len = arguments.length; | |
if (len -1 > 0 && | |
Object.prototype.toString.call(arguments[len - 1]) === '[object Object]' && |
For 0.211.0
when behind a proxy.
# Windows temporary:
set ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
# Windows permanently:
setx ATOM_NODE_URL http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist /M
# Linux
A Java String doesn't have an encoding but it can easily be forced into UTF-16 on conversions. ALWAYS specify UTF-8 when creating a new StringEntity from String!
Add payload to HttpPut
HttpPut hp = (HttpPut) this.request;
hp.setEntity(new StringEntity(yourStringPayload, "UTF-8"));
hp.setHeader("Content-Type", "application/json");
// ... then execute