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
function CompsList(comps) { | |
<select className="form-control"> | |
comps.forEach(function(comp){ | |
<option>{this.comp.name}</option> | |
}) | |
</select> | |
} |
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, { Component } from 'react'; | |
import 'bootswatch/cerulean/bootstrap.css'; | |
import { Navbar, NavItem, Nav, Grid, Row, Col } from 'react-bootstrap'; | |
import { Route, Link, Redirect} from 'react-router-dom'; | |
import { LinkContainer } from 'react-router-bootstrap'; | |
import {Reg, Login} from './Auth'; | |
var loggined = true; | |
const Home = () => ( |
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
/** | |
* Created by lapsh on 16.05.2017. | |
*/ | |
import React, { Component } from 'react'; | |
import { FormGroup, ControlLabel, FormControl, HelpBlock, Button} from 'react-bootstrap'; | |
function FieldGroup({ id, label, help, ...props }) { | |
return ( | |
<FormGroup controlId={id}> | |
<ControlLabel>{label}</ControlLabel> |
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
with qq as ( | |
select 11 | |
union all | |
select 12 | |
union all | |
select 11 | |
), | |
ww as ( | |
select 1 | |
union all |
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 els = document.getElementsByClassName('_4xev') | |
for (var i in els) { | |
els[i].click(); | |
setTimeout(function(){ | |
var a = document.getElementsByClassName('_54nh') | |
a[a.length -1].click() | |
}, 0) | |
setTimeout(function(){ | |
var b = document.getElementsByClassName('uiOverlayButton') | |
b[1].click() |
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 main | |
import ( | |
"time" | |
"github.com/tucnak/telebot" | |
) | |
func main() { | |
bot, err := telebot.NewBot("TOKEN") | |
if err != nil { |
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
/** | |
* | |
* @author Alexey | |
* @module | |
*/ | |
function TradeOperationsInSession(aContainer, aSessionId, aReturn) { | |
console.log(aSessionId); | |
var self = this, model = this.model; | |
if(aReturn) | |
var header = ["Время", "Позиция", "Сумма", "Возврат"]; |