Zhixian's Tech Blog

2010-07-31

Goam for Ubuntu 10.04

Filed under: computing, web application development — Tags: , , , , — Zhixian @ 03:53:07 am

If you were trying to learn Objective-C on Ubuntu, chances are that you will try and install the GNUstep development package.

Unfortunately on Ubuntu, when you try to install that package (using Synaptic Package Manager), you will receive an error that says:

gnustep-devel:
Depends: gorm.app but it is not installable

What is this Goam.app thingy? Well, it simply the Visual Interface Builder for GNUstep

In any case, to fix this problem, you first have to download the appropriate goam package from:
http://www.archive.ubuntu.com/ubuntu/pool/universe/g/gorm.app/
For me the right package is gorm.app_1.2.10-1_i386.deb

After you download and install that package, you should be able to install the gnustep-devel package to continue your way to learning about Objective-C.

Advertisements

2010-07-11

Set MySql default collation to UTF8

Filed under: computing, database, web application development — Tags: , , , , , , — Zhixian @ 02:06:07 am

One of the bad thing about installing MySql using Ubuntu Software Center is that it does not allow you to select the default collation of MySql Server. This is one of the nice things you would find in the Windows version of MySql installer.

In any case, to set MySql collation to use UTF8, all you have to do is:

  1. Edit your MySql configuration file (typically found at /etc/mysql/my.cnf)
  2. Under the section [mysqld]add the following lines:
    # utf8
    init-connect=’SET NAMES utf8′
    character-set-server=utf8
    collation-server=utf8_general_ci
  3. Restart your MySql
« Newer Posts

Blog at WordPress.com.