Suppose we have a linked list where each node is a ListNode:
class ListNode {
constructor(value) {
this.value = value;
this.next = null;
}| import Html exposing (..) | |
| import Html.Attributes exposing (..) | |
| import Html.Events exposing (on) | |
| import Json.Decode as Decode | |
| import Mouse exposing (Position) | |
| main = | |
| Html.program |
| abstract class Option<T> { | |
| abstract map<U>(f: (value: T) => U): Option<U>; | |
| abstract defaultValue(defaultValue: T): T; | |
| } | |
| class Some<T> extends Option<T> { | |
| private value: T; | |
| constructor(value: T) { | |
| super(); |
| -='cd -' | |
| ...=../.. | |
| ....=../../.. | |
| .....=../../../.. | |
| ......=../../../../.. | |
| 1='cd -' | |
| 2='cd -2' | |
| 3='cd -3' | |
| 4='cd -4' | |
| 5='cd -5' |
| 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 |
| console.clear() | |
| class ListNode { | |
| constructor(key, value) { | |
| this.key = key | |
| this.value = value | |
| this.next = null | |
| this.previous = null | |
| } | |
| console.clear() | |
| const OPEN_ROUND = '(' | |
| const CLOSE_ROUND = ')' | |
| const OPEN_CURLY = '{' | |
| const CLOSE_CURLY = '}' | |
| const OPEN_SQUARE = '[' | |
| const CLOSE_SQUARE = ']' |
| { | |
| "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" | |
| } |
| 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~ } |
debug: true property: https://github.com/tradingview/charting_library/wiki/Widget-Constructor#debug"charting_library_debug_mode" to the enabled_features array https://github.com/tradingview/charting_library/wiki/Widget-Constructor#disabled_features-enabled_features.tvWidget.setDebugMode(true)