tipps

screen - open, detach, attach virtual terminals

Mit screen ist es mögich auf entfernten Servern via SSH virtuelle Terminals zu eröffnen, in den Hintergrund zu legen und auch wieder aufzunehmen:

Eröffnen eines neuen virtuellen Terminals:

screen

In den Hintergrund legen eines virtuellen Terminals (=detachen)

CTRL A D

Auflisten der aktiven Terminals im Hintergrund

screen -ls

Aufnahme des einzigen Terminals (=attach)

screen -r

Aufnahme eines bestimmten Terminals

screen -dr id

capture s-video via ffmpeg (or: how to digitalise your old vhs-stuff)

I wanted to digitalise some old VHS-Videos.

The main thing is, that my /dev/video1 (TV-Card) got more than one inputs (regular TV-Cable input and S-Video) How to tell the program to grab input 2 instead of standard input 1?

After hours of searching with all possible programs on Linux, I finally landed in the console with ffmpeg.

ffmpeg -f alsa -ar 44100 -ac 1 -i plughw:0,2  -f video4linux2 -s sxga -r 25 -vc 2 -i /dev/video1 output.avi

Crontabs of all users

Sometimes it can be helpful to list the crontabs of all users. Eg. to find out why your server periodically has a load of over 80%...

for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done

Now you can search all crontabs that are done on the time of your load peak.

Plesk and Drupal-Multisites

In order to benefit from drupals amazing functionality concerning multisite capability, you have to do some extra-stuff in your plesk-config, more precisely in your vhost-config.

Example scenario

You administer 50 customer drupal sites on your plesk-server. Every time a new drupal release comes up, you have to update every single one of this 50 installations (we didn't even talk about the modules).
No question: enormous waste of time and disk space.

Let's dare an approach

OpenOffice Wortergänzung ausschalten

Extras - AutoKorrektur Optionen - Wortergänzung - Wortergänzung aktivieren

Cisco AnyConect, 64bit Linux

  1. Install some 32-bit libraries.
    (x)ubuntu
    sudo aptitude install ia32-libs lib32nss-mdns

    gentoo

    emerge ia32-libs lib32nss-mdns
  2. Download cisco_opt.tar.gz (find below) and unpack it to /opt. After that you should have a directory /opt/cisco.
    wget http://guldener.net/sites/default/files/cisco_opt.tar_.gz
    tar -xzf cisco_opt.tar_.gz
    sudo mv cisco /opt/
  3. Now, in order to get the libraries needed, download firefox for 32bit:
    Download it from http://www.mozilla.com/en-US/products/download.html

     

windows vista password recovery tool

hilarious tool to reset your vista or xp password or/and enable or/and disable users...

http://trinityhome.org

convert videos for iphone/ipod

to load videos on your iphone or ipod, the video must have the right format.

since video-converting under linux is not that trivial, mvPod is a gread solution to bypass this especially for iphone and ipod.

http://mvpod.sourceforge.net/
installation is easy, follow the guide.

after converting the vid, you can load your movies and videos on your portable apple device.

comfortable runlevel-editoring by sysv-rc-conf

I found a tool to comfortably edit runlevels by console.

It's called sysv-rc-conf.

I just used it in kubuntu, but according to the description, it should also do the job in other distris. (gentoo doesn't work, tested it.)

 

Too Cool for Internet Explorer