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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
********************************************************************** | |
Экспорт документации Midjourney через Zendesk Help Center API | |
********************************************************************** | |
* Назначение | |
Экспорт статей help-центра docs.midjourney.com в офлайновый архив: | |
- собирает навигацию (категории → разделы → статьи); |
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
<!-- ********************************************************************** --> | |
<!-- Плавное отображение текста --> | |
<!-- ********************************************************************** --> | |
<!-- | |
settings { | |
"elemClass": "uc-text-animation", | |
"speedText": "0.3", | |
"bgColorTextAnimation": "#F8F7F8", | |
"opacityText": "0.8", | |
"textColor": "#002EFE" |
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
<!-- ********************************************************************** --> | |
<!-- Скрываем некоторые характеристики в каталоге Тильды --> | |
<!-- ********************************************************************** --> | |
<script> | |
document.addEventListener("DOMContentLoaded", function(){ | |
// Константы для настроек | |
const ALLOWED_NAMES = [ | |
"Размер моста", | |
"Материал оправы", | |
"Гендерная принадлежность", |
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
<!-- ********************************************************************** --> | |
<!-- Замена иконок у кнопок на WhatsApp, Telegram, --> | |
<!-- VK и прочие в ЗероБлоке (Тильда) --> | |
<!-- ********************************************************************** --> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css"> | |
<script> | |
document.addEventListener('DOMContentLoaded', function() { | |
var iconsMap = { | |
'.uc-contact-whatsapp': 'fa-brands fa-whatsapp', | |
'.uc-contact-telegram': 'fa-brands fa-telegram', |
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
<!-- ********************************************************************** --> | |
<!-- Карусель изображений с автоматическим переключением слайдов --> | |
<!-- и настройкой прозрачности --> | |
<!-- ********************************************************************** --> | |
<!-- Этот код создает слайдер с индивидуальной прозрачностью для каждого --> | |
<!-- изображения. JavaScript добавляет слайды и контролирует плавное --> | |
<!-- переключение по таймеру, а CSS задает стили и накладывает --> | |
<!-- прозрачность. --> | |
<!-- ********************************************************************** --> | |
<script> |
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
<!-- ********************************************************************** --> | |
<!-- «Белый шум» на всём сайте (Тильда) --> | |
<!-- ********************************************************************** --> | |
<div class="uc-noise-overlay"></div> | |
<style> | |
.uc-noise-overlay { | |
position: fixed; | |
top: 0; | |
left: 0; | |
width: 100%; |
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
REM Извлечение аудио из video.mp4 и сохранение в формате MP3 | |
REM с оригинальным битрейтом с помощью FFmpeg | |
ffmpeg -i video.mp4 -vn -c:a copy video.mp3 |
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
<!-- ********************************************************************** --> | |
<!-- Адаптивное фоновое видео для Zero-блока Тильды --> | |
<!-- ********************************************************************** --> | |
<!-- Заполняет 100% ширины и высоты родительского блока с возможностью --> | |
<!-- указать свои ссылки на видео и превью. --> | |
<!-- ********************************************************************** --> | |
<script> | |
// Замените на URL вашего видео | |
const videoSource = 'https://example.com/path/to/your/video.mp4'; | |
// Замените на URL вашего превью |
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
<!-- ********************************************************************** --> | |
<!-- Анимация движения SVG-фигурки по заданному пути с использованием GSAP --> | |
<!-- ********************************************************************** --> | |
<!-- Этот код создает анимацию движения SVG-фигуры по линии, которая --> | |
<!-- задана в SVG, при прокрутке страницы. GSAP с MotionPathPlugin --> | |
<!-- и ScrollTrigger обеспечивает плавное движение фигурки по пути. --> | |
<!-- Анимация запускается и останавливается в зависимости от позиции --> | |
<!-- скролла, что делает её синхронизированной с прокруткой. --> | |
<!-- ********************************************************************** --> | |
<!DOCTYPE html> |
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
<!-- ********************************************************************** --> | |
<!-- SmoothScroll с помощью библиотеки Lenis --> | |
<!-- ********************************************************************** --> | |
<!-- Более плавный скролл, нежели чем «классический» --> | |
<!-- ********************************************************************** --> | |
<script src="https://unpkg.com/lenis@1.1.18/dist/lenis.min.js"></script> | |
<script> | |
// Классы, для которых скрипт "отключается" | |
const classesToExclude = [ | |
't706', |
NewerOlder