A terminal multiplexer mainly facilitates three things:
- Create persistent terminal sessions that remain intact even when you log out of a machine--as long as the machine itself remains running. For example:
- SSH into a remote machine
- Start a screen session
- Start a process
- Log out of the machine
- Log back in later, attach to the screen session, and continue working with that process.
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
| <div class="tabs-container"> | |
| <ul class="tabs"> | |
| <li class="tab active" data-tab="0">One</li> | |
| <li class="tab" data-tab="1">Two</li> | |
| </ul> | |
| <div class="tab-pane active" data-pane="0"> | |
| <textarea class="editor">// here is the first one | |
| var editor = CodeMirror.fromTextArea(document.getElementById('editor'), { | |
| mode: "javascript", | |
| lineNumbers: 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
| <!DOCTYPE html> | |
| <html lang="en" > | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>CodePen - Simple CodeMirror Sample</title> | |
| <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.35.0/codemirror.css'> | |
| <style> | |
| .tabs { | |
| list-style-type: none; | |
| padding: 0; |
A Pen by Wolfram Hempel on CodePen.
Am I correct that any square matrix can be thought of as a directed graph? If so, how do I determine whether or not it contains cycles? Is it by looking for imaginary eigenvalues?
Yes, any square matrix can be thought of as a directed graph, particularly when you interpret the matrix as an adjacency matrix of the graph. Here's how this works and how you can determine whether the graph contains cycles:
- Adjacency Matrix: A square matrix ( A ) of size ( n \times n ) can represent a directed graph with ( n ) vertices. The entry ( A[i][j] ) indicates the presence (and possibly the weight) of a directed edge from vertex ( i ) to vertex ( j ).
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Notes Application</title> | |
| <style> | |
| .note { | |
| display: none; | |
| margin: 20px 0; |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| <style> | |
| .tooltip { | |
| position: relative; |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Tune Learning App with ABC Editor and Player</title> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sakura.css/css/sakura.css" type="text/css"> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/abcjs-audio.min.css"> | |
| <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/abcjs-basic-min.min.js"></script> |