Bash History Completition

Bash History Completition

In order to use Ctrl-Up|Down to navigate the bash history put this into ~/.inputrc

Reload with

Convert Umlaute From Iso Latin 1 To Utf 8

Convert Umlaute From Iso Latin 1 To Utf 8

Starting MySQL Client Without Credentials

Starting MySQL Client Without Credentials

You can start mysql without -u, -o and database name if you create a file ~/.my.cnf with the following content:

WordPress Shortcode to embed the output of a HTML page

WordPress Shortcode to embed the output of a HTML page

This little shortcode will embed the output of a HTML page as if you were loading an iframe. But without the iframe. It will give you only the contentof the …. Furthermore it will allow you to do a single string replacement (good to corrent URLs).

Use it from your posts as (without the raw tags!):

aorm — dev status

aorm — dev status

I have published my tiny, configuration agnostic python orm “aorm” on github. Here is the current status and what is planned… Btw. It has got 135 SLOCs and could be reduced to 124… And yes, it does some nasty meta programming stuff. It took some time to figure out how to express it, so that python understands what I want it do to.

Gdc and Lcm

Gdc and Lcm

Installing LXC with Libvirt and Dnsmasq in Debian

Installing LXC with Libvirt and Dnsmasq in Debian

Configure a domain mapping for your new container in dnsmasq (/etc/dnsmasq.d/<vmname>.conf) local=/<domain>/ address=/<domain>/192.168.122.2 Install lxc and libvirt apt-get update apt-get install lxc libvirt-bin Create a container lxc-create -n vm1 -t debian — -r jessie # note the password given to the new root user Start the virtual machine lxc-start -n vm1 At the login promt login as root and enter the password of the new root user Change the root password Create a user and install sudo apt-get install sudo adduser…

Read More Read More