GlusterFS – Replicate a volume over two nodes

When you are using a load balancer with two or more backend nodes(web servers) you will probably need some data to be mirrored between the two nodes. A high availability solution is offered by GlusterFS. Within this article, I am going to show how you can set volume replication between two CentOS 7 servers. Let’s …

In Technology

by Andrei Grijincu on September 25, 2017


Mysqldump Command – Useful Usage Examples

One of the tasks a sysadmin will always have on their list is backing up databases. These backups are also called dump files because, usually, they are generated with mysqldump command. I am going to share a few tricks on mysqldump that will help when handling servers with many relatively small databases.   The most …

In Blog, Technology

by Andrei Grijincu on August 3, 2017


How to save a file in Vim after forgetting to use sudo

Many of you probably experienced this. You edit a file in Linux with Vim or Nano or whatever else text editor you might be using and when you try to save, you realise you forgot to launch the editor with sudo privileges, and file can’t be written. Exiting without saving and editing again with sudo privileges …


Emulating a Redis Failover with Docker

Reading the Redis documentation can be a bit confusing without the hands-on experience. You could in theory create multiple processes of the Redis Server on your machine and configure each of them in part, but what if you could do it in a few commands? Not only that but emulate the network they’re connected to …

In Blog, Development, Technology

by Sebastian Plesciuc on May 22, 2017

should your online business use API?

Why Should Your Online Business Offer API

There are several ways to extend a business model but API is a hot topic right now as the online world is expanding very fast. If you’re a developer or at least interacted with APIs before, you probably know why public APIs are so important, but there’s a big chance you didn’t hear or care …


Counting lines and words using Go

For those who need to count words and lines in text files, an easy approach for this matter is to use bufio.ScanWords and bufio.ScanLine in order to quickly solve the problem. To count words:

ScanWords is a split function for a Scanner that returns each space-separated (checks unicode.IsSpace) word of text, with trimmed whitespace. …

In Development, Technology

by Alex Efimov on May 8, 2017

Go debugging

Debugging Golang apps in Docker with Visual Studio Code

Context We’ve recently had some problems with a Go application that was running inside a Docker container in a very big Docker Compose setup. After getting fed up with writing console prints and rebuilding the Docker image for that container and spinning up all the containers to debug things, we started investigating how we could …

In Blog, Technology

by Sebastian Plesciuc on December 15, 2016

ruby useful gems
1 comment

Start writing tests in Ruby: useful gems

Being a QA engineer is a continuous struggle in finding the right resources in order to get the job done easier and more efficiently. If you are planning to write automated tests in RSpec (Ruby’s testing framework), then you should take a look over these gems. Please notice that I am most of the time automating backend tests …

Face Detector using OpenCV and C

Build a Face Detector on OS X Using OpenCV and C++

Building and using C++ libraries can be a daunting task, even more so for big libraries like OpenCV. This article should get you started with a minimal build of OpenCV and a sample application written in C++. This application will get images from the webcam, draw rectangles around the faces in the images and show …

In Technology

by Sebastian Plesciuc on November 18, 2015