Skip to content

Instantly share code, notes, and snippets.

View eugesh's full-sized avatar
This is my backup repo. For drafts and sketches.

Evgeny Shtanov eugesh

This is my backup repo. For drafts and sketches.
View GitHub Profile
eugesh /
Created March 4, 2024 15:33 — forked from akost/
Bash script for recursive file convertion windows-1251 --> utf-8
# Recursive file convertion windows-1251 --> utf-8
# Place this file in the root of your site, add execute permission and run
# Converts *.php, *.html, *.css, *.js files.
# To add file type by extension, e.g. *.cgi, add '-o -name "*.cgi"' to the find command
find ./ -name "*.php" -o -name "*.html" -o -name "*.css" -o -name "*.js" -type f |
while read file
eugesh / clientapplication.cpp
Last active February 10, 2023 14:10
Example for QNmeaPositionInfoSource
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#include <QtCore>
#include <QNmeaPositionInfoSource>
#include <QSerialPort>
#include <QTextEdit>
#include "clientapplication.h"
ClientApplication::ClientApplication(QWidget *parent)
eugesh / qchecklist.h
Last active April 26, 2024 12:36 — forked from mistic100/qchecklist.h
[Qt/C++] QComboBox with support of checkboxes
#include <QWidget>
#include <QComboBox>
#include <QStandardItemModel>
#include <QLineEdit>
#include <QEvent>
#include <QStyledItemDelegate>
#include <QListView>