All articles

  1. Preparing custom images for OpenStack

    This article will show you how to use libvirt to create base images that can be uploaded to OpenStack.

    Why would you want to do this?

    Linux distributions like Fedora and Ubuntu already ship "cloud" images and most providers also have their own custom images for you to use, but …

  2. Tips and Tricks for the Python Interpreter

    I have seen a lot of people switch over to using ipython, bpython, etc to get auto-complete support without realizing that the standard interpreter does have this functionality.

    To enable auto-complete support in the python interpreter you need to create a python startup file that enables readline support. A python …

  3. Caesar Cipher in Python

    I'm currently teaching my wife to code and one of the problems that we worked on to teach her some fundamental programming concepts was re-implementing the caesar cipher in python. It was fun not only to code but to also start sending each other "secret" messages!

    The caesar cipher is …

  4. Convert a string to an integer in Python

    A fun interview question some developers like to ask is to have you convert ascii characters to an integer without using built in methods like string.atoi or int().

    So using python the obvious ways to convert a string to an integer are these:

    >>> int('1234')
    1234
    >>> import string
    >>> string …