You can convert js-code like this:
var a = '1',
b,
c = '2';
into
Process: Electron [96680] | |
Path: /Applications/Electron.app/Contents/MacOS/Electron | |
Identifier: com.github.electron | |
Version: 0.36.0 (0.36.0) | |
Code Type: X86-64 (Native) | |
Parent Process: zsh [81235] | |
Responsible: Electron [96680] | |
User ID: 501 | |
Date/Time: 2015-12-16 17:35:22.617 +0100 |
import React from 'react'; | |
export default class App extends React.Component { | |
render() { | |
return ( | |
<svg> | |
<circle cx={50} cy={50} r={10} fill="red" /> | |
</svg> | |
) | |
} |
You can convert js-code like this:
var a = '1',
b,
c = '2';
into
// removing the first property | |
const my_obj = { | |
, test: 1 //fuuu | |
} | |
// when copying properties from another places | |
const my_obj = { | |
test: 1 | |
, test2: 1 | |
test3: 3 //fuu, forgot the comma, scanning are not helping in this case |
Caused by: java.io.EOFException: read past EOF: NIOFSIndexInput(path="/var/lib/elasticsearch/elasticsearch/nodes/0/indices/intelligence-reports-2014.05.01/3/index/segments_2") | |
at org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:336) | |
at org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:54) | |
at org.apache.lucene.store.DataInput.readInt(DataInput.java:98) | |
at org.apache.lucene.store.BufferedIndexInput.readInt(BufferedIndexInput.java:183) | |
at org.elasticsearch.common.lucene.Lucene.indexNeeds3xUpgrading(Lucene.java:738) | |
at org.elasticsearch.common.lucene.Lucene.upgradeLucene3xSegmentsMetadata(Lucene.java:749) | |
at org.elasticsearch.index.engine.InternalEngine.upgrade3xSegments(InternalEngine.java:1066) | |
at org.elasticsearch.index.engine.InternalEngine.<init>(InternalEngine.java:119) | |
... 9 more |
POST /_cluster/reroute?explain | |
{ | |
"commands": [ | |
{ | |
"allocate": { | |
"index": "intelligence-reports-2014.08.16", | |
"shard": 0, | |
"node": "B4Yv-wpCSRqWIvncIyql0A" | |
} | |
} |
# delete everything for reports older than 367 days | |
curator delete --older-than 367 --prefix intelligence-reports- | |
# optimize | |
curator optimize --older-than 2 --prefix intelligence-reports- | |
# RAW reports | |
curator delete --older-than 32 --prefix intelligence-raw- | |
curator optimize --older-than 2 --prefix intelligence-raw- |
3623: /usr/bin/influxdb -pidfile /opt/influxdb/shared/influxdb.pid -config /opt/influxdb/shared/config.toml | |
Address Kbytes RSS Dirty Mode Mapping | |
0000000000400000 14948 11008 0 r-x-- influxdb | |
0000000001498000 160 160 40 rw--- influxdb | |
00000000014c0000 204 124 124 rw--- [ anon ] | |
0000000001f1d000 1580 1452 1452 rw--- [ anon ] | |
000000c000000000 8 8 8 rw--- [ anon ] | |
000000c207f90000 7616 6720 6720 rw--- [ anon ] | |
00007f3ad8000000 2312 2048 2048 rw--- [ anon ] | |
00007f3ad8242000 63224 0 0 ----- [ anon ] |
actions: | |
save: -> | |
request = @get "model" | |
request.addObserver('id', @, 'setCurrentRequest') | |
request.save().then => | |
@transitionToRoute '/' | |
, (error) -> | |
console.log error | |
console.log "reject" |
App.UserController = Ember.ObjectController.extend | |
needs: "application" | |
currentUser: null | |
currentUserBinding: Ember.Binding.oneWay("controllers.application.currentUser") |