- Сделать updateContext и replaceOffer с мержем только по переданным объектам
- переписывать только по переданным путям в map
- перезаписывать полностью с нуля переданный array
- игорировать undefined поля и не игнорировать а перезаписывать null поля
- Добавить лок всех операций над контекстом на уровне reportID (id контекста)
- Отдельно кастомизировать мерж массива corrections в виде corrections: [{hid: "hid123", a: {b: {c: 'value'}}]
- Добавить поле comparableHID
- Добавить поле filter
- Добавить поле registryBackUrl
- Добавить поле версии в context и в offer
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
{ | |
"pair_ID": 8942, | |
"stock_symbol": "A", | |
"parent_pair_ID": 0, | |
"canonical_to_pair_id": 0, | |
"override_country_ID": 0, | |
"eq_pe_ratio": 26.01, | |
"eq_pe_ratio_eu": "26,01", | |
"eq_market_cap": 19790000000, | |
"eq_market_cap_eu": "19,79B", |
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
FROM wernight/dante | |
# TODO: Replace 'john' and 'MyPassword' by any username/password you want. | |
RUN printf 'proxypassword123\nproxypassword123\n' | adduser proxyuser321 |
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
@import '~react-select/dist/react-select.css'; | |
* { | |
padding: 0; | |
margin: 0; | |
box-sizing: border-box; | |
} | |
html { | |
font-size: 13px; |
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
#pragma comment(linker, "/STACK:134217728") | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <iostream> | |
using std::cin; | |
using std::cout; | |
int m, n, sz, num, numb; |
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 tableModel = { | |
@observable data = [] | |
@observable sort = null | |
@observable dir = null | |
@observable page = 1 | |
@observable totalEntities = 0 | |
@observable entitiesOnPage = 10 | |
@computed get sortedData () { | |
return this.data.sort((a, b)) |
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
// containers/Router/Router.js | |
import React, {Component, PropTypes} from 'react' | |
import {autorun, runInAction} from 'mobx' | |
import {observer, inject} from 'mobx-react' | |
import {AllTasksContainer, TasksContainer, OffersContainer, TaskContainer} from 'containers/Telephonist' | |
import {BaseLayout, Login} from 'components' | |
import {Stats} from 'components/Telephonist' | |
import {Error404, Error403} from 'components/Errors' |
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
import * as React from 'react' | |
import {observer} from 'mobx-react' | |
import {FormGroup, Col, Label} from 'reactstrap' | |
import {OrderProvider} from 'components/OrderProvider/OrderProvider' | |
import {Input} from 'components/Input/Input' | |
import {Select} from 'components/Select/Select' | |
import {FieldFormat, InputAddon} from 'const/ReportForm/Field' | |
import {YesNoTable} from './YesNoTable' |
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
console.log('Starting...'); | |
console.time('Buiding test Data'); | |
const jsonData = { data: new Array(4300000) }; | |
for (let i = 0; i < 1300000; i++) { | |
jsonData.data[i]=`el-${i}`; | |
} | |
const dataString = JSON.stringify(jsonData); | |
console.timeEnd('Buiding test Data'); |