• missing xbfish.com image

Category Archives: Software

[Linux] Fix phpMyAdmin 404 error

If you encounter a 404 error when accessing localhost/phpmyadmin (after installing apache2, mysql-server, phpmyadmin), you will need to link phpMyadmin-shipped Apache configuration into Apache.

Open up your terminal and enter the following:

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo /etc/init.d/apache2 reload

After this is done, try accessing localhost/phpmyadmin and you should be able to login. :)

Install Firefox 8 in Ubuntu 10.04 LTS

Ubuntu 10.04 LTS is shipped with Mozilla Firefox 3.6 by default. In order to upgrade it to Firefox 8 to support HTML5 and CSS3, we will have to add Mozilla Firefox repository.

First, open up your terminal and enter the following:

gksu add-apt-repository ppa:mozillateam/firefox-stable

Next, update the repositories:

sudo apt-get update

Lastly, install Firefox 8:

sudo apt-get install firefox

Autoindent in VIM

To enable autoindent by default in VIM, open _vimrc (Windows) at VIM installation directory or .vimrc (Linux).

Add the following line at the end of the file:

set autoindent

This will autoindent when you write code at the next line.

Setting up Traditional Chinese Pinyin input in Windows 7

Firstly, go to Control Panel and set view by Small icons.

Click on Region and Language.

missing xbfish.com image

Next, click on Keyboards and Languages tab and Change Keyboards button.

missing xbfish.com image

Click on Add.

Scroll down to Chinese(Traditional, Taiwan) and Keyboard.

Check the Chinese (Traditional) – New Phonetic box.

missing xbfish.com image

Click Ok and you should see the Traditional Chinese keyboard is being added.

missing xbfish.com image

Select Chinese (Traditional) – New Phonetic and click on Properties.

Click on the Keyboard tab and select HanYu Pinyin.

missing xbfish.com image

After that, you are done! :)

My Ubuntu 11.10

With Unity interface:

missing xbfish.com image

Display line numbers in Microsoft Visual Studio 2010

By default, line numbers are turned off in Microsoft Visual Studio 2010 text editor.

To turn it on, go to Tools -> Options

Click on Show all settings on the bottom-left.

missing xbfish.com image

Next, go to Text Editor -> All Languages. Under Display, check the line numbers box.

The result:

missing xbfish.com image

Another Moebuntu

From mingen-chan!

missing xbfish image

Come join us!

My moebuntu!

I blogged about Moebuntu in the past but didn’t personally try it. Now that I got a little time to spare and I install it on my Ubuntu 11.04:

missing xbfish image

My moebuntu is in yellow! :D

If you are interested to turn your ubuntu to moebuntu, please visit: http://moebuntu.web.fc2.com/home_eng.html

Inserting arrows in Microsoft Words/Powerpoint

To insert these arrows, type the following:

missing xbfish image

-->

missing xbfish image

<==

missing xbfish image

<=>

Of course, you can manipulate the sign to change the arrow direction. :D

Adapted from: http://www.zdnetasia.com/5-keyboard-shortcuts-for-inserting-arrows-into-a-word-document-62302377.htm

[Linux] Access Fedora 15 Trash through command line

Sad to say, there is no Trash icon on the desktop in Fedora 15.

If you are a command-line fan, you can type the following in Terminal to reach the Trash folder:

cd ~/.local/share/Trash

Hope this helps :D