- Enable debug mode
- In the widget constructor adding the
debug: true
property: https://github.com/tradingview/charting_library/wiki/Widget-Constructor#debug - In the widget constructor adding
"charting_library_debug_mode"
to theenabled_features
array https://github.com/tradingview/charting_library/wiki/Widget-Constructor#disabled_features-enabled_features. - Use the setDebugMode method:
tvWidget.setDebugMode(true)
- In the widget constructor adding the
- Open the chart in your web browser and reproduce your issue. For example if you have an issue when adding a Moving Average indicator then add the indicator so the logs cover the issue you are reporting.
- Open the browser developer console and copy ALL of the output to a text file.
- Share that text file with us.
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
" Disable vi compatibility | |
set nocompatible | |
" Enable syntax highlighting | |
" See :help vimrc-filetype | |
filetype plugin indent on | |
" Ignore case in search strings | |
set ignorecase |
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
// For bonus points | |
// * ensure then/catch is always asynchronous | |
// * flatten f functions that return thenables | |
class Success { | |
constructor(v) { | |
this.v = v | |
} | |
then(f) { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style> | |
html, body { | |
margin: 0; | |
width: 100%; |
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
function g { git @args } | |
function ga { git add @args } | |
function gb { g branch @args } | |
function gst { g status @args } | |
function glg { g log --oneline --decorate -n 20 @args } | |
function gp { g push @args } | |
function gl { g pull @args } | |
function gpristine { g reset --hard; if ($?) { g clean -xdf } } | |
function grb { g rebase @args } | |
function gundo { g reset HEAD~ } |
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
{ | |
"guid": "{5b8a040f-3688-43b9-90cd-2c956ca56063}", | |
"hidden": false, | |
"name": "Git Bash", | |
"commandline": "C:\\Program Files\\Git\\bin\\bash.exe -i -l", | |
"startingDirectory" : "%USERPROFILE%", | |
"icon": "C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico" | |
} |
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.clear() | |
const OPEN_ROUND = '(' | |
const CLOSE_ROUND = ')' | |
const OPEN_CURLY = '{' | |
const CLOSE_CURLY = '}' | |
const OPEN_SQUARE = '[' | |
const CLOSE_SQUARE = ']' |
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.clear() | |
class ListNode { | |
constructor(key, value) { | |
this.key = key | |
this.value = value | |
this.next = null | |
this.previous = null | |
} | |
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
mkdir -p ~/.vim/autoload ~/.vim/bundle && \ | |
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim | |
cd ~/.vim/bundle | |
git clone https://github.com/sheerun/vim-polyglot > /dev/null 2>&1 | |
git clone https://github.com/prettier/vim-prettier > /dev/null 2>&1 | |
git clone https://github.com/tpope/vim-sensible > /dev/null 2>&1 | |
git clone https://github.com/tpope/vim-sleuth > /dev/null 2>&1 |
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
-='cd -' | |
...=../.. | |
....=../../.. | |
.....=../../../.. | |
......=../../../../.. | |
1='cd -' | |
2='cd -2' | |
3='cd -3' | |
4='cd -4' | |
5='cd -5' |
NewerOlder