Category Archives: Linux

Linux mixed reality

Installing tinyproxy on Ubuntu

Previously I played with squid proxy server, today I wanted to try with some alternatives and selected tinyproxy. This proxy also supports HTTP/HTTPS, it is light weight proxy. HTTP/HTTPS. The key features of tinyproxy include: Anonymous mode, Access control, Small footprint, Proxy chaining, remote monitoring and others. The tinyproxy is configurable by editing /etc/tinyproxy/tinyproxy.conf file… Read More »

Building .Net core applications for different platforms

.Net core is actually very cool brainchild of Microsoft. It tries give you possibility to publish the same code to the multiple OS platforms. The result sometime looks cumbersome but probably it does not matter so far, if you want to migrate Windows code to Linux, Mac OSX and Android fast. Definitely it is not… Read More »

Raspberry PI VM on VirtualBox

Raspbian OS for Raspberry PI is Linux based operating system derived from Debian. So it could be easily to create Raspbian virtual machine on Oracle VirtualBox. The initial experience with Oracle VirtualBox is required. And you need to install it first. The second you need to download IOS image of Raspbian OS. I downloaded Raspbian… Read More »

UTC to local time converter in C++

Recently it was needed to convert UTC time string to local computer time string in C++ code. After analyzing several examples from stackoverflow and other resources I implemented this one. It is short application free from explicitely specified time zone. It is not extremely sophisticated at all. I am keeping it here mainly for my… Read More »

EOVERFLOW error on 32-bit Linux

EOVERFLOW (Value too large for defined data type) error or error with code 75 is defined in errno.h file. The error is very common on 32-bit Linux OS when code tries to proceed with size 2 GB or more. It is very simple to simulate the error. Let us create file with size which exceeds… Read More »

Analyzing application crash in CentOS Linux.

To diagnose program crashing failure let us create our own simple c++ application which will be crashing during execution. Save it as exemplo.cpp. Build executable without debug information: g++ -o exemplo exemplo.cpp When we start it we receive information that application crashed because of segmentation fault: ./exemplo Crashing application Segmentation fault (core dumped) The simplest… Read More »

Remote Monitoring System with Minimum Coding

This is the example how to organize remote monitoring of processes running on Linux devices. Let us create simple script which executes ps command, saves results in html file and uploads the file in http server. 2 arguments are required to run the script: the fist one is html file name without extension and the… Read More »

Proxy server and its anonymity

I decided to test how proxy server anonymity looks like and how to control it. The purpose was to get HTTP request header which server receives from proxy when proxy settings are anonymous, semi-anonymous or what ever. I installed squid proxy server on one Linux machine and started to play with its settings located in… Read More »