dm 11 mesi fa
parent
commit
e272294f91
4 ha cambiato i file con 72 aggiunte e 19 eliminazioni
  1. 6 19
      .obsidian/workspace.json
  2. 5 0
      configs/.vimrc
  3. 58 0
      configs/ssh_config
  4. 3 0
      hardcore web development/4. Linux.md

+ 6 - 19
.obsidian/workspace.json

@@ -7,32 +7,19 @@
         "id": "e3dc9dc5e271a1ac",
         "type": "tabs",
         "children": [
-          {
-            "id": "8529ecaefd41dcd0",
-            "type": "leaf",
-            "state": {
-              "type": "markdown",
-              "state": {
-                "file": "hardcore web development/4. Linux.md",
-                "mode": "source",
-                "source": false
-              }
-            }
-          },
           {
             "id": "6765e3db06c00734",
             "type": "leaf",
             "state": {
               "type": "markdown",
               "state": {
-                "file": "Тренировки и занятия.md",
+                "file": "hardcore web development/4. Linux.md",
                 "mode": "source",
                 "source": false
               }
             }
           }
-        ],
-        "currentTab": 1
+        ]
       }
     ],
     "direction": "vertical"
@@ -98,7 +85,7 @@
             "state": {
               "type": "backlink",
               "state": {
-                "file": "Тренировки и занятия.md",
+                "file": "hardcore web development/4. Linux.md",
                 "collapseAll": false,
                 "extraContext": false,
                 "sortOrder": "alphabetical",
@@ -139,9 +126,11 @@
   },
   "active": "6765e3db06c00734",
   "lastOpenFiles": [
+    "configs/ssh_config",
+    "linux/bash.md",
+    "Тренировки и занятия.md",
     "hardcore web development/4. Linux.md",
     "ROTEK/RT-701/common.md",
-    "linux/bash.md",
     "bash",
     "Разное.md",
     "Счета.md",
@@ -170,8 +159,6 @@
     "img/Pasted image 20240415123611.png",
     "img/Pasted image 20240415122028.png",
     "common.md",
-    "hardcore web development/Список литературы.md",
-    "Тренировки и занятия.md",
     "Linux",
     "hardcore web development",
     "Database.kdbx.WBWzRR",

+ 5 - 0
configs/.vimrc

@@ -0,0 +1,5 @@
+set tabstop=2
+set shiftwidth=2
+set smarttab
+set expandtab
+set smartindent

+ 58 - 0
configs/ssh_config

@@ -0,0 +1,58 @@
+
+# This is the ssh client system-wide configuration file.  See
+# ssh_config(5) for more information.  This file provides defaults for
+# users, and the values can be changed in per-user configuration files
+# or on the command line.
+
+# Configuration data is parsed as follows:
+#  1. command line options
+#  2. user-specific file
+#  3. system-wide file
+# Any configuration value is only changed the first time it is set.
+# Thus, host-specific definitions should be at the beginning of the
+# configuration file, and defaults at the end.
+
+# Site-wide defaults for some commonly used options.  For a comprehensive
+# list of available options, their meanings and defaults, please see the
+# ssh_config(5) man page.
+
+Include /etc/ssh/ssh_config.d/*.conf
+
+Host *
+#   ForwardAgent no
+#   ForwardX11 no
+#   ForwardX11Trusted yes
+#   PasswordAuthentication yes
+#   HostbasedAuthentication no
+#   GSSAPIAuthentication no
+#   GSSAPIDelegateCredentials no
+#   GSSAPIKeyExchange no
+#   GSSAPITrustDNS no
+#   BatchMode no
+#   CheckHostIP no
+#   AddressFamily any
+#   ConnectTimeout 0
+#   StrictHostKeyChecking ask
+#   IdentityFile ~/.ssh/id_rsa
+#   IdentityFile ~/.ssh/id_dsa
+#   IdentityFile ~/.ssh/id_ecdsa
+#   IdentityFile ~/.ssh/id_ed25519
+#   Port 22
+    Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
+#   MACs hmac-md5,hmac-sha1,umac-64@openssh.com
+#   EscapeChar ~
+#   Tunnel no
+#   TunnelDevice any:any
+#   PermitLocalCommand no
+#   VisualHostKey no
+#   ProxyCommand ssh -q -W %h:%p gateway.example.com
+#   RekeyLimit 1G 1h
+#   UserKnownHostsFile ~/.ssh/known_hosts.d/%k
+    SendEnv LANG LC_*
+    HashKnownHosts yes
+    GSSAPIAuthentication yes
+    PubkeyAuthentication yes
+    KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
+    HostkeyAlgorithms +ssh-rsa
+    PubkeyAcceptedAlgorithms +ssh-rsa
+

+ 3 - 0
hardcore web development/4. Linux.md

@@ -11,6 +11,7 @@ $ cat /etc/os-release # версия ОС
 ##### <font color = "#1D8571">Полезное</font>
 ```bash
 $ obsidian & # запуск программы в фоне
+$ gio open my_pdf_book.pdf # открыть pdf документ
 ```
 <h6>Hotkeys</h6>
 ```bash
@@ -36,6 +37,8 @@ $ batcat # фналог cat, но с подсветкой синтаксиса
 $ which batcat
 $ sudo ln -s /usr/bin/batcat /usr/local/bin/bat #
 ```
+`sed` - потоковый редактор текста
+Подробнее здесь: https://emulek.github.io/sed/index.html
 <h4>Командная строка</h4>
 <h6>Создание и удаление</h6>
 ```bash