- Сделать updateContext и replaceOffer с мержем только по переданным объектам
- переписывать только по переданным путям в map
- перезаписывать полностью с нуля переданный array
- игорировать undefined поля и не игнорировать а перезаписывать null поля
- Добавить лок всех операций над контекстом на уровне reportID (id контекста)
- Отдельно кастомизировать мерж массива corrections в виде corrections: [{hid: "hid123", a: {b: {c: 'value'}}]
- Добавить поле comparableHID
- Добавить поле filter
- Добавить поле registryBackUrl
- Добавить поле версии в context и в offer
This file contains 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 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 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 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 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 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 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'); |
This file contains 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
C:\Program Files\Oracle\VirtualBox\VBoxManage.exe clonehd "C:\Users\thepi\VirtualBox VMs\ubuntu-17.04\ubuntu-17.04-disk001.vmdk" "C:\Users\thepi\VirtualBox VMs\ubuntu-17.04\ubuntu-17.04-disk001.vdi" --format vdi | |
C:\Program Files\Oracle\VirtualBox\VBoxManage modifyhd "C:\Users\thepi\VirtualBox VMs\ubuntu-17.04\ubuntu-17.04-disk001.vdi" --resize 30000 | |
C:\Program Files\Oracle\VirtualBox\VBoxManage.exe clonehd "C:\Users\thepi\VirtualBox VMs\ubuntu-17.04\ubuntu-17.04-disk001.vdi" "C:\Users\thepi\VirtualBox VMs\ubuntu-17.04\ubuntu-17.04-disk002.vmdk" --format vmdk |