Code Maven

Search for '{{search_term}}'

Welcome to the Code Maven!

Programming Exercises for any language.

For now, just read the articles...

If you want to make sure you don't miss any new articles, you can subscribe to the Code Maven newsletter, follow via atom feed, Twitter, or even my Google+ account.

Vagrant and VirtualBox on Ubuntu 17.10 and CentOS 7

I have computer at home with 16Gb memory on which I've installed Ubuntu 17.10. It also has plenty of disk space, so it is going to be much better for experimenting with multi-server setups than my MacBook Air that only has 4Gb memory and 128 Gb SSD storage which is usually full.

While I could certainly sit at that Linux machine as a desktop, I opted to use it mostly to use it as a server and ssh into it.

Now in order to experiment with multiple server setups easily I needed Vagrant and VirtualBox and I wanted to install another Ubuntu as a guest operating system.


Vagrant and VirtualBox on Ubuntu 17.10 and CentOS 7


Minimal setup for Coverage report at Coveralls for Python projects hosted on GitHub

Coveralls.IO is one of the cloud-based services that can collect and display test coverage reports. It is free for Open Source projects hosted on GitHub or BitBucket.


Minimal setup for Coverage report at Coveralls for Python projects hosted on GitHub


Create your own interactive shell with cmd in Python

When writing an Command Line Interface for an application it could be nice to have an interactive shell with command completition and history. The cmd library of Python provides a framework for that.

We will build an application step-by-step. Scroll down to the end of the page to see a full example with all the bells and whistles.


Create your own interactive shell with cmd in Python