Set Docbook edtiing environment in Ubuntu 8.10

1、init compile environment

  $sudo apt-get install xsltproc
  $sudo apt-get install docbook-xsl

2、install docbook editor named XMLmind XML Editor
and build a test docbook xml

3、Generating a html
$xsltproc -o test.html /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl test.xml


Mouse-less Firefox

Navigation from the toolbar

  • Select location bar: Ctrl+L or Alt+D
  • Select search bar: Ctrl+K
  • Back: Backspace or Alt+Left
  • Forward: Alt+Right or Shift+Backspace

Searching pages

The find-as-you-type feature was an epiphany. While Google is great at getting you to the right web page, Firefox's find-as-you-type feature gets you the rest of the way.

  • Find as you type text: /
  • Find as you type link: '
  • Regular old find: Ctrl+F

The link search is very useful, especially when used in conjunction with...

Opening pages

Unless you do all of your browsing in one page, these shortcuts are huge when you don't want to go running for your mouse.

  • Open link in new window: Shift+Enter
  • Open link in new tab: Ctrl+Enter
  • Open address/search in new tab: Alt+Enter

Used together with their respective shortcuts (address and search bar shortcuts and the find-as-you-type link shortcut), the page opening shortcuts go a long way toward mouse-less browsing.

Grab bag

The following shortcuts fall into a more general grab bag of useful shortcuts.

  • Caret browsing: F7
  • Refresh: Ctrl+R or F5
  • Refresh (override cache): Ctrl+F5 or Ctrl+Shift+R
  • Switch tabs: Ctrl+Tab
  • Select tab (1-9): Ctrl+[1-9]

If you're looking to change your default mail program (e.g. to Gmail, etc.) to best utilize the Compose email shortcut, check out these tips for setting your default mail program.

Wweb writer

Install PHPunit in ZendCore on Ubuntu 8.10

1 cd :/usr/local/Zend/Core/bin
2 sudo ./pear channel-discover pear.phpunit.de
Adding Channel "pear.phpunit.de" succeeded
3 sudo ./pear install --alldeps phpunit/PHPUnit
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
phpunit/PHPUnit requires PEAR Installer (version >= 1.7.1), installed version is 1.6.1
phpunit/PHPUnit can optionally use PHP extension "pdo_sqlite"
phpunit/PHPUnit can optionally use PHP extension "tokenizer"
phpunit/PHPUnit can optionally use PHP extension "xdebug" (version >= 2.0.0)
pear/Log can optionally use PHP extension "sqlite"
downloading Image_GraphViz-1.2.1.tgz ...
Starting to download Image_GraphViz-1.2.1.tgz (4,872 bytes)
.....done: 4,872 bytes
downloading Log-1.11.3.tgz ...
Starting to download Log-1.11.3.tgz (42,960 bytes)
...done: 42,960 bytes
downloading DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (132,246 bytes)
...done: 132,246 bytes
downloading MDB2-2.4.1.tgz ...
Starting to download MDB2-2.4.1.tgz (119,790 bytes)
...done: 119,790 bytes
downloading Mail-1.1.14.tgz ...
Starting to download Mail-1.1.14.tgz (17,537 bytes)
...done: 17,537 bytes
downloading Net_SMTP-1.3.2.tgz ...
Starting to download Net_SMTP-1.3.2.tgz (10,247 bytes)
...done: 10,247 bytes
downloading Net_Socket-1.0.9.tgz ...
Starting to download Net_Socket-1.0.9.tgz (5,173 bytes)
...done: 5,173 bytes
downloading Auth_SASL-1.0.2.tgz ...
Starting to download Auth_SASL-1.0.2.tgz (5,645 bytes)
...done: 5,645 bytes
install ok: channel://pear.php.net/Image_GraphViz-1.2.1
install ok: channel://pear.php.net/Log-1.11.3
install ok: channel://pear.php.net/DB-1.7.13
install ok: channel://pear.php.net/MDB2-2.4.1
install ok: channel://pear.php.net/Mail-1.1.14
install ok: channel://pear.php.net/Net_Socket-1.0.9
install ok: channel://pear.php.net/Auth_SASL-1.0.2
install ok: channel://pear.php.net/Net_SMTP-1.3.2
MDB2: Optional feature fbsql available (Frontbase SQL driver for MDB2)
MDB2: Optional feature ibase available (Interbase/Firebird driver for MDB2)
MDB2: Optional feature mysql available (MySQL driver for MDB2)
MDB2: Optional feature mysqli available (MySQLi driver for MDB2)
MDB2: Optional feature mssql available (MS SQL Server driver for MDB2)
MDB2: Optional feature oci8 available (Oracle driver for MDB2)
MDB2: Optional feature pgsql available (PostgreSQL driver for MDB2)
MDB2: Optional feature querysim available (Querysim driver for MDB2)
MDB2: Optional feature sqlite available (SQLite2 driver for MDB2)
MDB2: To install optional features use "pear install pear/MDB2#featurename"


Install pysvn and workbench on Ubuntu 8.10 for managing

There are few svn gui client in linu, pysvn should be a good choice on Ubuntu,
1 install ubuntu packages pysvn and workbench.

* sudo apt-get install python-svn
* sudo apt-get install svn-workbench
2 You can launch it form application menu: application->programming->svn Workbench