Sunday, November 18, 2012

Raspberry Pi Building Quake 3

Building Quake 3 in Raspbian : http://www.raspbian.org/RaspbianQuake3
Install Quake 3 on Raspberry Pi : http://mitchtech.net/install-quake-3-on-raspberry-pi/
Installing Quake 3
$ cd
$ wget https://dl.dropbox.com/u/14138779/quake3.zip
$ wget https://dl.dropbox.com/u/14138779/Q3_Demo_Paks.zip
$ unzip quake3.zip
$ unzip Q3_Demo_Paks.zip
$ mv baseq3/pak* quake3/baseq3/
$ rm -rf baseq3/
$ cd quake3/
$ ./start.sh

Saturday, November 17, 2012

Raspberry Pi Chrome Browser Install

Installing Chrome Browser
$ sudo apt-get install chromium-browser
If you have any errors running this command, please running :
$ sudo apt-get update 
and then return the first command again.
$ /usr/bin/chromium &
It will be start.

Raspberry Pi Install

Raspberry Pi : http://www.raspberrypi.org/downloads
Relate commands
$ sudo raspi-config
$ sudo dpkg-reconfigure

Unboxing Raspberry Pi

Raspberry Pi : http://www.raspberrypi.org/
買塊方便攜帶的嵌入式開發板子來玩吧!


Monday, September 24, 2012

Unboxing Filco Ninja Blue Switch 87 Keys (Black)

FILCO : http://www.filco.com.tw/
機械鍵盤 : http://ppt.cc/GHvK
第一次看到機械鍵盤是大二時,
當時是看學長用比較稀有的白軸,
就被它的段落感與聲音所吸引,
但由於價格有點高...所以拖到了研一時才買了第一把機械鍵盤。
而基於喜愛打字有聲音的我,
就選擇聲音清脆的青軸來吵人(誤)。


Tuesday, May 22, 2012

phpMyAdmin Install

phpMyAdmin : http://www.phpmyadmin.net/home_page/index.php
Installing phpMyAdmin
 The version  requires at least PHP 5.2 and MySQL 5.And then start MySQL.
 You must have MySQL user and password.
$ wget  http://nchc.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/
3.5.1/phpMyAdmin-3.5.1-all-languages.tar.gz
$ tar xzvf phpMyAdmin-3.5.1-all-languages.tar.gz
$ cd phpMyAdmin-3.5.1-all-languages
$ vim config.sample.inc.php
   cfg['Servers'][$i]['auth_type'] = 'http';
$ cp config.sample.inc.php config.inc.php
$ mv ../phpMyAdmin-3.5.1-all-languages your_web_site

Friday, May 18, 2012

Ruby on Rails use CRUD

CRUD Steps
 First, you have create database addressbook_development
$ rails new addressbook -d mysql
$ cd addressbook
$ vim Gemfile
   gem 'therubyracer'
   gem 'thin'
$ bundle install
$ rails generate scaffold address name:string address:string
$ vim config/database.yml
$ password: your_password
$ rails s

Monday, May 14, 2012

Ruby on Rails Install

Ruby : http://www.ruby-lang.org/en/
RubyForge : http://rubyforge.org/
Installing libyaml
$ wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
$ tar xzvf yaml-0.1.4.tar.gz
$ cd yaml-0.1.4
$ ./configure --prefix=/usr
$ make
$ make install