- https://frantsouzov.livejournal.com/33752.html
- https://www.iphones.ru/iNotes/chto-nuzhno-znat-pro-fayl-podkachki-v-macos-07-27-2020
- Установить подключение до VPN сервера
- Настроить DoT (DNS-over-TLS) или DoH (DNS-over-HTTPS). Сетевые правила > Интернет-фильтры > Настройка DNS > Добавить сервер. Подходит, например, сервер от яндекса: https://yandex.com/support/dns/keenetic.html
- Прописать статические маршруты до желаемых сервисов. Удобнее всего через bat-файл. Как узнать адреса и маски: https://forum.keenetic.com/topic/14251-%D0%BC%D0%B0%D1%80%D1%88%D1%80%D1%83%D1%82%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F-instagram/
Grab kubeconfig from AWS
aws eks update-kubeconfig --region eu-central-1 --name data-platform --profile data-platform-production --alias dp-prod
Необходимо реализовать систему выполнения задач в виде HTTP сервиса. Сервис защищен авторизацией, значит каждый пользователь системы видит и управляет только своими задачами.
Есть несколько долгих (по времени выполнения) функций. Хочется иметь сервис, который будет предоставлять возможность вызова этих функций с предоставлением мета информации о статусе выполнения функции.
Типичный сценарий:
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
find . -type f ! -name '*.png' ! -name '*.ico' | xargs awk 'FNR==1{print "\n--- File "FILENAME"\n";}{ print }' > ../report.txt | |
libreoffice.writer ../report.txt |
PATCH {{baseUrl}}/users/me/
Authorization: JWT {{token}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary
------WebKitFormBoundary
Content-Disposition: form-data; name="photo"; filename="demo-name.png"
Content-Type: image/png
< /home/alexander/Pictures/google-calendar.png
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
from __future__ import annotations | |
import typing | |
from typing import Generic, TypeVar | |
T = TypeVar("T") | |
class LinkedListError(Exception): | |
pass |
function remind() {
var scheduleSheet = SpreadsheetApp.getActive().getSheetByName("График");
var infoSheet = SpreadsheetApp.getActive().getSheetByName("Дежурные");
var duty = scheduleSheet.getRange(12, 7, 1, 1).getValue();
var info = infoSheet.getRange(1, 1, infoSheet.getLastRow(), 3).getValues();
for (var index in info) {
var row = info[index];
NewerOlder