Post 700

🗂 File: 700-photo.jpg

Post 699

document.addEventListener("DOMContentLoaded", function () {
const form = document.querySelector(".signupform");
if (!form) return;

form.querySelector("#fitem_id_username .col-form-label").innerHTML = "E-mail";

const usernameInput = form.querySelector("#id_username");
const emailInput = form.querySelector("#id_email");
const email2Input = form.querySelector("#id_email2");

if (usernameInput && emailInput && email2Input) {
usernameInput.addEventListener("input", function () {
emailInput.value = this.value;
email2Input.value = this.value;
});
}

// Скрытие ненужных элементов
["#fitem_id_email", "#fitem_id_email2", "#fitem_id_country", "#fitem_id_city"]
.forEach(selector => {
const element = form.querySelector(selector);
if (element) element.style.display = "none";
});

// Обновление лейблов и плейсхолдеров
const labels = {
"#id_firstname_label": "Имя и Отчество (Name and Patronymic)<br>[Дмитрий Александрович]",
"#id_lastname_label": "Фамилия (Last name)<br>[Петров]"
};
for (const [selector, text] of Object.entries(labels)) {
const label = form.querySelector(selector);
if (label) label.innerHTML = text;
}

const placeholders = {
"#id_firstname": "Имя Отчество",
"#id_lastname": "Фамилия"
};
for (const [selector, text] of Object.entries(placeholders)) {
const input = form.querySelector(selector);
if (input) input.placeholder = text;
}

// Упрощение стилей для .fdate_selector
const dateSelector = form.querySelector(".fdate_selector");
if (dateSelector) {
dateSelector.style.flexWrap = "wrap";
dateSelector.style.gap = "1rem";
}

// Hide Element on lostforgot page
const forgotFormUsername = document.querySelector("#id_searchbyusername");
if (forgotFormUsername) forgotFormUsername.style.display = "none";

});

Post 698

qw with comment or none

Post 697

https://wakatime.com

Post 696

async def construct_text_summary(summary: dict):
all_rows = []
for chapter in summary.get('chapters'):
chapter_time = chapter.get('startTime')
chapter_title = chapter.get('content')
title_html = f'<b>{chapter_time} - {chapter_title}</b>'
theses = [' • ' + thesis.get('content') for thesis in chapter.get('theses')]
rows = [title_html] + theses + ['']
all_rows += rows

return '\n'.join(all_rows)

Post 695

Choose one of these options.
Exit in seconds: 8

Post 694

https://youtu.be/8NZuyitYCwI?si=90sNC-3e_QnL_hSq

Post 693

Мой пет-проект спустя год учебы на программиста
youtu.be/43hci8QsHSg [11:41]
Идущий к IT

🗂 File: 693-audio.m4a

Post 692

⏳ Preparing...

Post 691

https://youtu.be/43hci8QsHSg?si=1pTk3GHF6wUnf0Bs