UNIX-history source codes on GitLab

I found that there are some people on GitHub that collect source codes from early UNIX ages, like first compilers, first shells, or PDP7-UNIX. Just to made them available in one place (slightly decentralize access to them) – I decided to create gitlab.com account `UNIX-history` for them. You can find there source codes from 1970, […]

Insulting sudo mode

Sudo has an easter-egg that’s disabled by default. It can insult you each time you provide incorrect password. Just like that: [sudo] password for agilob: You can’t come in. Our tiger has got flu [sudo] password for agilob: You do that again and see what happens… [sudo] password for agilob: You can’t get the wood, […]

Automated delivery and publication of apps using FDroid and GitLabCI

In my spare time I develop applications on Android. I also “maintain” F-Droid repository for some of my public projects. I wanted to automatically publish each build after: Compilation passed Test on a connected device passed Signed build completed So I made a simple setup with help of GitLabCI and own F-Droid repository. This post […]

Automated updates on Debian using Tor and official hidden services

I like to automate some boring and easy tasks we all have to do often, so I would like to share with you an easy but not too widely known trick in Debian/Ubuntu for automated upgrades, that can be performed without any manual actions. This post describes the following configurations for a server: Installation and […]

XXX loves opensource…

…that’s why we published our product on OSI-compatible license! We <3 open-source! Well, does Microsoft/Google/Apple/Netflix/XXX really love open-source? No, they don’t. In fact they do more to extinguish open source by fighting them with patent wars, you don’t hear about, developing DRM, you hear about when it’s too late and dropping support for some key-products […]

Content-Security-Policy for WordPress with Disqus…

…that works in nginx: add_header Content-Security-Policy "default-src ‘self’; script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ agilob.disqus.com disqus.com a.disquscdn.com referrer.disqus.com; img-src ‘self’ agilob.disqus.com disqus.com a.disquscdn.com referrer.disqus.com; style-src ‘self’ ‘unsafe-inline’ agilob.disqus.com disqus.com a.disquscdn.com referrer.disqus.com; font-src ‘self’; frame-src ‘self’ ‘unsafe-inline’ agilob.disqus.com disqus.com a.disquscdn.com referrer.disqus.com; object-src ‘none’";add_header Content-Security-Policy "default-src ‘self’; script-src ‘self’ ‘unsafe-inline’ ‘unsafe-eval’ agilob.disqus.com disqus.com a.disquscdn.com referrer.disqus.com; img-src ‘self’ agilob.disqus.com disqus.com […]

Qt5 on FreeBSD

For a reason FreeBSD doesn’t support Qt5 build tools out of box. There are a few problems that have to be solved before you can run qmake && make to build a project. Firstly, my default setup didn’t have QMAKESPEC specified, add this line to your .bashrc/.zshrc: export QMAKESPEC=freebsd-g++export QMAKESPEC=freebsd-g++ Also add this line to […]

Boosting speed of OpenVPN connections

This year (2016) and last year, a few new laws were introduced by Cameron’s government, so I decided to get myself VPN. First, I tried a lifetime TigerVPN for 30$, nice deal. Unfortunately, TigerVPN doesn’t fully support Linux OpenVPN implementation. Connection is dropped when reaching ~900kb/s upload+download; network-manager tells that server time outed and it […]

Static code analysis in QtCreator with CppCheck

Just a simple tutorial to show you how to add static code analysis plugin in QtCreator on Liunx. Start by downloading plugin dedicated to QtCreator from here. Unpack .zip and you will get two directories which you have to copy to /usr/lib/qtcreator/plugins/. You can copy only libQtcCppcheck.so, if you don’t need Russian translation. cp lib/qtcreator/plugins/libQtcCppcheck.so […]

Simple random password generator in bash

One liner: pass=`cat /dev/urandom | head -2 | tr -cd ‘a-zA-Z0-9!@#$%^&*()_+-=][‘;/.,’`; echo ${pass:4:30}pass=`cat /dev/urandom | head -2 | tr -cd ‘a-zA-Z0-9!@#$%^&*()_+-=][‘;/.,’`; echo ${pass:4:30} function in .bashrc: pass(){ password=`cat /dev/urandom | head -2 | tr -cd ‘a-zA-Z0-9!@#$%^&*()_+-=][‘;/.,’`; echo ${password:4:30} }pass(){ password=`cat /dev/urandom | head -2 | tr -cd ‘a-zA-Z0-9!@#$%^&*()_+-=][‘;/.,’`; echo ${password:4:30} }