Tuesday, July 20, 2010

PRO608 - project planning

Chicken Hunting.
  • need a chicken, goose, or ducks,
  • need a gun,
  • need a background for stages.
Process:
  1. Design objects : chickens, goose, gun....... .
  2. Design the background.
  3. Design all of animation for the objects.
  4. Implementing Actionscript into the animation.

Monday, July 19, 2010

Project PRO608 Description

  • Work in pair or alone, --> alone for me lol.
  • Running within a browser
  1. Option:
  • Collision Detection
  • Keyboard interaction
  • Mouse Following
  • Puzzle logic
  • Constrained dragging
  • physics engine
  • Server side code interaction
  • xml or json driven content

Friday, July 2, 2010

Install Lamp for Linux Environment.

What is Lamp ? Lamp is Linux, Apache Http Server, MYSQL, PHP.

Install Lamp in Linux Environment, It's so freaking easy.

1st way: Open Package Manager, search and install mysql client, mysql server, and apache 2. After installation finishes, restart the system.

2nd way: Open terminal, use the command:
sudo apt-get install mysql-client-5.1 mysql-server-5.1 apache2 phpmyadmin
For phpmyadmin, it is my recommendation for working with database.

Install Wordpress in Lamp server(localhost) for Linux Environment

Step 1: Install Lamp for linux environment.

Step 2: Go to ( Wordpress website ) download the latest version of Wordpress.

Step 3: Extract the Wordpress zip file in to Lamp server directory. Using this the following command: "sudo tar zxvf wordpress-x.x.x.tar.gz --directory=/var/www/"

Step 4: Use PHPmyAdmin(recommended) or Mysql terminal to create database (ex: wordpress) and user (ex: wordpress) with password

Step 5: Go to the wordpress directory, search for the file named "wp-configsample.php" then copy it into the file "wp-config.php". Next, open it and edit:
// ** MySQL settings ** //
define('DB_NAME', 'wordpress');
define('DB_USER', 'wordpress');
define('DB_PASSWORD', 'wordpresspassword');
define('DB_HOST', 'localhost');

Step 6: Open web browser and create and open : http://localhost/wordpress/wp-admin/install.php, then enter appropriate information in order to finish the process of installation.

And now, you can preview your wordpress by open http://localhost/wordpress. You also have to login first.

Thursday, July 1, 2010

Install Ibus for typing Vietnamese in Linux environment

Step 1: Add Ubuntu-VN repository, Open terminal, and use this command:
$sudo add-apt-repository ppa:ubuntu-vn/ppa

Step 2: Update your system. Use the command: $sudo apt-get update.

Step 3: Install Ibus in your computer. Use the command:
$sudo apt-get install ibus-unikey.

Step 4: In order to start iBus automatically startup. Use the command:
$/usr/bin/ibus-daemon -d.

Reboot or logout your system, if ibus doesn't start, use these command:
$export GTK_IM_MODULE=ibus
$export XMODIFIERS=@im=ibus
$export QT_IM_MODULE=ibus