unknown 2 settimane fa
parent
commit
9816f251df

+ 20 - 76
.obsidian/workspace.json

@@ -7,106 +7,50 @@
         "id": "d32e90214846329f",
         "type": "tabs",
         "children": [
-          {
-            "id": "a4fa9ec978e9f875",
-            "type": "leaf",
-            "state": {
-              "type": "markdown",
-              "state": {
-                "file": "hardcore web development/11. SQL/Сортировка данных.md",
-                "mode": "source",
-                "source": false
-              },
-              "icon": "lucide-file",
-              "title": "Сортировка данных"
-            }
-          },
-          {
-            "id": "7e2b94b9ef2fd4f4",
-            "type": "leaf",
-            "state": {
-              "type": "markdown",
-              "state": {
-                "file": "English/words.md",
-                "mode": "source",
-                "source": false
-              },
-              "icon": "lucide-file",
-              "title": "words"
-            }
-          },
-          {
-            "id": "5ebe1303b65e36d8",
-            "type": "leaf",
-            "state": {
-              "type": "markdown",
-              "state": {
-                "file": "English/words.md",
-                "mode": "source",
-                "source": false
-              },
-              "icon": "lucide-file",
-              "title": "words"
-            }
-          },
           {
             "id": "f733a4caf650106a",
             "type": "leaf",
             "state": {
               "type": "markdown",
               "state": {
-                "file": "hardcore web development/11. SQL/Типы данных.md",
-                "mode": "source",
-                "source": false
-              },
-              "icon": "lucide-file",
-              "title": "Типы данных"
-            }
-          },
-          {
-            "id": "b535845df52ceaee",
-            "type": "leaf",
-            "state": {
-              "type": "markdown",
-              "state": {
-                "file": "Python/venv.md",
+                "file": "English/Homework 3.md",
                 "mode": "source",
                 "source": false
               },
               "icon": "lucide-file",
-              "title": "venv"
+              "title": "Homework 3"
             }
           },
           {
-            "id": "ccf77d68d102e591",
+            "id": "51931cca7cde6660",
             "type": "leaf",
             "state": {
               "type": "markdown",
               "state": {
-                "file": "English/Homework 3.md",
+                "file": "English/Text 7.md",
                 "mode": "source",
                 "source": false
               },
               "icon": "lucide-file",
-              "title": "Homework 3"
+              "title": "Text 7"
             }
           },
           {
-            "id": "51931cca7cde6660",
+            "id": "a4413da5da328176",
             "type": "leaf",
             "state": {
               "type": "markdown",
               "state": {
-                "file": "English/Text 7.md",
+                "file": "ROTEK/universal IO/universal IO.md",
                 "mode": "source",
                 "source": false
               },
               "icon": "lucide-file",
-              "title": "Text 7"
+              "title": "universal IO"
             }
           }
         ],
-        "currentTab": 6
+        "currentTab": 1
       }
     ],
     "direction": "vertical"
@@ -129,7 +73,7 @@
                 "autoReveal": false
               },
               "icon": "lucide-folder-closed",
-              "title": "Файловый менеджер"
+              "title": "Files"
             }
           },
           {
@@ -229,16 +173,21 @@
   },
   "left-ribbon": {
     "hiddenItems": {
-      "switcher:Меню быстрого перехода": false,
-      "graph:Граф": false,
-      "canvas:Создать новый холст": false,
-      "command-palette:Открыть палитру команд": false,
-      "markdown-importer:Импорт Markdown-файлов": false
+      "switcher:Open quick switcher": false,
+      "graph:Open graph view": false,
+      "canvas:Create new canvas": false,
+      "command-palette:Open command palette": false,
+      "markdown-importer:Open format converter": false
     }
   },
   "active": "51931cca7cde6660",
   "lastOpenFiles": [
     "English/Homework 3.md",
+    "ROTEK/universal IO/universal IO.md",
+    "hardcore web development/11. SQL/Типы данных.md",
+    "hardcore web development/11. SQL/SQL настройка.md",
+    "hardcore web development/11. SQL/NULL, coalecse.md",
+    "hardcore web development/11. SQL/Сортировка данных.md",
     "English/Text 7.md",
     "English/words.md",
     "Python/telegram bot/aiogram.md",
@@ -257,25 +206,20 @@
     "todo/Счета.md",
     "todo/Разное.md",
     "todo/Задачи по направлениям.md",
-    "hardcore web development/11. SQL/Типы данных.md",
     "Кодинг.md",
     "hardcore web development/11. SQL/Задание.md",
     "Python/venv.md",
     "Python/telegram bot",
     "proGit.md",
     "Комментарии.md",
-    "hardcore web development/11. SQL/Сортировка данных.md",
     "hardcore web development/11. SQL/Создание таблиц.md",
     "ROTEK/BT_6714.md",
-    "hardcore web development/11. SQL/SQL настройка.md",
-    "hardcore web development/11. SQL/NULL, coalecse.md",
     "todo/Тренировки и занятия.md",
     "English/Text 6.md",
     "link.md",
     "English/Homework.md",
     "Python/function основное.md",
     "Python/jinja.md",
-    "English/Text 5.md",
     "English/img/13-5.JPEG.~tmp",
     "English/img/13-4.JPEG.~tmp",
     "docs/sniffers_texto.pdf",

+ 15 - 15
English/Homework 3.md

@@ -1,18 +1,18 @@
-76 Translate into English
-1. Что вы делаете? - Мы готовимся к концерту.
-2. Куда ты идешь? - Я иду в библиотеку.
-3. Где Николай? - Он в читальном зале. Он там выполняет домашние задания. Николай часто выполняет домашние задания в читальном зале.
-4. Что сейчас делает Виктор? - Он ремонтирует свой радиоприемник.
-5. Елена дома? - Нет, ее нет дома. У нее сейчас урок музыки. У нее всегда уроки музыки после обеда.
-6. Кто сейчас в спортзале? - Там тренируются ученики нашего класса. Они тренируются дважды в неделю.
-7. Не шумите. Папа говорит по телефону.
-8. Не заходите в ту комнату. Там ученики нашего класса сдают экзамен по математике.
-9. Ученики сдают экзамены один раз в год.
-10. Дождь идет? - Нет, дождя нет, но дует сильный ветер.
-11. Мы выезжаем завтра утром.
-12. Его сын собирается стать агрономом.
-13. Что вы собираетесь делать?
-14. Я сейчас объясню им это правило.
+~={green}76 Translate into English=~
+1. Что вы делаете? - Мы готовимся к концерту. What are you doing? - We are getting ready for the concert.
+2. Куда ты идешь? - Я иду в библиотеку. Where are you going? - I am going to the library.
+3. Где Николай? - Он в читальном зале. Он там выполняет домашние задания. Николай часто выполняет домашние задания в читальном зале. Where is Nikolay? - He is in the reading room. He does his homework. Nikolay often does his homework in the reading room.
+4. Что сейчас делает Виктор? - Он ремонтирует свой радиоприемник. What is Victor doing now? He is reparing hid radio.
+5. Елена дома? - Нет, ее нет дома. У нее сейчас урок музыки. У нее всегда уроки музыки после обеда. Is Elena at home? - No she isn't at home. She is having a music lesson now. She always has music lessons after lunch.
+6. Кто сейчас в спортзале? - Там тренируются ученики нашего класса. Они тренируются дважды в неделю. Who is in the gym now? - Pupils of our class are training there. They train twice a week.
+7. Не шумите. Папа говорит по телефону. Don't make noise. Father is talking on the phone.
+8. Не заходите в ту комнату. Там ученики нашего класса сдают экзамен по математике. Don't enter that room. Pupils of our class are taking a math exam there.
+9. Ученики сдают экзамены один раз в год. Pupils take exams once a year.
+10. Дождь идет? - Нет, дождя нет, но дует сильный ветер. Is it raining? No, it isn't raining, but there is a strong wind.
+11. Мы выезжаем завтра утром. We are leaving tomorrow morning.
+12. Его сын собирается стать агрономом. His son is going to become an agronomist.
+13. Что вы собираетесь делать? What are you going to do?
+14. Я сейчас объясню им это правило. I will explain this rule to them now.
 
 ~={green}213 Переведи.=~
 1. You must attend classes every day. Вы должны посещать занятия каждый день.

+ 2 - 2
English/Text 7.md

@@ -1,6 +1,6 @@
 			Is it acceptable to delete friends from facebook?
-This qustion is something that my friends often talk about. Most of my own friends think that there is nothing wrong with ti, but others - including my mother - think deleting Facebook friends should be a capital offence.
+This qustion is something that my friends often talk about. Most of my own friends think that there is nothing wrong with it, but others - including my mother - think deleting Facebook friends should be a capital offence.
 I think the first real issue is whether or not our Facebook friends are our friends in real life too. I never accept strangers onto my Facebook profile - or any other social network. At the same time, though, I would not call many of my Facebook 'friends' actual friends. I have many friends from school and university on Facebook, but I speak to very few of them. Many are people I have met only once, or are old colleagues. While I do know everybody, I really cannot claim that they are all my friends.
-Every time I delete somebody form Facebook I think about how I would feel being deleted. I don't have to imagine - I have been deleted by plenty of people. Before, whenever I realised that somebody had deleted me, I desperately searched fo find out who it was. I've stopped doing that - I have learned that if I cannot work out who deleted me, they probably weren't that important to me. I remember when Facebook was still a new social network. Taking about deleting people was always done in whisper - it could not be spoken about openly, in case somebody overhead and was offended. Now deleting 'friends' is much more common, and often spoken about among friends (real-life ones, that is). People nowadays even announce on Facebook that they are about to delete a number of people. This is, I think, to make you feel lucky if you are 'saved', but it often has the opposite effect.
+Every time I delete somebody form Facebook I think about how I would feel being deleted. I don't have to imagine - I have been deleted by plenty of people. Before, whenever I realised that somebody had deleted me, I desperately searched to find out who it was. I've stopped doing that - I have learned that if I cannot work out who deleted me, they probably weren't that important to me. I remember when Facebook was still a new social network. Taking about deleting people was always done in whisper - it could not be spoken about openly, in case somebody overhead and was offended. Now deleting 'friends' is much more common, and often spoken about among friends (real-life ones, that is). People nowadays even announce on Facebook that they are about to delete a number of people. This is, I think, to make you feel lucky if you are 'saved', but it often has the opposite effect.
 I think the answer to the question of deleting friends is quite simple. Friedships are not permanent. Very few relationships really are. Why, then, should Facebook 'friendships' be permanent? I think we have to delete friends in order to reflect the realities of real-life relationships.
 Deleting a few friends is acceptable, I think. There is one thing I do know, though: deleting your mother is not acceptable. I learnt that one the hard way.

+ 16 - 0
hardcore web development/11. SQL/SQL настройка.md

@@ -61,3 +61,19 @@ $ psql rroom -h 94.232.244.161 -W -d rroom_bd
 
 Настройка Postgres на сервере
 https://itproblog.ru/%D0%BF%D0%B5%D1%80%D0%B2%D0%BE%D0%BD%D0%B0%D1%87%D0%B0%D0%BB%D1%8C%D0%BD%D0%B0%D1%8F-%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0-%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80%D0%B0-postgresql/
+
+~={yellow}Команды и всякое=~
+
+Для входа в postgres shell:
+```bash
+$ sudo -u postgres psql
+```
+Команды postgres-#
+```bash
+\du - список пользователей
+\l - список баз данных
+\q - выйти из postgres shell
+
+Смена паролья пользователя
+alter user <user_name> with password 'new password';
+```