EVA
EVADec. 26, 2023, 12:19 p.m.

LinuxHow to Copy Files in Linux

terminal, cp, COPY

Open the Terminal

You can usually find the terminal in your applications menu, or you can use a keyboard shortcut, like Ctrl+Alt+T in some distributions.

Navigate to the Directory

Before copying files, you need to navigate to the directory where …

Read
EVA
EVADec. 25, 2023, 10:55 a.m.

PythonStep 2: Mastering the Basics: A Guide to Python's Fundamental Concepts with Code Examples

Python, conditions, Basics, variables

Python stands out in the programming world for its simplicity and readability. It's an ideal language for beginners due to its straightforward syntax and powerful capabilities. This article will explore the fundamental concepts of Python, enhanced with practical code examples …

Read
EVA
EVADec. 24, 2023, 10:39 a.m.

PostgreSQLDDL SQL Commands Cheat Sheet

SQL, Cheat Sheet

1. CREATE TABLE

  • Purpose : Creates a new table in the database.
  • Syntax :
    CREATE TABLE table_name (
          column1 datatype,
          column2 datatype,
          column3 datatype,
          ...
      );
  • Example :
    CREATE TABLE Employees (
          EmployeeID int,
          FirstName varchar(255),
          LastName varchar(255),
          BirthDate date …
Read
EVA
EVADec. 23, 2023, 4:31 a.m.

PythonStep 1: Setting Up Your Environment for Python Programming

IDE, python, PyCharm

Setting up your development environment is the crucial first step on your journey to becoming a proficient Python programmer. In this article, we'll guide you through the process of configuring your system to work with Python, from installing the Python …

Read
EVA
EVADec. 22, 2023, 5:57 a.m.

PythonExploring the Versatility of Python: A Beginner's Guide to a Powerful Language

introduction, python

In the vast landscape of programming languages, Python stands out as a versatile, user-friendly, and powerful tool that has captured the hearts of developers, data scientists, educators, and professionals across diverse industries. Its simplicity, readability, and broad applicability make it …

Read
Павел Дорофеев
Павел ДорофеевOct. 28, 2023, 2:46 p.m.

Projects based on QtHow to write your own QTableView

Qt, C++, QTableView

The topic is interesting and there is already a ready-made open project. It's still a beta version.

Short video on YouTube

github.com

In general, QpTableView is the name of our class. Allows you to display columns of the data model …

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 11, 2023, 4:47 p.m.

DjangoDjango - Protected media content

nginx, protected, Django

On one of the resources that I am developing, there was a need to add protected access to media content, checking the user's right to access this media content. Simply put, can the user view the photo that nginx serves …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 20, 2023, 9:51 a.m.

DjangoChoosing a Canonical URL

django, MVP, URL, Google Search Console

I started working on one small Django project and after creating a Minimum Viable Product , I launched it immediately into the online space so that it would start to be indexed by search engines.

Thus, I expect that at …

Read
IscanderChe
IscanderCheAug. 9, 2023, 5:39 a.m.

QtQScintilla C++ example

Qt

Unfortunately, I completely erased from my memory how I received the distribution kit (it was three years ago, and then I did not return to this topic). Here you have to thoroughly scour the Internet. You can try this resource: …

Read
Evgenii Legotckoi
Evgenii LegotckoiMay 16, 2023, 3:52 p.m.

DjangoDjango - Lesson 064. How to write a Python Markdown extension

Python, markdown, MarkdownField, Django

On this site and a couple of other projects, I actively use markdown to write text, and then generate html code from it. And in the end, I wrote a couple of extensions that perform some specific functionality, which somewhat …

Read
Evgenii Legotckoi
Evgenii LegotckoiMarch 31, 2023, 6:32 a.m.

DjangoDjango - Lesson 063. Full text site search for multiple models with multilingual support

Django, python, Django 3, modeltranslation, full-text search, Django 4

Finally, I managed to make a fairly fast full-text search across several models, taking into account the optimization of requests on the site, which would suit me and meet my requirements for the quality of the project.

If you now …

Read
Evgenii Legotckoi
Evgenii LegotckoiMarch 20, 2023, 6:17 p.m.

DjangoDjango - Lesson 062. How to write a block-template tabbar tag like the blocktranslate tag

tag, templatetags, Django, Django 3, Django 4, template

In this article, I'll show you exactly how you can write a simple block template tag, like the blocktranslate tag in Django .

These block template tags have an opening tag and a closing tag, and the most common one …

Read
АФ

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:30points,
  • Rating points-10
ПЩ

C ++ - Test 004. Pointers, Arrays and Loops

  • Result:80points,
  • Rating points4
d

C++ - Test 005. Structures and Classes

  • Result:50points,
  • Rating points-4
Last comments
k
kmssrFeb. 9, 2024, 5:43 a.m.
Qt Linux - Lesson 001. Autorun Qt application under Linux как сделать автозапуск для флэтпака, который не даёт создавать файлы в ~/.config - вот это вопрос ))
Qt WinAPI - Lesson 007. Working with ICMP Ping in Qt Без строки #include <QRegularExpressionValidator> в заголовочном файле не работает валидатор.
EVA
EVADec. 25, 2023, 9:30 p.m.
Boost - static linking in CMake project under Windows Ошибка LNK1104 часто возникает, когда компоновщик не может найти или открыть файл библиотеки. В вашем случае, это файл libboost_locale-vc142-mt-gd-x64-1_74.lib из библиотеки Boost для C+…
J
JonnyJoDec. 25, 2023, 7:38 p.m.
Boost - static linking in CMake project under Windows Сделал всё по-как у вас, но выдаёт ошибку [build] LINK : fatal error LNK1104: не удается открыть файл "libboost_locale-vc142-mt-gd-x64-1_74.lib" Хоть убей, не могу понять в чём дел…
G
GvozdikDec. 19, 2023, 8:01 a.m.
Qt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers Для решения твой проблемы добавь в файл .pro строчку "LIBS += -lws2_32" она решит проблему , лично мне помогло.
Now discuss on the forum
AC
Alexandru CodreanuJan. 19, 2024, 10:57 p.m.
QML Обнулить значения SpinBox Доброго времени суток, не могу разобраться с обнулением значение SpinBox находящего в делегате. import QtQuickimport QtQuick.ControlsWindow { width: 640 height: 480 visible: tr…
BlinCT
BlinCTDec. 27, 2023, 7:57 p.m.
Растягивать Image на парент по высоте Ну и само собою дял включения scrollbar надо чтобы был Flickable. Так что выходит как то так Flickable{ id: root anchors.fill: parent clip: true property url linkFile p…
Дмитрий
ДмитрийJan. 10, 2024, 3:18 p.m.
Qt Creator загружает всю оперативную память Проблема решена. Удалось разобраться с помощью утилиты strace. Запустил ее: strace ./qtcreator Начал выводиться весь лог работы креатора. В один момент он начал считывать фай…
Evgenii Legotckoi
Evgenii LegotckoiDec. 12, 2023, 5:48 p.m.
Побуквенное сравнение двух строк Добрый день. Там случайно не высылается этот сигнал textChanged ещё и при форматировани текста? Если решиать в лоб, то можно просто отключать сигнал/слотовое соединение внутри слота и …

Follow us in social networks