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
ld: Undefined symbols: | |
td::verbosity_mtproto, referenced from: | |
l_constinit in TDLibFramework[arm64][134](Logging.cpp.o) | |
td::verbosity_raw_mtproto, referenced from: | |
l_constinit in TDLibFramework[arm64][134](Logging.cpp.o) | |
td::mtproto::DhHandshake::run_checks(bool, td::mtproto::DhCallback*), referenced from: | |
td::CallActor::do_update_call(td::telegram_api::phoneCallAccepted const&) in TDLibFramework[arm64][39](CallActor.cpp.o) | |
td::CallActor::do_update_call(td::telegram_api::phoneCall const&) in TDLibFramework[arm64][39](CallActor.cpp.o) | |
td::SecretChatActor::run_auth() in TDLibFramework[arm64][223](SecretChatActor.cpp.o) | |
td::SecretChatActor::on_update_chat(td::telegram_api::encryptedChat&) in TDLibFramework[arm64][223](SecretChatActor.cpp.o) |
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
diff --git forkSrcPrefix/submodules/TelegramUI/Sources/ChatController.swift forkDstPrefix/submodules/TelegramUI/Sources/ChatController.swift | |
index 73da2bf8b4cca4dbd5c7d36555019fa1afa1b777..188f83c41e67039b791b77de26469c4a27f2a911 100644 | |
--- forkSrcPrefix/submodules/TelegramUI/Sources/ChatController.swift | |
+++ forkDstPrefix/submodules/TelegramUI/Sources/ChatController.swift | |
@@ -3962,6 +3962,22 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G | |
let params = WebAppParameters(source: .generic, peerId: peerId, botId: peerId, botName: botName, url: result.url, queryId: result.queryId, payload: nil, buttonText: buttonText, keepAliveSignal: result.keepAliveSignal, forceHasSettings: false) | |
let controller = standaloneWebAppController(context: strongSelf.context, updatedPresentationData: strongSelf.updatedPresentationData, params: params, threadId: strongSelf.chatLocation.threadId, openUrl: { [weak self] url, concealed, commit in | |
This file has been truncated, but you can view the full file.
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
Media Info {creatingLibrary: {…}, media: {…}} | |
index-52687a8a.js:930 {width: 1080, height: 1920, video_codec: 'avc1', audio_codec: '2 / 40 / mp4a-40-2', framerate: 60, …}audio_bitrate: 163728audio_codec: "2 / 40 / mp4a-40-2"duration: 42framerate: 60height: 1920video_bitrate: 1700475video_codec: "avc1"width: 1080[[Prototype]]: Object | |
index-52687a8a.js:930 (7) ['-loglevel', 'debug', '-v', 'trace', '-i', 'input.mp4', 'output.mp4'] | |
index-52687a8a.js:930 Wake Lock acquired | |
index-52687a8a.js:930 FFMPEG [stderr] ffmpeg version 5.1.3 Copyright (c) 2000-2022 the FFmpeg developers | |
index-52687a8a.js:930 FFMPEG [stderr] built with emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.40 (5c27e79dd0a9c4e27ef2326841698cdd4f6b5784) | |
index-52687a8a.js:930 FFMPEG [stderr] configuration: --target-os=none --arch=x86_32 --enable-cross-compile --disable-asm --disable-stripping --disable-programs --disable-doc --disable-debug --disable-runtime-cpudetect --disable-autodetect --nm=emnm --ar=emar --ranlib=emran |
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
swiftc -Xllvm --version /tmp/foo.swift | |
LLVM (http://llvm.org/): | |
LLVM version 14.0.3 | |
Optimized build. | |
Default target: arm64-apple-darwin22.6.0 | |
Host CPU: apple-m1 | |
swiftc -Xllvm -help-hidden /tmp/foo.swift | |
USAGE: swift (LLVM option parsing) [options] |
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 asyncio | |
import aiohttp | |
import timeit | |
import os | |
import shutil | |
urls = [ | |
"https://speedtest.london.linode.com/garbage.php?ckSize=20", | |
"https://httpbin.org/get", | |
"https://httpbin.org/uuid", |
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 | |
app = FastAPI() | |
from typing import Optional | |
from uvicorn import run | |
from pydantic import BaseModel, Field | |
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 socket | |
from threading import Thread, Lock | |
# Блокировщик для правильного вывода print, потокобезопасно | |
s_print_lock = Lock() | |
def s_print(*a, **b): | |
"""Потокобезопасная функция print""" | |
with s_print_lock: |
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 subprocess | |
import telebot | |
from credentials import token | |
# credentials.py | |
# -------------- | |
# token = "435038115:AAGcT63s9aOHcXT3h6SQH36lceVvh..." | |
# |
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 python:3.6-alpine3.7 | |
RUN apk update && \ | |
apk add --no-cache ca-certificates mongodb-tools alpine-sdk openssl && \ | |
pip3 install b2 sh requests --no-cache-dir -q --compile && \ | |
rm -rf /var/cache/apk/* |
NewerOlder