Archive for the ‘Linux’ Category

Compiz: Switch Screens / Outout Shortcut

So, I like to use my keyboard. And one problem I was fighting with was how to set a shortcut to move windows between physical screens (not viewports) quickly. I finally found the setting myself as there seems to be different names to this options in different Compiz versions: http://ubuntuforums.org/showthread.php?t=1588821 http://ubuntuforums.org/showthread.php?t=1140244 For the Ubuntu 11.04 Continue reading →

Ubuntu and NTFS

I installed Ubuntu 11.04 (Natty Narwhal) and I was not able to run binaries from the NTFS partition. The solution was adding information about the mounting to the /etc/fstab manually. After creating the directory /media/data sudo mkdir /media/data I added to following entry to the /etc/fstab: /dev/sda7 /media/data ntfs user,exec,rw 0 0 and everything works Continue reading →

Linux: PDF

A nice tool for playing with PDF files using Linux is the PDF toolkit Pdftk: Pdftk - The PDF Toolkit &nbsp

Linux: SED and GREP and RegEx

Just a little note. When using real regular expressions with grep and sed, meaning some expression using i.e. ? or +, one needs be aware to use the right options: GREP egrep SED sed -r There are other switches and options, but those are enough for me at the moment

Linux commands

I am very forgettable, so I will collect some Linux commands that are useful to me. This is by no means a complete documentation of each command. ls Lists contents of a folder. Example: martin@darkcloud:~$ ls Desktop hs_err_pid2413.log Programs scripts workspace Documents Music Public Templates Downloads Pictures resources Videos Nicer output can be achieved by Continue reading →

Hadoop - Keys and Values

So Keys as well as Values in Hadoop seem a little tricky. Values need to implement the Writable interface Keys need to implement the ComparableWritable not just the Writable interface, otherwise a ClassCastException is thrown Each Key needs to specify the Comparable.compare(...) method carefully, as this is used by Hadoop to group Key-Value-Pairs for the Continue reading →

Ubuntu: Mouse Buttons

Here is a nice tutorial how to bind mouse buttons to keys. I used this on my V220 Logitech mouse. It works seamlessly. http://gaarai.com/2009/02/13/navigate-in-ubuntu-nautilus-using-the-mouse/ For more information about mappings look for the "-text" section in the "man xvkbd" manual pages

Cloning OS with Case Study: Windows NT/XP/7

So the general headline is cloning, so basically backing up you system. Some commercial software that was mentioned when I researched was: Acronis True Image Ghost There are a lot more, see for example here: http://ghost.radified.com/ghost_alternatives.htm But as I am a fan of open source software or at least free software I preferred playing with Continue reading →

Grub2 without Linux

I wanted to create a system where I can plug in operating systems as I like. Meaning switching from a Win/Linux dual boot to Win/Win etc. I thought Grub or Grub2 would be a good way to do so.  It turned out to be a little tricky for reasons I do not fully comprehend yet. Continue reading →

UIMA: Notes

Single-/Multiple-Views: When using Descriptors which work on multiple views. Make sure to choose one (JCas cas = casIn.getView("yourView")) to work on. Otherwise you will miss AnnotatorIndexes and all, because UIMA doesn't choose a default view . Rather it creates a basic Cas and puts views as Cas's into that basic Cas. That's nothing new when Continue reading →

Return top
 

Warning: array_filter() [function.array-filter]: The first argument should be an array in /var/www/web41/html/hp_fstyle/wordpress/wp-content/plugins/wordpress-tweaks/tweaks.php on line 650