Category Archives: Ubuntu

JSON remove new lines via Linux and use it as string variable and as param in cURL POST request

Today I had to parse a JSON response in a JUnit test and then reuse it in a cURL command line call. Unfortunately I could not read the JSON response from a file or from an HTTP request, so I … Continue reading

Posted in Java, Linux, Mint, Ubuntu | Tagged , , , , , , , | Leave a comment

Linux get hard disk statistics using Python

Today I wanted to collect disk usage information and send them to a remote server script. I used df command to collect disk usage information and Python to send them to a remote server. Note that the remote server script … Continue reading

Posted in Linux, Python, Ubuntu | Tagged , , , , , , , | Leave a comment

Fix Vmware tools ” kernel header path is not valid ” error

UPDATE (2015-05-13): Confirming that the following approach works for Lubuntu versions 12.10, 14.04 and 14.10 and Linux Mint 15 and 17. Today I wanted to install VMware tools in a Linux Mint 15 and in a Lubuntu virtual machine. I … Continue reading

Posted in Linux, Mint, Ubuntu, Virtualisation, vmware | Tagged , , , , , , , , | 24 Comments

Vi set color scheme , line numbers and syntax highlighting

Today I wanted to to set the Color Scheme in vi / vim in my Linux. The default configuration looks ugly: I wanted to look like this: So after some searching in the web I found an article in talkbinary … Continue reading

Posted in Linux, Mint, Raspbian, Ubuntu | Tagged , , , , , | Leave a comment

Install Raspbian Wheezy Linux to Raspberry Pi using Linux

Επιτέλους! (at last! in greek) After a month and a half of waiting, I received my Raspberry Pi! Now I am going to show you how to install Raspbian Wheezy Linux into your Raspberry pi! To complete this task I … Continue reading

Posted in Linux, Raspberry Pi, Raspbian, Ubuntu | Tagged , , , , , , , , , , , , | 6 Comments