This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n$ = [2] | |
m$ = [3] | |
c$ = n$.concat(m$).reduce(sum) | |
c$ // 2 + 3 = 5 | |
n$.push(3) | |
c$ // 3 + 3 = 6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Rx = require('rxjs'); | |
const n$ = new Rx.Observable((observer) => { | |
observer.next(2); | |
setTimeout(() => { | |
observer.next(3); | |
observer.complete(); | |
}, 200); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let n = 2, m = 3; | |
let t = n + m; | |
console.log(t); // 5 | |
n = 3; | |
console.log(t); // 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let t = n + m; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.heremap.react.map; | |
import android.app.Activity; | |
import com.facebook.react.uimanager.ThemedReactContext; | |
import com.facebook.react.uimanager.ViewGroupManager; | |
public class HereMapManager extends ViewGroupManager<HereMapView> { | |
static final String METHOD_NAME = "HereMapView"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Lynx = require('lynx'); | |
function _onError(err) { | |
console.log(err); | |
} | |
var _options = { | |
host : 'sfast-grafana.cloudapp.net', | |
port : 8125 | |
}; | |
var metrics = new Lynx(_options.host, _options.port, {on_error: _onError}); | |
var timer = null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Lynx = require('lynx'); | |
function _onError(err) { | |
console.log(err); | |
} | |
var _options = { | |
host : 'sfast-grafana.cloudapp.net', | |
port : 8125 | |
}; | |
var metrics = new Lynx(_options.host, _options.port, {on_error: _onError}); | |
var timer = null; |
NewerOlder