Install lxml in virtualenv

Problem

Installing lxml in virtualenv fails on libxml/xmlversion.h...

Solution

Install libxml2 and libxslt development packages, and then:

CFLAGS="-I/usr/include/libxml2" LDFLAGS="-L/usr/lib64/" pip install lxml
more ...

Managing your photo library

Problem

It would be nice if photo management software could organize all your photos in predictable and understandable way, without obfuscating anything etc.

Also, it would be nice to pile all photos from same place but different sources into one folder and sort them according to time taken, no?

Solution …

more ...


CentOS 7.1 Minimal Install

Boot options for cd install

ks.device=link inst.ks=http://....../ks.cfg

Kickstart itself

#version=RHEL7
# System authorization information
auth --enableshadow --passalgo=sha512

# Use CDROM installation media
cdrom
# Use graphical install
text
# Run the Setup Agent on first boot
firstboot --disable
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System …
more ...