Create Oracle/Mysql Key and Index

MySQL:

create table user
(
user_id int NOT NULL AUTO_INCREMENT,
name varchar(100),
phone varchar(100),
email varchar(100),
password varchar(100),
role_id int,
primary key(user_id),
unique index email_idx(email),
index role_idx(role_id)
);

Oracle:

create table user2
(
user_id int NOT NULL,
name varchar2(100),
phone varchar2(100),
email varchar2(100),
password varchar2(100),
role_id int,
primary key(user_id),
unique (phone),
foreign key (role_id) references role(role_id)
);
create unique index cu on user2 (email);
create index role_idx on user2 (role_id);

or
create table foo (a int primary key,
b varchar(20) unique);

PGP commands

. Copy GPG keys
copy the following files pubring.gpg random_seed secring.gpg trustdb.gpg from your old directory to your new directory, usually ~/.gngpg under Linux

. Encrypt a file
gpg -e -r me@hongyu.org test.pdf

. Decrypt a file
gpg -d test.pdf.gpg > test.pdf

Toshiba DVD writer spectrum

DVD Feature:

* 5X DVD+R DL Write
* 16X DVD+R Write
* 4X DVD+/-RW Wrote
* 12X DVD-R Write
* 16X DVD-ROM Read
* 12X DVD+/-R Read
* 8X DVD+R DL Read
* 6X DVD+/-RW Read
* 2X DVD-RAM Read
* 32X CD-R Write
* 10X CD-RW Write HS
* 24X CD-RW Write US
* 48X CD-ROM/R Read
* 24X CD-RW Read
* Horizontal or Vertical Mount
* MTBF 100,000 hours