unknown 2 달 전
부모
커밋
eea21efe2d
7개의 변경된 파일134개의 추가작업 그리고 47개의 파일을 삭제
  1. 32 35
      .obsidian/workspace.json
  2. 26 0
      English/Homework.md
  3. 2 1
      English/Text 5.md
  4. 58 0
      Python/SQLite.md
  5. 3 1
      todo/Задачи по направлениям.md
  6. 9 6
      todo/Разное.md
  7. 4 4
      todo/Счета.md

+ 32 - 35
.obsidian/workspace.json

@@ -4,25 +4,11 @@
     "type": "split",
     "children": [
       {
-        "id": "29c29062d0364983",
+        "id": "e8d3c91151ef64ea",
         "type": "tabs",
         "children": [
           {
-            "id": "11c44f40f9cd4b94",
-            "type": "leaf",
-            "state": {
-              "type": "markdown",
-              "state": {
-                "file": "Python/jinja.md",
-                "mode": "source",
-                "source": false
-              },
-              "icon": "lucide-file",
-              "title": "jinja"
-            }
-          },
-          {
-            "id": "7c1113f5581935a3",
+            "id": "73a67a187e3f5097",
             "type": "leaf",
             "state": {
               "type": "markdown",
@@ -36,35 +22,31 @@
             }
           },
           {
-            "id": "faca0661d771fb45",
+            "id": "d26006a3a01f0cba",
             "type": "leaf",
             "state": {
               "type": "markdown",
               "state": {
-                "file": "todo/Счета.md",
+                "file": "todo/Разное.md",
                 "mode": "source",
                 "source": false
               },
               "icon": "lucide-file",
-              "title": "Счета"
+              "title": "Разное"
             }
           },
           {
-            "id": "a0ac2e82da2f09db",
+            "id": "dcb8f822a1a154b5",
             "type": "leaf",
             "state": {
-              "type": "markdown",
-              "state": {
-                "file": "English/Text 0.md",
-                "mode": "source",
-                "source": false
-              },
+              "type": "empty",
+              "state": {},
               "icon": "lucide-file",
-              "title": "Text 0"
+              "title": "New tab"
             }
           }
         ],
-        "currentTab": 2
+        "currentTab": 1
       }
     ],
     "direction": "vertical"
@@ -106,6 +88,20 @@
               "title": "Search"
             }
           },
+          {
+            "id": "5f649a68cfee8d78",
+            "type": "leaf",
+            "state": {
+              "type": "markdown",
+              "state": {
+                "file": "Python/SQLite.md",
+                "mode": "source",
+                "source": false
+              },
+              "icon": "lucide-file",
+              "title": "SQLite"
+            }
+          },
           {
             "id": "9cc940b45c7a4595",
             "type": "leaf",
@@ -120,7 +116,7 @@
       }
     ],
     "direction": "horizontal",
-    "width": 220.5
+    "width": 290.5
   },
   "right": {
     "id": "cf92ccf43e96a53d",
@@ -179,11 +175,16 @@
       "markdown-importer:Open format converter": false
     }
   },
-  "active": "faca0661d771fb45",
+  "active": "d26006a3a01f0cba",
   "lastOpenFiles": [
     "todo/Задачи по направлениям.md",
-    "English/Text 0.md",
+    "English/Text 5.md",
+    "tr.md",
+    "Python/SQLite.md",
     "English/Homework.md",
+    "todo/Разное.md",
+    "English/Text 0.md",
+    "todo/Счета.md",
     "English/img/5-3.jpg.~tmp",
     "English/img/5-4.jpg",
     "English/img/5-3.jpg",
@@ -193,17 +194,14 @@
     "English/5-3.jpg",
     "English/5-2.jpg",
     "English/5-1.jpg",
-    "English/Text 5.md",
     "English/Text 4.md",
     "Python/jinja.md",
-    "Python/SQLite.md",
     "Django/SQL.md",
     "Django/common.md",
     "Python/common.md",
     "Python/jinja",
     "proGit.md",
     "Python/venv.md",
-    "todo/Счета.md",
     "todo/Тренировки и занятия.md",
     "Greenstar/usb stm32.md",
     "linux/alacritty.md",
@@ -219,7 +217,6 @@
     "English/img/Новая папка",
     "English/Text 1.md",
     "English/Text 2.md",
-    "English/Text 3.md",
     "English/img/words",
     "configs/tab_wg.conf",
     "configs/tab_wg.conf.txt",

+ 26 - 0
English/Homework.md

@@ -35,3 +35,29 @@
 2. I say, Tom, let's have dinner. - No, thank you, I have already had dinner.
 3. What is the wather like? Is it stiil rainnig? No it has stopped raining.
 4. Please give me a pencil, I lost mine.
+---
+~={green}108 Translate into English=~
+1. Когда Аня пришла в школу, ее товарищи уже полили цветы. When Anya came to school, her friends had already watered flowers.
+2. Мы читали книжку, которую я купил в подземном переходе. We read a book which I bought in the underground passage.
+3. Учитель сказал, что он проверил наши диктанты. The teacher said he checked our dictations.
+4. Ученик перевел текст к десяти часам. The pupil had transleted the text by 10 hours.
+5. Когда мы вернулись домой, ребенок уже заснул. When we came home the child had already slept.
+6. Мой брат писал, что он уже сдал экзамены по физике и математике. My brother wrote that he already passed Physics and Mathematics exams.
+7. Он поблагодарил меня за то, что я для него сделал. He thanked me what I had done.
+8. Ученик прочитал вслух рассказ, который он написал дома. The pupil read the story aloud which he had written at home.
+9. В прошлом году его отец ездил в деревню, где он провел свое детство. His father went to country last year where he spent his childhood.
+10. Вчера Аня пришла домой в пять часов. Ее младший брат выполнял домашние задания, а отец и мать еще не вернулись с работы. Ann came home at 5 o'clock yestarday. Her younger brother had been doing homeworks, and dad and mom had not returnned from work.
+11. Она была уверена, что видела эту женщину раньше, но не могла припомнить, где она ее видела. She was sure that she had earlier seen this women, but she couldn't remember where she saw her.
+12. Его отец начал работать на заводе, когда ему было двадцать лет. До этого он жил в деревне. His father had begun to work at the factory, when he was twenty years old. Befor that, he lived in the village.
+13. После того как мой товарищ ушел домой, я вспомнил, что забыл показать свои новые марки.After my friend went home I remembered, what I had forgotten to show him stamps.
+~={green}106 Change from firect into indirect speech.=~
+1. The woman said, "I studied German at school". The woman said that she had studied German at school.
+2. The teacher said, "I saw them in the Zoo". The teacher said that he had seen them in the Zoo.
+3. The girl said, "I have already spoken to them". The girl said that she had already spoken to them.
+4. The pupils said "We have done the exercises". The pupils said that they had done the exercises.
+5. The man said "I lived in Kaluga at that time". Тhe man said that he had lived in Kaluga that time.
+6. He said, "I did not recognize your handwritting". He said that he had not recognized your handwritting.
+7. His aunt said, "I was at home at that time". His aunt said that had been at home at that time.
+8. The girl said, "I spent my holidays in the country". The girl said that she had spent her holidays in the country.
+9. The policeman said, "I haven't seen this man here before". The policeman said that he had not seen thid man here before.
+10. The tourist said, "I have booked the tickets beforehand".  The tourist said that he had booked the tickets beforehand.

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 1
English/Text 5.md


+ 58 - 0
Python/SQLite.md

@@ -68,5 +68,63 @@ LIMIT 2 OFFSET 5
 
 # Тоже самое
 LIMIT 5, 2
+```
+~={yellow}UPDATE=~
+```sql
+UPDATE имя_табицы SET имя столбца = новое_значение WHERE условие
+
+UPDATE users SET score = 10000 WHERE roid = 1
+
+UPDATE users SET score = score+500 WHERE sex = 2
+
+UPDATE users SET score = score+500 WHERE name LIKE 'Федор'
+```
+В поле ~={yellow}LIKE=~ можно использовать:
+- % - любое продолжение строки
+- _ - любой символ
+```sql
+# Добавит 1500 очков всем игрокам, чье имя начинается с буквы 'M'
+UPDATE users SET score = score+1500 WHERE name LIKE 'M%'
 
+# Изменение значений нескольких полей
+UPDATE users SET score = 800, old = 45 WHERE old > 40
+```
+~={yellow}DELETE=~
+```sql
+DELETE FROM users WHERE rowid IN(2, 5)
+```
+---
+~={yellow}Агрегирование и группировка записей=~
+```sql
+# Получить число записей пользователя с user_id = 1
+SELECT count(user_id) FROM games WHERE user_id = 1 
+
+# Алиас
+SELECT count(user_id) as count FROM games WHERE user_id = 1
+```
+ - count() - подсчет числа записей
+ - sum() -  подсчет суммы указанного поля по всем записям выборки
+ - avr() - вычисление среднего арифметического указанного поля
+ - min() - нахождение минимального значения для указанного поля
+ - max() - нахождение максимального значения для указанного поля
+ 
+```sql
+# Подсчет количества уникальных игроков
+SELECT count(DISTINCT user_id) as count FROM games
+
+# Получение ID уникальных игроков
+SELECT DISTINCT user_id as count FROM games
+
+# Сумма очков для игрока с user_id = 1
+SELECT sum(score) as scores FROM games WHERE user_id = 1
+```
+
+```sql
+# Подсчитать сумму овков для игроков по user_id. Учитывать только те поля где количество очков больше 100. И вывести определенного число записей (поле LIMIT)
+SELECT user_id, sum(score) as sum
+FROM games
+WHERE score > 100
+GROUP BY user_id # выполнить группировку по user_id 
+ORDER BY sum DESC # отсортировать (по убыванию) по сумме очков
+LIMIT 2 # вывести только 2 записи
 ```

+ 3 - 1
todo/Задачи по направлениям.md

@@ -2,7 +2,8 @@
 - [x] Оплатить счета
 - [x] Подкрутить пластины
 - [ ] Запись к ортодонту
-- [ ] Передать показания счетчиков
+- [x] Передать показания счетчиков
+- [ ] Разобраться со счетчиком горячей воды в Подреcково
 <h6>Работа и образование</h6>
 - [ ] Пройти на 100% курс по Python OOP.
 - [ ] Пройти раздел 6.3 до 18 января в Python Function
@@ -16,6 +17,7 @@
 - [ ] Что будет если установлена другая версия Python?
 <h6>Финансы:</h6>
 - [x] Открыть новый вклад 16 января
+- [ ] Разобраться с налоговым вычетом по квартире
 <h6>Бытовые:</h6>
 - [x] Купить зимнюю куртку
 - [ ] Починить санки

+ 9 - 6
todo/Разное.md

@@ -1,6 +1,4 @@
-~={green}Переводы за обучение=~
-Инна: +79153961209
-##### Обслуживание машины
+##### ~={yellow}Обслуживание машины=~
 
 - Пробег хххххх [30.10.22] Замена задних тормозных дисков и колодок. Замена рулевых тяг и наконечников (правый и левый), замена сайлентблоков задней балки (2 шт.), замена жидгости ГУР, сход-развал. 
 
@@ -10,11 +8,16 @@
 - Побег 124_000 [03.08.24]. Замена масла, фильтров.
 
 ---- 
-#### <font color = "MediumSeaGreen">Avito</font> 
+~={yellow}Ортодонт=~
+Беридзе Нана Тазазовна
+Номер карты: 1349
+Четные числа: 14 - 20
+Нечетные числа: 8 - 14
+Телефон: 8-499-202-89-59
+29 на тощак в 8-30
 
 ---
-Понедельник 20:00
-Пятница: 19:00
+
 #### <font color = "MediumSeaGreen">VIN:</font> Z94CU41DADR315596
 
 soap march file tonight thunder answer inhale faculty skull goddess say first

+ 4 - 4
todo/Счета.md

@@ -7,11 +7,11 @@
 - [x] Нина электричество + TKO ()
 
 ##### <font color = "#1D8571">Передача показаний с 15-ого числа</font>
-- [ ] Широкая вода. хол , гор 
-- [ ] Широкая электричество: 
-- [ ] Подрезково: хол , гор , эл  (Новый счетчик горячей воды, передал по старому ) 
+- [x] Широкая вода. хол , гор 
+- [x] Широкая электричество: 
+- [x] Подрезково: хол , гор , эл  (Новый счетчик горячей воды, передал по старому ) 
 - [x] Химки: 471 - , 473 - , 450 - , 402 - , эл - 
-- [ ] Планерная Нина электричество: 
+- [x] Планерная Нина электричество: 
 - [x] Планерная Батя электричество: 
 ##### <font color = "#1D8571">Дополнительно</font>
 - [x] Отдать Нине ()

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.