- Cloth Config API
- API для внутриигрового редактирования конфигов. Опциональная зависимость для множества модов
- Файлы:
- cloth-config-5.3.58-fabric.jar
- Mouse Tweaks
- Улучшает управление мышью в инвентаре
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
custom_quantize_layers: | |
'128': float16 | |
'130': float16 | |
'131': float16 | |
'133': float16 | |
'134': float16 | |
'136': float16 | |
'137': float16 | |
'146': float16 | |
'138': float16 |
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
2023-02-28 18:30:23.754203 [STATUS] (StatusMajor.CONNECTION, StatusMinor.CFG_OK) config_path=/net/openvpn/v3/configuration/6ed42a56x2d94x46ebx8557xfed2e9eee5af | |
2023-02-28 18:30:23.754280 [LOG] Starting connection | |
2023-02-28 18:30:23.754319 [LOG] Username/password provided successfully for 'yakovlev.gm' | |
2023-02-28 18:30:23.754357 [STATUS] (StatusMajor.CONNECTION, StatusMinor.CONN_CONNECTING) | |
2023-02-28 18:30:23.760154 [LOG] Waiting for server response | |
2023-02-28 18:30:23.780489 [LOG] Connecting | |
2023-02-28 18:30:23.780604 [STATUS] (StatusMajor.CONNECTION, StatusMinor.CONN_CONNECTING) | |
2023-02-28 18:30:23.806620 [LOG] Certificate verification failed:OpenSSLContext::SSL::read_cleartext: BIO_read failed, cap=2576 status=-1: error:0A000086:SSL routines::certificate verify failed | |
2023-02-28 18:30:23.806718 [STATUS] (StatusMajor.CONNECTION, StatusMinor.CONN_FAILED) Certificate verification failed |
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 <iostream> | |
#include <fstream> | |
void read_command(std::ifstream & file) | |
{ | |
char first_byte; | |
file.get(first_byte); | |
if (first_byte == '$') | |
{ |
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
import matplotlib.pyplot as plt | |
import numpy as np | |
import cv2 | |
def show_graph(x_list, y_list, width, height): | |
plt.figure(figsize = [width, height]) | |
plt.scatter(x_list, y_list, marker='.', s=5) | |
plt.show() | |
return |
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
import vk_api | |
from vk_api.bot_longpoll import VkBotLongPoll, VkBotEventType | |
def main(): | |
""" Пример использования bots longpoll | |
https://vk.com/dev/bots_longpoll | |
""" | |
vk_session = vk_api.VkApi(token='vk1.a.d3FAEBsnN64l1MjO7QTHldPgj-2HiTFtLxXvwgIGvoBClCAy-4KEPF9BVsczo0JBTREYkQbQMpyT7iolGeGaGUA3c2WVGuE_vJOQZE6ZliIod844VFmEh5UpY9OMF6skYdHlOMmRSBWYAh4Sq_MiSJ_6LzAdpGByX6If6PhccvXKwqxD2PerG4fz3mSgPU2zbjMCYodwzcrZiOOW5vQArQ') |
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
template <typename T> | |
auto xor_ptr(T* x, T* y) -> T * | |
{ | |
return reinterpret_cast<T*>( | |
reinterpret_cast<std::uintptr_t>(x) ^ reinterpret_cast<std::uintptr_t>(y) | |
); | |
} | |
template <typename T> | |
struct list_node |
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
################################# | |
# Animations # | |
################################# | |
# requires https://github.com/jonaburg/picom | |
# (These are also the default values) | |
transition-length = 300 | |
transition-pow-x = 0.1 | |
transition-pow-y = 0.1 | |
transition-pow-w = 0.1 | |
transition-pow-h = 0.1 |
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
module Main where | |
import XMonad | |
import XMonad.Util.EZConfig (mkKeymap) | |
import XMonad.Util.Ungrab (unGrab) | |
import XMonad.Util.EZConfig (mkKeymap) | |
import XMonad.Hooks.EwmhDesktops (ewmh, ewmhFullscreen) | |
import XMonad.Hooks.ManageDocks (avoidStruts) | |
import qualified XMonad.StackSet as W | |
import qualified Data.Map as M |
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
from fastapi import FastAPI, APIRouter, Request | |
from fastapi.staticfiles import StaticFiles | |
from fastapi.responses import JSONResponse, HTMLResponse | |
from fastapi.templating import Jinja2Templates | |
import json | |
from datetime import datetime | |
import MetaTrader5 as mt |
NewerOlder