Privacy policyContactsAbout siteOpinionsGitHubDonate
© EVILEG 2015-2018
Recommend hosting
TIMEWEB

Евгений Легоцкой

EVILEG

  • 9
  • 0
April 23, 2019, 8:10 a.m.

Django

Mac, Homebrew, Nginx, MacOS, Python, Apple, Django

I propose to consider the process of installing and configuring a Django project on Mac OS X based on an existing project.

Some steps will be similar to those already performed in the Django setup article for Ubuntu .

April 22, 2019, 6:13 a.m.

Algorithms

OTUS, Алгоритм

Данная статья приурочена к старту курса "Алгоритмы для разработчиков" от компании OTUS. Выражаю признательность за поддержку ресурса данной компанией.

Давайте изучим, какие операции можно выполнять со связанным списком.

Два важных момента, которые нужно помнить:

  • head указывает на первый узел связанного списка
  • next указатель последнего узла равен nullptr , поэтому, если следующий из текущего узла равен nullptr , мы достигли конца связанного списка.
March 25, 2019, 2:32 p.m.

Linux

bash, Bash

Note, not to forget, how quickly through the terminal to set recursively 755 access to directories and 644 files.

March 22, 2019, 3:34 p.m.

Qt

undocumented, Qt, QMake

Qt is quite a large framework and it constantly introduces functionality, which unfortunately either do not have time to document or forget to document.

For example, besides the QQuickItem documentation, I highly recommend watching the sources, or at least the header files. Wonder how many public methods are there that are not described in the documentation, but can be successfully applied, and are very useful in a word.

But now the talk will be about copying files using the functionality that was implemented in Qt 5.6, but at the same time almost nothing is known about it.

March 13, 2019, 8:15 a.m.

Django

hosting, хостинг

Сегодня мы познакомимся с ещё одним хостингом, который попал в поле моего зрения.

Это европейский хостинг Fornex , который предоставляет следующие услуги:

  • SSD Хостинг
  • Выделенный сервер
  • SSD VPS
  • Бэкап
  • VPN
  • И еще много дополнительных услуг.
Feb. 26, 2019, 10:22 a.m.

C++

SFINAE, C++17, template

There was a problem: "write the second implementation of the template function", in which the same arguments are passed. That is, the signature of both functions completely coincides. The difference is that, as an argument, the std::vector containers and the std::map containers can be passed to the function. And depending on whether std::vector is or std::map, this or that implementation should be selected.

In this case, the SFINAE rule will be used, which states: If the final types of arguments cannot be calculated (to perform substitution of template parameters) of an overloaded template function, the compiler does not throw an error, but searches for another suitable overload. The error will be in three cases:

  • No suitable overload was found.
  • Several such overloads were found, and C ++ cannot decide which one to take.
  • The overload was found, it turned out to be a template, and an error occurred when instantiating the template.

Our case will be the second. There are two overload template functions.

Jan. 23, 2019, 9:27 a.m.

Qt

Qt, QSS, Styles, Stylesheet

Войдите в удивительный мир инструментов, для которых анонс требует больше времени, чем сам инструмент.

Jan. 23, 2019, 8:32 a.m.

Linux

Wine, Linux

Wine 4.0 теперь официально доступен как новый ежегодный стабильный выпуск Wine для запуска программ и игр для Windows в Linux и других операционных системах.

Jan. 22, 2019, 7:16 a.m.

Qt

Qt, QML, Visual Studio, Releases

Qt Visual Studio Tools 2.3.1 были выпущены для Visual Studio Marketplace.

Jan. 22, 2019, 7:08 a.m.

Qt

qtcreator, Qt, Releases

Qt Company анонсировала выпуск Qt Creator 4.8.1

Join us in social networks

For registered users on the site there is a minimum amount of advertising