Posts
May 23, 2007 • 1 min read • Technology
How to rescue a bad X configuration during Suse 9 install
During my first Suse9 install I screwed up X.
May 23, 2007 • 1 min read • Technology
How to mount a NFS export
sudo mount -t nfs -o rw server:/var/www /webserverormount server:/var/www /webserverThe mount can be put into /etc/fstab, e.g.:server:/var/www /webserver nfs rsize=8192,wsize=8192,timeo=14,intr,userThis doesn't mount the nfs export automatically during startup, but any user can mount it by executing "mount /webserver".
May 23, 2007 • 1 min read • Technology
Editing (resizing, format converting, compressing) images in the command line with ImageMagick (mogrify, convert)
Resize all tif images in the current directory:mogrify -resize 25% 25% .tifResize all jpeg images in the current directory to a width of 614 pixels and keep the image ratio constant:mogrify -resize 614 .jpgAs above, but resize the hight to 614 pixels:mogrify -resize x614 .jpgConvert all bmp imgaes in the current directory into tiff images:mogrify -format tiff .bmpCompress all tiff images in the current directory with ZIP compression:mogrify -compress ZIP .tiffI tried to convert also pict files (from Macintosh), but without success, although the pict file format appears to be supported by Imagemagick.