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
| use std::any::TypeId; | |
| use std::cell::RefCell; | |
| use std::fs::{File, OpenOptions}; | |
| use std::io; | |
| use std::io::Write; | |
| use std::path::PathBuf; | |
| use std::rc::Rc; | |
| use std::sync::Mutex; | |
| use tracing::field::{Field, ValueSet, Visit}; | |
| use tracing::span::{Attributes, Record}; |
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
| loading default config "???\\shadowsocks-v1.20.4.x86_64-pc-windows-msvc\\config.json" | |
| 2024-09-12T17:54:59.1586904+03:00 TRACE main ThreadId(01) shadowsocks_rust::service::local: src\service\local.rs:617: Config { log: LogConfig { level: 3, format: LogFormatConfig { without_time: false }, config_path: None }, runtime: RuntimeConfig { worker_count: None, mode: MultiThread } } | |
| 2024-09-12T17:54:59.1589668+03:00 INFO main ThreadId(01) shadowsocks_rust::service::local: src\service\local.rs:976: shadowsocks local 1.20.4 build 2024-09-12T14:36:11.739644200+00:00 | |
| 2024-09-12T17:54:59.1595101+03:00 TRACE main ThreadId(01) shadowsocks_service::local: ???\shadowsocks-rust\crates\shadowsocks-service\src\local\mod.rs:99: Config { server: [ServerInstanceConfig { config: ServerConfig { addr: SocketAddr(???), password: ???, method: CHACHA20_POLY1305, enc_key: ???, timeout: None, identity_keys: [], user_manager: None, plugin: None, plugin_addr: None, remarks: None, id: None, mode: TcpOnly, weight: ServerWeight { tcp_weight: 1. |
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
| // MY STARTUP CLASS | |
| internal static class Entrypoint | |
| { | |
| private static async Task Main() | |
| { | |
| await using var services = ConfigureServices(); | |
| var client = services.GetRequiredService<DiscordClient>(); | |
| var commands = services.GetRequiredService<CommandsNextExtension>(); |
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 datetime import datetime | |
| import requests | |
| import pause | |
| PUT, POST = 'put', 'post' | |
| USERNAME, PASSWORD = "", "" | |
| NICKNAME = "" | |
| DATETIME = datetime(year=0, month=0, day=0, hour=0, minute=0, second=0) |
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 random import choice | |
| from typing import List, Tuple, Optional | |
| import pygame | |
| pygame.init() | |
| WHITE = pygame.Color(255, 255, 255) | |
| GREEN = pygame.Color(0, 255, 0) | |
| RED = pygame.Color(255, 0, 0) |