This file contains 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
d-i debian-installer/locale string uk_UA | |
d-i localechooser/supported-locales multiselect en_US.UTF-8, en_US | |
d-i keymap select ua | |
d-i keyboard-configuration/modelcode string pc105 | |
d-i keyboard-configuration/toggle select Alt+Shift | |
d-i keyboard-configuration/layoutcode string us,ru,ua | |
d-i keyboard-configuration/xkb-keymap select ua |
This file contains 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
#!/usr/bin/env python3 | |
import uvicorn | |
from typing import List, Optional | |
from fastapi import FastAPI, Request, Depends, Security, HTTPException, status | |
from fastapi.routing import APIRoute | |
from fastapi.security.api_key import APIKeyHeader | |
app = FastAPI( | |
title='HelloWorld', |
This file contains 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
#!/usr/bin/env python3 | |
import os | |
import sys | |
import logging | |
logger = logging.getLogger(__name__) | |
logging.basicConfig(level=logging.INFO, format='%(levelname)s:%(message)s') | |
path = '/path_to_my_super_repo' | |
read_only = False if len(sys.argv) > 1 and sys.argv[1] == '-rw' else True |
This file contains 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
#include <iomanip> | |
#include <iostream> | |
#include <string> | |
#include <sstream> | |
#include <chrono> | |
using namespace std; | |
const char * time_format = "%Y-%m-%d"; |