Burn iso image with wodim    Posted:

Burn iso image with wodim

Burning iso images on the command line can be done with wodim.

wodim -v dev=/dev/sr0 -data /full/path/to/image.iso

Replace /dev/sr0 with full path to the cd-writer. Many systems have an alias /dev/cdrom for the cd-writer. The correct name of the cd-writer can be found with wodim --devices.

Reload .zshrc    Posted:

Reload .zshrc

In order to reload the .zshrc there are two possibilities:

source ~/.zshrc

. ~/.zshrc

Using powerline in PuTTY    Posted:

Normally I am working on a Linux machine using vim and tmux with the powerline statusline plugin. However, sometimes I am forced to work on a windows machine. Whenever possible I open a ssh connection with PuTTY to my Linux machine to work remote on it.

It turned out that the fonts of powerline were not displayed correctly.

To fix this, I did the following modifications:

  1. Download the patched fonts. I chose DejaVuSansMono as my font since I like it most.
  2. Install this font in Windows to make it accessible for all programs.
  3. Open PuTTY and make changes to the settings:
  4. Under appearance select the patched font
  5. Select font quality Clear Type
  6. Under Translation select character set UTF-8
  7. Apply settings and restart the PuTTY session

If everything worked well, powerline should be displayed correctly in PuTTY.

tmux vi mode    Posted:

Vi mode in tmux

To enable vi mode in tmux add the following in ~/.tmux.conf

set-window-option -g mode-keys vi

CSS using divs    Posted:

CSS using divs

In order to make a container div as high as

<div style="display: block; clear: both;"></div>

With courtesy to:


Contents © {date} {author} - Powered by Nikola {license}