Skip to content

Instantly share code, notes, and snippets.

@i9kin
i9kin / Unimplemented.cpp
Created May 7, 2025 15:54
Unimplemented.cpp
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <ctime>
int nondet_int(); // { return rand(); }
class X {
public:
virtual bool ok() { return true; }
Функциональный компонент Реализующие программные модули Технологии
Бронирование столика Сервиc booking Userver
Уведомления Сервис notification Userver+Amazon SNS
Антифрод Сервис antifraud Catboost + userver
Интеграция с рестораном Сервис Integration Userver
#!/bin/bash
# локально у меня на ubuntu это enp0s31f6, а не ensp0s3
# список интерфесов можно вывести ifconfig
#eth="enp0s31f6"
eth="ensp0s3"
function net_info {
echo "драйвер нашей сетевой карты"
ethtool -i $eth | grep driver
{
"uuid": "c211c9a5-d0b3-49f1-9281-e7b0c302d315",
"name": "(unspecified, datetime = 2024-06-18 17:16:42)",
"environmentDescription": "(unspecified, hostname = 073b57ab765f)",
"git": {
"commitId": "6837c8099720623044db1f5000bc9ac05638ebc7",
"repositoryUrl": "https://github.com/TechEmpower/FrameworkBenchmarks.git",
"branchName": "master"
},
"startTime": 1718731002520,
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# This script reads Qt configure arguments from config.opt,
# translates the arguments to CMake arguments and calls CMake.
#
# This file is to be used in CMake script mode with the following variables set:
# OPTFILE: A text file containing the options that were passed to configure
# with one option per line.
# MODULE_ROOT: The source directory of the module to be built.
#!/bin/sh
# Copyright (C) 2016 The Qt Company Ltd.
# Copyright (C) 2016 Intel Corporation.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#-------------------------------------------------------------------------------
# script initialization
#-------------------------------------------------------------------------------
# the directory of this script is the "source tree"
@i9kin
i9kin / conformal.py
Created February 14, 2024 16:49
конформное отображение
import numpy as np
from matplotlib import pyplot as plt
fig, (ax_z, ax_w) = plt.subplots(
nrows=1,
ncols=2,
)
# plt.get_current_fig_manager().full_screen_toggle()
@i9kin
i9kin / x86intrin-qt-legacy-patch.cpp
Created January 3, 2024 16:18
x86intrin-qt-legacy-patch.cpp
// Copyright (C) 2022 Intel Corporation.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#include <x86intrin.h>
// Skylake AVX512 was added to GCC 4.9, Clang 3.7, and MSVC 2015.
// Cannon Lake was added to GCC 5, Clang 3.8, and MSVC 2017 15.7,
// so that's our minimum.
// Ice Lake was completed with GCC 8, Clang 6, and MSVC 2017 15.8.
import time
from pathlib import Path
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
DIR = Path(".") / "cf"
domain = "siriusnovember20"