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
default: | |
leverage: 10 | |
marginType: "ISOLATED" | |
mode: orderDrift # режим открытия позиций orderDrift или market | |
orderDrift: 0.004 # дрифт между верхней и нижней парой | |
stopPriceDriftPoints: 3 # количество пунктов для расчета stopPrice | |
takeProfit: 0.04 # проценты тайк профита для рассчета цены закрытия | |
stopLoss: 0.01 # проценты стоп лоса для рассчета цены закрытия | |
takeProfitSum: 0.4 # сумма профита в USDT для рассчета цены закрытия(если указать то проценты выше игнорируются) | |
desiredQuantityUSDT: 10 # объем сделки в usdt |
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
{ | |
"id": 18, | |
"name": "New Yorkers vs Berliners", | |
"status": "Finished", | |
"date": "2017-06-02", | |
"time": "21:45", | |
"scoreHome": 3, | |
"scoreAway": 4, | |
"teamAway": { | |
"id": 15, |
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
schema.static("batchUpdate", async function batchUpdate(query, update) { | |
const batchSize = 100; | |
const first = await this.findOne(query, null, { sort: "_id" }); | |
if (!first) { | |
return; | |
} | |
query.firstId = first.id; |
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
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
warn "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end | |
gemfile(true) do | |
source "https://rubygems.org" | |
gem "rails", "5.2.3" # use correct rails version |
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
--[[ | |
* ReaScript Name: Export regions as txt file | |
* Description: See title. | |
* Instructions: Save project. Have regions. Run. | |
* Author: X-Raym | |
* Author URI: http://extremraym.com | |
* Repository: GitHub > X-Raym > EEL Scripts for Cockos REAPER | |
* Repository URI: https://github.com/X-Raym/REAPER-EEL-Scripts | |
* File URl: | |
* Licence: GPL v3 |
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
begin | |
require 'bundler/inline' | |
rescue LoadError => e | |
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
raise e | |
end | |
gemfile(true) do | |
source 'https://rubygems.org' | |
gem 'rails', '5.1.0' # use correct rails version |
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
objects.each do |object| | |
can :manage, ChildObject, { :user_id => user.id, :object_id => object.id } | |
end |
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
(area[name="городской округ Сыктывкар"];area[name="Выльгорт"]["addr:district"="Сыктывдинский район"];); | |
node[shop](area)->.a; | |
way[shop](area)->.aa; | |
node[amenity][amenity!~"clock|waste_disposal|toilets|vending_machine|atm|parking"](area)->.b; | |
way[amenity][amenity!~"clock|waste_disposal|toilets|vending_machine|atm|parking"](area)->.bb; | |
node[emergency="lifeguard_base"](area)->.c; | |
way[emergency="lifeguard_base"](area)->.cc; | |
node[office](area)->.d; | |
way[office](area)->.dd; | |
node[craft](area)->.e; |
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
[timeout:900][bbox:{{bbox}}]; | |
( | |
way[highway][name]; | |
)->.n1; | |
foreach.n1( | |
.n1;out; | |
(.n1; - ._;)->.n2; | |
node(w._)->.n3; | |
node(w.n2)->.n4; | |
node.n3.n4;out; |
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
<?php | |
if($_SERVER["REQUEST_METHOD"]=="POST") { | |
function send_mail($to,$subject,$message,$headers) { | |
$email=$_POST["email"]; //email с формы | |
$phone=$_POST["phone"]; //телефон с формы | |
$name=$_POST["name"]; | |
$to="1unitedcrew@gmail.com"; | |
$subject="Заявка"; | |
$message="Имя: $name<br>Телефон: $phone<br>Email: $email"; //сообщение | |
$headers="Content-type: text/html; charset=utf-8 \r\n"; |
NewerOlder