Friday, December 16, 2016

Building codec2 for Windows using Cmake and MinGW


Building codec2 for Windows using Cmake and MinGW


I want to build and use codec2 library in my Qt application for Windows. Codec2 is incredible library for speech processing it can encode speech from 3200 up to 700 bit/s. Amazing! Let's play with it!

So I need to do:
  1. build codec2 for Windows
  2. write Qt wrappers for codec2 library;
  3. write application able to use codec2 with QAudio sub-system. 
This post will explain how to do first step - build codec2 for windows using CMake and MinGW


Sunday, November 6, 2016

Raspberry Pi (Raspbian): installing VeraCrypt from binaries. Tutorial

Raspberry Pi (Raspbian): installing VeraCrypt from binaries. Tutorial


As you know TrueCrypt is't supported now. You can easily replace it with VeraCrypt, which can be found here.

Here you can find tutorial how you can install this software to your RPi and how to use it.

Wednesday, November 2, 2016

IMEI processing in Python

IMEI processing in Python


Today I used one of our systems (made by our command) and entered new device configuration. Our system blocked my input and said me that my input is incorrect.

I was surprised because I forgot about these checking. Then I remembered that few time I made class for IMEI processing.

I hope that it can be useful for someone else. So, you can use in your projects.


Sunday, October 30, 2016

9-bit serial communication in Linux (Raspbian) 8M1, 8S1 modes (with sources)

9-bit serial communication in Linux (Raspbian) 8M1, 8S1 modes (with sources)

 Problem

As you know, there is a problem when you use 9-bit serial communication under Linux. Here you can find solution which will help you solve this issue.

Saturday, October 22, 2016

Raspbian: Script For Synchronizing Date & Time And Updating All Packages (for beginners)

Raspbian: Script For Synchronizing Date & Time And Updating All Packages (for beginners)



Here is my system-update.sh script which able to do these operations:
  • synchronize date & time (DTS) via NTP;
  • write synchronized DTS to my RTC (DS3221) *;
  • update all installed packages.
* - if you want to know how to attach DS3231 (RTC) to your RPi you can read my post Installing hardware RTC (DS3231) to Raspberry Pi

Thursday, October 20, 2016

Названия месяцев на украинском

Названия месяцев на украинском


Напоминалка для забывающих...

Так сложилось, что я понимаю украинский, могу писать и говорить (только медленно), но названия месяцев выучить не могу - вылетают из головы. Думаю эта напоминалка пригодится не только мне, но и другим людям.

January - Январь - Січень         

Sunday, July 24, 2016

sdelete utility for Linux

sdelete utility for Linux



Preamble

As you know, when you deleting file it's does not delete actually from HDD. On some systems you can restore file by using some special utilities. But what do you need to do when you want delete your file permanently and secure? You can use special utilities.

Saturday, July 23, 2016

Vim editor (Linux) tips and tricks!

Vim editor (Linux) tips and tricks!


As you know, some beginner users have many questions about Vim editor. Most popular is "How to close vim editor in linux without saving". So, this document can be like Bible for beginner users

Wednesday, November 11, 2015

Redmine email notifications. Documentation vs Reality

Redmine email notifications. Documentation vs Reality


Problem


You want setup email notifications for Redmine which run's under Debian Jessie. So, you going Aministration-Settings-Email notifications and see notification which says that you need go and edit /etc/redmine/<instance>/configuration.yml file. And you going into /etc/redmine and looking for your instance (default in most cases) and you can't find any configuration.yml

It's sad.

Let's fix it!

Installing Redmine on Linux Debian (Jessie) with Nginx + Thin

Installing Redmine on Linux Debian (Jessie) with Nginx + Thin


Problem


If you tried to install Redmine with Nginx you know that it's very interesting task.

Let's solve this task.

This document based on "Installing Redmine with MySQL Thin and Redmine on Debian Squeeze" and fixes few issues with base document

Also, you can find some useful tricks here:

https://github.com/perusio/redmine-nginx