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
eugesh / convert.sh
Created March 4, 2024 15:33 — forked from akost/convert.sh
Bash script for recursive file convertion windows-1251 --> utf-8
#!/bin/bash
# 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
do
@eugesh
eugesh / qchecklist.h
Last active September 7, 2022 07:01 — forked from mistic100/qchecklist.h
[Qt/C++] QComboBox with support of checkboxes
#ifndef QCHECKLIST
#define QCHECKLIST
#include <QWidget>
#include <QComboBox>
#include <QStandardItemModel>
#include <QLineEdit>
#include <QEvent>
#include <QStyledItemDelegate>
#include <QListView>