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
| init_config: | |
| instances: | |
| ##Log section | |
| logs: | |
| - type: file | |
| path: "/home/ubuntu/smyrnabot/bot/logs/trade.log" | |
| service: "Smyrnabot" | |
| source: python |
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 Button from 'common/button' | |
| import { H2 } from '@userguiding/components' | |
| import { reportToSentry } from 'utils/externalServices/sentry' | |
| import * as Sentry from '@sentry/react' | |
| import { CommonLink } from 'panel/components/styled' | |
| import { | |
| IllustrationImage, | |
| ErrorWrapper, | |
| ErrorText, |
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
| { | |
| "exchange": "binance-1", | |
| "margin_fraction": null, | |
| "margin_ratio": null, | |
| "collateral": null, | |
| "free_collateral": null, | |
| "total_position_size": null, | |
| "spot_free": { | |
| "BTC": 8.0281279, | |
| "LTC": 766.6459752, |
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, { useEffect } from 'react' | |
| import { StyleSheetManager } from 'styled-components' | |
| import { FrameContextConsumer } from 'react-frame-component' | |
| import { UgFrame, FrameStyleProps } from './styled' | |
| import { | |
| useFontUpdate, | |
| Head, | |
| GlobalStyle, | |
| } from '@userguiding/preview/hooks/font' |
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
| # BENCHMARK COMMMANDS | |
| # Change host, port and dbnum with kubernetes setup versions | |
| # Benchmark User Attributes SET | |
| attributes_string=`cat attributes.json` | |
| redis-benchmark -h 127.0.0.1 -p 6379 --dbnum 0 -c 50 SET ATTRIBUTES_KEY "$attributes_string" | |
| # Benchmark User Attributes GET | |
| redis-benchmark -h 127.0.0.1 -p 6379 --dbnum 0 -c 50 GET ATTRIBUTES_KEY |
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
| { | |
| "python.linting.pylintEnabled": false, | |
| "python.linting.flake8Enabled": true, | |
| "python.linting.enabled": true, | |
| "python.formatting.provider": "black", | |
| "python.formatting.blackArgs": [ | |
| "--line-length", | |
| "79" | |
| ], | |
| "editor.formatOnSave": true, |
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
| // TYPES | |
| export type TimeChartData = { | |
| date: number | |
| guides_played: number | |
| guides_completed: number | |
| hotspots_interacted: number | |
| checklist_items_triggered: number | |
| nps?: number | |
| } |
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
| git branch | grep -v "master\|develop" | xargs git branch -D |
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
| bash cypress/scripts/pull_extension.sh | |
| npm run dev-local-api |