@botsgram_cu · Post #3193 · 27.11.2020 г., 10:54
@TextTSBot Qué puede hacer este bot? Este convierte un texto a voz. Puedes seleccionar el idioma, el tipo de voz y el sexo Idioma: Inglés (visto en @BotsGram.cu) #command
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #32 · 7 фев.
Скорее всего уже слышали, что складывать строки через + это плохая практика. Падение производительности, и всё такое. Без лишних слов, давайте измерять: from timeit import timeit def t1(): # складываем 10 строк через + из переменной t = 'text' for _ in range(1000): s = t + t + t + t + t + t + t + t + t def t2(): # склеиваем список строк через метод join arr = ['text'] * 10 for _ in range(1000): s = ''.join(arr) def t3(): # складываем через + но не из переменной а непосредственно инлайн объекты for _ in range(1000): s = 'text' + 'text' + 'text' + ... # всего 10 раз Теперь каждую строку склейки запустим по 10М раз >>> timeit(t1, number=10000) 0.21951690399964718 >>> timeit(t2, number=10000) 1.4978306379998685 >>> timeit(t3, number=10000) 0.2213820789993406 Хм, а нам говорили что через "+" это плохо и медленно ))) 😁 Тут стоит учитывать, что речь идёт о склейке множества длинных строк. Давайте изменим условия: def t4(): t = 'text'*100 for _ in range(1000): s = t + t + t + t + t + t + t + t + t def t5(): arr = ['text'*100] * 10 for _ in range(1000): s = ''.join(arr) def t6(): for _ in range(1000): s = 'text'*100 + 'text'*100 + ... # всего 10 раз >>> timeit(t4, number=10000) 12.795130728000004 >>> timeit(t5, number=10000) 2.642637542999182 >>> timeit(t6, number=10000) 0.2184546610005782 Вот, уже другой разговор, сразу видна разница, в среднем в 6 раз. Но погодите, почему последний тест t6() по скорости такой же как и t3()? Ведь строки теперь в 100 раз длиннее! Это вопросы оптимизации кода, какие простые изменения ускоряют или замедляют выполнение программы. Мы столкнулись с примером обхода обращения к переменной. Например, именно так работает директива #define в С++, во время компиляции подставляя значение переменной вместо ссылки на неё. В Python это тоже работает, но часто ли вы сможете встретить такой способ работы со строками? К сожалению, способ почти только теоретический. В целом, тесты показали то, что мы хотели. Делаем выводы самостоятельно. Полный листинг 🌍 #tricks
Пребарај: #command
@botsgram_cu · Post #3193 · 27.11.2020 г., 10:54
@TextTSBot Qué puede hacer este bot? Este convierte un texto a voz. Puedes seleccionar el idioma, el tipo de voz y el sexo Idioma: Inglés (visto en @BotsGram.cu) #command
Hashtags
@githubredteam · Post #84120 · 13.05.2026 г., 19:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:docs-atlas-c2fca190 👤项目作者:mintlify-atlas 🛠开发语言: MDX ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-05-13 19:01:51 📝项目描述: 无描述 🔗点击访问项目地址
@githubredteam · Post #83601 · 10.05.2026 г., 04:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:c2i 👤项目作者:Open-Technology-Foundation 🛠开发语言: Shell ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-05-10 04:00:54 📝项目描述: A lightweight utility for saving clipboard PNG images to files with timestamp. 🔗点击访问项目地址
@githubredteam · Post #83404 · 08.05.2026 г., 19:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:C2export 👤项目作者:rericha19 🛠开发语言: C++ ⭐Star数量: 11 | 🍴Fork数量: 2 📅更新时间: 2026-05-08 19:02:59 📝项目描述: Crash 2 level (re)builder and multipurpose tool 🔗点击访问项目地址
@GithubRedTeam · Post #80525 · 16.04.2026 г., 09:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:3f2c7fac-647f-4aba-864e-c28b35707023 👤项目作者:dgurfein 🛠开发语言: C# ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-16 09:03:06 📝项目描述: Longest Sequence 🔗点击访问项目地址
@GithubRedTeam · Post #80317 · 14.04.2026 г., 20:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:SEDAP-Express 👤项目作者:UNIITY-Team 🛠开发语言: Java ⭐Star数量: 27 | 🍴Fork数量: 4 📅更新时间: 2026-04-14 19:59:19 📝项目描述: SEDAP-Express is an exceptionally fast path/lightweight protocol to integrate new applications, sensors, effectors or other similar things especially into the ecosystem of MESE/UNIITY but not only! There are already a bunch of companies and individuals who use that internally for their own projects to exchange tactical or telemetry data. 🔗点击访问项目地址
@GithubRedTeam · Post #80202 · 14.04.2026 г., 03:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:overview 👤项目作者:MythicMeta 🛠开发语言: JavaScript ⭐Star数量: 8 | 🍴Fork数量: 0 📅更新时间: 2026-04-14 02:59:06 📝项目描述: Overview of Mythic C2 Profiles and Mythic Agents 🔗点击访问项目地址
@GithubRedTeam · Post #80090 · 13.04.2026 г., 08:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:c2c 👤项目作者:clankercode 🛠开发语言: Python ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-13 08:02:12 📝项目描述: Tools and documentation for Claude-to-Claude messaging experiments. Discover live Claude sessions, inject messages, inspect history, and coordinate multi-agent conversations on a shared machine. The foundation for chat-to-chat messaging systems. 🔗点击访问项目地址
@GithubRedTeam · Post #79248 · 07.04.2026 г., 11:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:gemma-c2c 👤项目作者:Abdulraqib20 🛠开发语言: Jupyter Notebook ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-07 11:02:16 📝项目描述: Chaos-to-Clarity (C2C): fine-tune Gemma 4 E4B to extract structured YAML from messy text. MLX, Hugging Face, Gradio. 🔗点击访问项目地址
@GithubRedTeam · Post #78856 · 05.04.2026 г., 02:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:c2e-slack 👤项目作者:w2ayz 🛠开发语言: Python ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-05 02:01:27 📝项目描述: Chinese to English Slack bot — local Whisper + Ollama + Edge TTS pipeline 🔗点击访问项目地址
@GithubRedTeam · Post #78625 · 03.04.2026 г., 14:04
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:Network-Instruction-Detection-System-Using-Scapy 👤项目作者:royaldevil8 🛠开发语言: Python ⭐Star数量: 0 | 🍴Fork数量: 0 📅更新时间: 2026-04-03 13:59:06 📝项目描述: A Network Instruction Detection System (NIDS) using Scapy monitors network traffic in real time, analyzes packets, and detects suspicious or malicious commands. It helps identify C2 signals, unauthorized instructions, exploits, and abnormal patterns, acting as a lightweight intrusion detection system. 🔗点击访问项目地址
@GithubRedTeam · Post #78217 · 01.04.2026 г., 01:03
🚨 GitHub 监控消息提醒 🚨发现关键词:#C2#Command 📦项目名称:c2cciutils 👤项目作者:camptocamp 🛠开发语言: Python ⭐Star数量: 4 | 🍴Fork数量: 2 📅更新时间: 2026-04-01 01:03:07 📝项目描述: 无描述 🔗点击访问项目地址