Profile cover photo
Profile photo
Ruslan Osmanov
80 followers
80 followers
About
Posts

Post has attachment
Systemd service for IP aliasing
In this post I'll show how to make a Systemd service for easy addition and removal of local IP addresses. Problem The service may be useful when working with emulators such as Android Emulator , when one needs to configure network communication between the ...
Add a comment...

Post has attachment
Making charts from iostat output
I've decided to make some charts from the output of the iostat command. Just for fun =) The idea is simple: a script named `report.sh` runs periodically in background(via `cron`) collecting `iostat` data into $REPORT_DIR/$param/$device files, where $REPORT_...
Add a comment...

Post has attachment
Arch Linux ARMv8 VM on Gentoo AMD64
The post is about configuring Arch Linux ARMv8 guest virtual machine(VM) on Gentoo AMD64 host using QEMU . VirtualBox I'm used to making VMs in VirtualBox . It can handle a large variety of disk image formats. We can easily convert the RAW image to VDI : $ ...
Add a comment...

Post has attachment
PostgreSQL function for parsing JSON into Sphinx keywords
This post describes how to write a basic PostgreSQL function for parsing a
JSON into Sphinx keywords( space-separated values of the JSON object ). Requirements Perl core Perl JSON module PostgreSQL built with JSON support Sample Problem We have workers tabl...
Add a comment...

Post has attachment
Changing keyboard layout in system console
The post is about configuring a Unicode keyboard layout for the system
console on Gentoo. However, the steps should be similar on other
systems.
Add a comment...

Post has attachment
Huh, they've got really handy way to contribute to the Gentoo portage.
Add a comment...

Post has attachment
Gentoo configure error: C compiler cannot create executables
If configure phase failed with this message, then most likely the dev-libs/mpc package is removed. I removed it accidentally. Afterwards I was unable to emerge anything. Here is a simple solution for the issue.

Download stage3 tar ball from a Gentoo mirror...
Add a comment...

Post has attachment
Slim and Systemd
I just want to drop in a warning from Arch linux documentation : Warning: Currently SLiM is not fully compatible with Systemd, resulting in
various problems on a second login. See Display manager#Incompatibility with
systemd for an outline of these problems...
Add a comment...

Post has attachment
Got an excellent Vim plugin for note taking. I'll give it a try. If it's okay, I'll wipe out my Tomboy with the burden of GNOME dependencies (
http://bpaste.net/show/192219/ )
Add a comment...

Post has attachment
Extracting unescaped part from Nginx location in UTF-8
The Nginx location matches
unescaped URI. However, to capture a Unicode part of URI is somewhat tricky.

First of all, we have to prepend our regular expression with (UTF8) , e.g: location ~ "(*UTF8)^/img/(.+)\.(jpg|jpeg|gif|png))$" {
# ...
} Now we can...
Add a comment...
Wait while more posts are being loaded