one relating to, belonging to, or resembling lunatech

  • November, 2014
  • Faster setup of virtualenv with devpi

    Setting up the virtualenv can take a significant amount of time because it pulls down packages from PyPI. I was surprised that it does not try to use the locally installed packages. One way to speed up the rebuild is to use a local caching mirror of PyPI. This can be accomplished by using devpi.

    Step 1: Install devpi package

    sudo pip install devpi
    

    Step 2: Add the following lines in your /root/.pip/pip.conf file

    [global]
    index-url  = http://localhost:3141/root/pypi/+simple/
    extra-index-url  = https://pypi.python.org/simple/
    

    From now on, pip will first try to get the package from devpi-server running on your localhost first and if you do not have devpi-server running, will fallback to pypi.python.org .

    Step 3: Start the devpi-server on your localhost: devpi-server. Try installing a few packages or build a virtualenv. The command devpi-server -start will start the server and put it in background.

    TODO - figure out how to start this from init.

  • October, 2014
  • some thoughts on tattos

    Not my original words, but I agree with them
    the more 'ornamented' a person is today, that necessarily detracts from their energy (however insignificantly) to either improve themselves or contribute something new. Not as a rule, but in general the people who have tattoos did not get them to demarcate a significant emotional or symbolic event, but because they need to bolster an otherwise weak sense of identity. It's not just physical markings, either; it could be tattoos, humblebrag facebook statuses, endless numbers heavily filtered selfies on instagram, short-but-intense passion for some political cause, armchair activism, etc. Truly remarkable people tend not to care what others think of them, by virtue of the fact they are fulfilled by the fruits of their precious time and energy.
    Tattoos used to mean, ‘get away from me.’ Now they mean, ‘Ask me about my tattoo`
  • which fonts should I use in my browser in Debian

    Short answer : Verdana

    To install Verdana, do sudo apt-get install ttf-mscorefonts-installer and set it as the default font in your browser.

  • September, 2014
  • Dinner at Ethiopian cafe

    image

    A typical dish consists of injera accompanied by a spicy stew, which frequently includes beef, lamb, vegetables and various types of legumes such as lentils.

    Ethiopians eat exclusively with their right hands, using pieces of injera to pick up bites of entrees and side dishes.

    The best part for me though is that the meals are eaten from a communal plate.

  • QOTD

    You get what anybody gets - you get a lifetime.

    Neil Gaiman, The Sandman, Vol. 1

  • Euro-peein'

    image

    If you are someone like me,  who enjoys both beer and coffee, know that paying to use a public toilet is a European custom.  The usual charge is the local equivalent of about 50 cents. Some restaurant have a tip dish by the entry — again 50 cents is plenty for this.

Page 4 of 60, totaling 417 entries