Friday, September 18, 2009

LaTeX editor with live preview pane for Ubuntu/Linux

Gummi
Gummi is a lightweight LaTeX editor written in Python/GTK+ released as open-source software under a dual MIT/Beerware license, and was written by a BSc student of Artificial Intelligence at the University of Amsterdam, Alexander van der Mey.

The main feature of Gummi is that the Preview Pane will update as you are typing. In my opinion, this feature is good if you are learning LaTeX.

Give Gummi a try, and tell me your opinion.

Click here to download.

Thursday, September 17, 2009

Resize image using Imagemagick

Imagemagick is a powerful image manipulation program. This tutorial is about resizing image with Imagemagick.

Resize an image to 500px width.
mogrify -resize 500 image.png

Resize an image to 500x300, with aspect ratio preserved.
mogrify -resize 500x300 image.png

Force resize an image to 500x300.
mogrify -resize 500x300! image.png

Resize multiple images.
mogrify -resize 500x300 *.png

How to install Debian packages (.deb files) on Ubuntu

The most easiest way to install a debian packages on Ubuntu, is by double click on the .deb file, and then select Install Package.

However, you could also install a debian package by using a terminal using this command:
sudo dpkg -i package_file.deb

To uninstall, use this command:
sudo dpkg -r package_name

Monday, September 14, 2009

One line command to update Ubuntu

I use this command to update my Ubuntu installation.
$ sudo apt-get update && sudo apt-get upgrade &&
sudo apt-get autoremove && sudo apt-get dist-upgrade

Transformers vs the police

Transformers vs the police

Saturday, September 5, 2009

Disable Vista Welcome Center and Sidebar

Disable Windows Vista Welcome Center

  1. Click Start, Control Panel.
  2. Select Welcome Center.
  3. Uncheck the "Run at startup"option, located at the bottom of the Welcome Center screen (Figure 1).
Figure 1: Disable Windows Vista Welcome Center

Disable Windows Vista Sidebar

  1. Right click on the Windows Sidebar icon in the system tray.
  2. Choose Properties.
  3. Uncheck the "Start Sidebar When Windows Starts" checkbox (Figure 2).
  4. Click OK.
Figure 2: Disable Windows Vista Sidebar