2009年2月28日

parallel implementation if gzip and bzip2

pigz (http://www.zlib.net/pigz/)
pbzip2 (http://compression.ca/pbzip2/)

Ref:
SMP implementation of bzip2
PIGZ: Parallel GZIP - The Data Compression News Blog - c10n.info

HP MIE theme

Software Sources
deb http://hpmini.archive.canonical.com/mie/ hardy main universe multiverse restricted
deb-src http://hpmini.archive.canonical.com/mie/ hardy main universe multiverse restricted

deb http://hpmini.archive.canonical.com/mie/ hardy-updates main universe multiverse restricted
deb-src http://hpmini.archive.canonical.com/mie/ hardy-updates main universe multiverse restricted

deb http://hpmini.archive.canonical.com/mie/ hardy-security main universe multiverse restricted
deb-src http://hpmini.archive.canonical.com/mie/ hardy-security main universe multiverse restricted

deb http://hpmini.archive.canonical.com/mie/ hardy-hpmini main universe multiverse restricted
deb-src http://hpmini.archive.canonical.com/mie/ hardy-hpmini main universe multiverse restricted

HP MIE Restore Image Creator

You can install glassy-bleu-browser-skin_0.5_all.deb , glassy-bleu-theme_21_all.deb , and gnome-backgrounds-hp_0.4_all.deb files for the GlassyBleu theme
For the GDM theme, please get the ubuntu-gdm, extract it, and please edit the file because the auto-login feature doesn't work under normal Ubuntu

ref:
Linux on the HP 2133 Mini-Note: Installing the HP Linux MIE theme
Rukmal Weerawarana's Blog: How to install the HP MIE (Mobile Internet Experience) UI on Ubuntu 8.04 and 8.10

Disable Cube in TouchFLO v1

Regedit [HKEY_LOCAL_MACHINE/software/OEM/TFLLOsetting] [HKEY_LOCAL_MACHINE/software/OEM/TFLLOsetting] set EnableCube=0
Then reboot

Using Mathematica through X11@SSH

running as root
wget http://gears.aset.psu.edu/hpc/software/math/mathem/mathematica-fonts.tgz
mkdir -p /usr/local/mathematica/fonts
mv mathematica-fonts.tgz /usr/local/mathematica/fonts
cd /usr/local/mathematica/fonts
tar -xzvf mathematica-fonts.tgz
rm -f mathematica-fonts.tgz
mkfontdir /usr/local/mathematica/fonts/BDF
mkfontdir /usr/local/mathematica/fonts/Type1

xset fp+ /usr/local/mathematica/fonts/BDF
xset fp+ /usr/local/mathematica/fonts/Type1
xset fp rehash

ssh -Y user@ host mathematica

Ref:
Mathematica Font Setup
Mathematica and matlab - ImageWiki

2009年2月6日

Using Ubuntu on HP 2133

General
HP 2133 Mini-Note - Ubuntu Wiki
Doc's HP2133 Linux stuff

X11
HP-2133, Chrome9-Beta, X11 configuration file

PadLock
Ubuntu configuration for VIA padlock support - Ubuntu Forums
modprobe padlock_aes padlock_sha
modprobe via_rng
apt-get install rng-tools
set the options in /etc/default/rng-tools to: RNGDOPTIONS="--hrng=via"
added to your /etc/ssl/openssl.cnf:
openssl_conf = openssl_def
[openssl_def]
engines = openssl_engines
[openssl_engines]
padlock = padlock_engine
[padlock_engine]
default_algorithms = ALL
Bug #119295 in openssh (Ubuntu): “OpenSSH should support VIA PadLock” (fixxed in Ubuntu 8.10)
Bug #119294 in openssl (Ubuntu): “OpenSSL should support VIA PadLock”
sudo apt-get install build-essential fakeroot wget
sudo apt-get build-dep openssl openssh
apt-get source openssl openssh
cd openssl-0.9.8g
wget --quiet -O - http://launchpadlibrarian.net/13798833/bug119295.patch | patch -p1
fakeroot debian/rules binary
cd ../openssh-4.7p1
wget --quiet --no-check-certificate -O - https://bugzilla.mindrot.org/attachment.cgi?id=1458 | patch -p0 -N
fakeroot debian/rules binary
VIA PadLock support for Linux


SSE acceleration for libjpeg
IJG's JPEG software release 6b with x86 SIMD extension
jpegsrc-6b-x86simd-1.02.tar.gz - 881,825 bytes; UNIX-friendly format
Also install nasm 2 before compiling
Encrypted partition with Padlock power
Encrypted swap and home partition in Ubuntu 8.04 - Lars Strand
apt-get install lvm2 cryptsetup libpam-mount
CPU frequency scaling
CPU - A110 Wiki
modprobe e_powersaver
----------------------------------------------------------------
CPU frequency scaling with Linux >= 2.6.25
As the CPU has the est feature flag, it supports CPU frequency scaling using the e_powersaver kernel module.
The latest 2.6.25 mainline kernel already contains the e_powersaver module which allows CPU frequency scaling on the A110.

CPU frequency scaling with Linux <= 2.6.24
There's a backport for older kernels supplied by Christian Rothländer. It's working with the Ubuntu kernel delivered with the first batch of the A110s.

3D DriveGuard
accelerometer lis3lv02d and demo code hpfall.c
PPA for Pascal de Bruijn
http://blog.pcode.nl/2009/09/19/hp-3d-driveguard-on-ubuntu-karmic/

Audio
https://wiki.ubuntu.com/Audio/UpgradingAlsa

Using p7zip-rar for faster RAR extraction (UnRAR) for Ubuntu 8.10+

sudo aptitude install p7zip-rar
sudo aptitude purge unrar unrar-free

Get 1 year of BitDefender Antivirus 2009 for free

免費取得 BitDefender Antivirus 2009 一年份註冊碼!
BitDefender Antivirus 是一個防護能力強大的防毒軟體,曾經有一陣子在各大論壇裡他的好名聲甚至不輸「卡巴斯基」與「NOD32」,並且在各大防毒軟體評比網站的排名也常常在眾 多的競爭對手之中脫穎而出。最近推出的 BitDefender Antivirus 2009 在官方網站裡有 30 天的全功能試用版,試用期結束如果要繼續用的話必須購買 29.95 美金的一年授權。但是今天就是要告訴你如何透過在大陸的一個安全防獲網站註冊帳號來獲得「免費」的一年授權。