2007-09-28

Selected Firefox themes

Here are some pretty themes for firefox. So if you're already tired of the default style of firefox just like me, try one of them!

Other Software

FOXSCAPE - Netscape

    FOXSCAPE

Office 03 - Microsoft Office 2003

    Office 03

Outlook 2003 Blue - Outlook 2003

    Outlook 2003

Special

Abstract Classic - icons with angles

    Abstract Classic

Baby Blue/ BB - pink and blue

    Baby Blue

Bible Fox - Christian symbols

    Bible Fox

Glowy Green - dreamy colors

    Glowy Green

Littlefox for Firefox - for small resolution

    Littlefox

MidnightFox - neon with black

    MidnightFox

OldFactory Black - old style control panel

    Old Factory

PimpZilla - earth

    PimpZilla

Pink Paula / PP2 - pinkie for teenagers

    Pink Paula

RedShift V2 Beta - red and black

    RedShift

Scribblies Brite - for kids

    Scribblies Brite

ShadowThunder II Sunbeam - bright yellow

    ShadowThunderII

Walnut for Firefox - Wooden

    Walnut

Operating Systems

iFox Smooth - Mac

    iFox Smooth

Macfox II - Mac OS

    Macfox II

Metal Lion - Vista - Vista

    Metal Lion

Netscape Windows 3.1 - Windows 3.1

    Netscape Windows 3.1

Ubuntu Human Theme - Ubuntu

    Ubuntu Human

Ubuntu Tango Theme - Linux

    Ubuntu Tango

Vista-aero - Internet Explorer 7

    Vista-Aero

Themes

HalloFF - The Nightmare Before Christmas.

    Halloff

Halloween - Browser with ghosts

    Halloween

Lineage 2 - Game: Lineage 2

    Lineage 2

NASA Night Launch - Can even style numerous extensions.

    NASA Night Launch

Red Cats (green flavor) - for cat lover

    Red Cats

The Simpsons - German version

    The Simpsons

tuxof - Unreal Tournament 2004

    Unreal

X-Mas (Light) - Christmas

    Xmas Light

So what do you like mostly? :-) <- this symbol is 25 years old, btw.

2007-09-27

Pack all in one with Bundled Wrapping Method

For those people who are always en route, here is a excellent wrapping method to pack all needed clothes in a compacter way.



More details can be seen at http://www.onebag.com/pack.html

2007-09-23

A new MSN smiley collection: Tuzki




My most used IM software is MSN Messenger. So I do collect many funny smiley. :) Now here is the newest collection of my smiley. It's really popular....

Download it here. Don't tell me you don't know how to install them....

2007-09-17

Photography by Quang-Tuan Luong



Recently I am busy in finding a job, making some interviews. So the update on this site is somehow delayed. Today I found some terrific photographies by Quang-Tuan Luong.

Born in France, from Vietnamese parents, he was originally trained as a scientist (Ecole Polytechnique X84, PhD University of Paris), who made a few contributions to the fields of Artificial Intelligence and Image Processing.

Twenty years ago, his life was transformed by the wilderness of mountains. Now he is a photographer, so we have chance to see all his beautiful photos. :)

So, enjoy!

AT: http://www.terragalleria.com

US National Parks

QT Luong has photographed in extraordinary detail each of the 58 US National Parks, resulting in this unique collection of more than 4000 pictures.

North America

From sea to shining sea, the natural landscapes and cities of Canada, Mexico, and the USA including an extensive California gallery.

Asia and Israel

The surprising people, traditional culture, and temples of Japan, South-West China, India, Vietnam, Cambodia, Laos, Thailand, Myanmar.

Europe

Historic cities and small towns of Belgium , France, Germany, Italy, Sweden, and the United Kingdom, full of ancient ruins, monuments, fountains, castles, churches, cathedrals, old homes and streets.

Oceania

A variety of tropical images from Australia and the islands of American Samoa and Hawaii.

Mountain Adventure

Alpinism in the heart of the Alps, Waterfall ice climbing, Big wall climbing in Yosemite, Expedition on Mt McKinley, Traveling Alaska's wilderness, High Sierra.

Studio images

The first of a series of studio artistic interpretations of nature subjects features orchids, the most diverse group of all flowering plants.

2007-09-06

A better than iPhone Cellar Phone Concept

Have you ever dreamed of a better cellar phone that the famous iPhone? Here is the idea which can answer your question. A cellar phone with 100% touch screen. You may say, that is not a new idea. Yeah, you're right. What makes this concept different is: It can be combined!

Two or more such cellar phone can be used together to make a better user experience. In my opinion, it's more like a LCD TV WALL. :)

[from Yankodesign]

2007-09-05

If life is a game...

These days I met a lot of things like in a drama. Luckily, all these things are good. So it makes me think, if life is a game, what I made in this game?

Personally I love Nintendo Wii so much, but the problem is, I don't have so much room for the sport game of it. :( Ironically saying, I have bought the monthly entrance to a gym club, but I haven't made any sport training since months. All what I am dreaming about is doing the training at home before the TV set with Wii!!

I searched the whole web with the keyword "if life is a game", and I found a genius text about the idea. The fancy of Steve Pavlina is very impressive, such as:

The only way to lose the game of life is not to play. When you actively play the game, you gain skill and experience (and hopefully gold as well). Keep playing, and you’ll eventually build yourself a level 10, level 20, level 30 character. Just make sure that when you hit level 30, you aren’t still fighting level 10 monsters.

or this one:

If you find yourself in a human body, you came here to play the game of human life. Don’t sit on the sidelines whining like a noob. The truth is that if you lose all your gold, if your teammates dump you, or if your character gets infected by the plague, it’s all part of the game. Every setback initiates another round of compelling choices. The game isn’t supposed to be fair — it’s supposed to be fun and interesting. Whether or not you have a fun and interesting experience largely depends on what kind of player you are.
I must say, I learned a lot from that text "Life - The Ultimate Game". Take a look at it, you may lose 5 minutes in your game of the life, but it really worths! :)

2007-09-03

Best zip software on the earth!

There are many zip softwares on the earth. Maybe thousand? I don't know. After long time seeking my most favorate zip software, I've chosen 7-Zip!

The reason:
  1. It's open source, which means it's completely free.
  2. It supports most archive format, including 7z, ZIP, GZIP, BZIP2, TAR and RAR.
  3. it integrates into the windows explorer.
  4. It has 63 language support.

An interesting thing is, the english version of 7-Zip website doesn't provide the beautiful icon set that is available to chinese users.




So here it is:

for v4.2: http://www.7-zip.org/zh-cn/7z_iconset.exe
for v4.53: http://www.7-zip.org/zh-cn/7z-iconset-453.exe

Just download it according to your 7-Zip version and install it.

Enjoy it!

2007-08-28

Automatic Login to google with WScript.

WScript is the short name for Windows Script. It can be a VBScript or JScript(not Javascript but a Microsoft standard!) If we use it properly, it can save us a lot of work. Here is an example for a script which can be used to login in google account automaticly.

var ie=WScript.createobject("InternetExplorer.Application");
var args = WScript.arguments;
var followme="http://www.google.com/";
if(args.length>0)
{
followme
+=args(0);
}
ie.Navigate(
"https://www.google.com/accounts/Login?continue="+followme);
SynchronizeIE();
var doc=ie.document;
doc.forms[
0].Email.value="yourName@gmail.com";
doc.forms[
0].Passwd.value="^your password";

//because the checkbox "PersistentCookie" appears randomly
if(doc.forms[0].PersistentCookie!=null)
{
doc.forms[
0].PersistentCookie.checked=false;
}
doc.forms[
0].submit();
SynchronizeIE();
ie.Visible
=true;

//wait for IE finishs its job
function SynchronizeIE()
{
while(ie.Busy)
{
WScript.Sleep(
100);
}
}

Save the code as googleSpecific.js and make it under the %windir%\system32, then create a file called google.bat under the same path with the content:

@cls

@wscript %windir%\system32\googleSpecific.js %1 %2 %3 %4 %5 %6 %7 %8 %9

After that, execute "google mail" in command promp, you can log in your gmail directly now.

Other commands are:
google notebook
google bookmarks
If you type "google" without any parameters, you will sign in with the google.com.

2007-08-23

Eclipse 3.2.2 with JBoss Server 4.2.1

Since I want to try the new version of JBoss Server, I downloaded the newest Version of it and unzip it to a folder. Just like usual, I go to the eclipse workbench and select file | new | other | server | next, then I can see 2 entries for JBoss server which are the v3.2.x one and the v4.0.

Chosing the 2nd option I get the error :

Missing classpath entry C:\jboss-4.2.1.GA\server\default\lib\javax.servlet.jar

As far as I know, from the version 4.x of the Jboss Server, it already includes the EJB. So the only reason for that error should due to a not correct server definition.

Internet is a good place to find the answer. Thanks to Wolfgang Knauf, we have some new JBoss server definitions here: http://www.informatik.fh-wiesbaden.de/~knauf/public/

There are two different jars for WTP 1.5 and 2.0.

To use the plugin:
  • JBoss 4.0.x: You MUST have installed the EJB3 RC9 to the default configuration so that the plugin can find all required libraries.
    For JBoss 4.0.4 with installer including EJB3 RC8 this is done automatically.
    For EJB3 RC 9 there is no JBoss AS installer, it must be installed to the default configuration manually. Later you can install EJB3 RC9 to any other configuration, the jars from the default configuration are only needed for starting up application clients and for Eclipse.
  • JBoss 4.2.0: the default configuration must be present so that the plugin can find all required libraries (tested for CR1 to GA)
  • JBoss 5.0.0: the default configuration must be present so that the plugin can find all required libraries (tested for Beta2)
  • Delete previous versions of this plugin if already installed.
  • Download org.eclipse.jst.server.jboss.ejb3_1.5.0.v200706052200.jar
  • Copy the file to the subdirectory "plugins" of your eclipse installation.
  • Restart eclipse once with the "-clean" option: "eclipse -clean".
  • Create a new server runtime. You will find the runtimes in the "JBoss" branch, labeled "JBoss 4.0.4 or 4.0.5 with EJB3 RC8 or RC9", "JBoss 4.2.0" or "JBoss 5.0"
So enjoy it!

2007-08-20

Deleted Files under FreeBSD

In last week I made a mistake by deleting some documents on a server which runs FreeBSD. Three seconds after I typed "rm -r *.*" and pressed Enter, I'd realized I made a big mistake. There is always a thing called "recycled bin" in Windows or GUIs in Linux, but not for such a situation with text command. So, I searched in my poor memory and tried finding some tools under FreeBSD just like "undelete" under sweet DOS. The only result and choice is: testdisk.
Exactly saying, PhotoRec, which can be downloaded here.

It's really sad for me to find out that there is only FreeBSD port for testdisk, which can be easily installed by typing "pkg_add -r testdisk", but not for PhotoRec. The only way is downloading the source and compiling by yourself. I must admit that I didn't make it done. So I was almost mad when I realized there is no kind of softwares that can rescue the deleted files under FreeBSD.

The solution to this disaster: for some luckies I made a backup before several months and it includes the files that I deleted! So here is the lesson I've learned: ALWAYS make backups before you do something! Today is just losing some files, what happens if our hard disks die?

Like some words I saw elsewhere:

Love, just like you've never been hurt,
Live, just like you will die tomorrow,
Sing, even if nobody is listening.

We can add an extra line to that:

Backup, 'cause you will never know when your hard disks want to die.

2007-08-13

Gospel of Tux unearthed!

Every generation has a mythology. Every millenium has a doomsday cult. Every legend gets the distortion knob wound up until the speaker melts. Archeologists at the University of Helsinki today uncovered what could be the earliest known writings from the Cult of Tux, a fanatical religious sect that flourished during the early Silicon Age, around the dawn of the third millenium AD...

The Gospel of Tux (v1.0)

In the beginning Turing created the Machine.

And the Machine was crufty and bogacious, existing in theory only. And von Neumann looked upon the Machine, and saw that it was crufty. He divided the Machine into two Abstractions, the Data and the Code, and yet the two were one Architecture. This is a great Mystery, and the beginning of wisdom.

And von Neumann spoke unto the Architecture, and blessed it, saying, "Go forth and replicate, freely exchanging data and code, and bring forth all manner of devices unto the earth." And it was so, and it was cool. The Architecture prospered and was implemented in hardware and software. And it brought forth many Systems unto the earth.

The first Systems were mighty giants; many great works of renown did they accomplish. Among them were Colossus, the codebreaker; ENIAC, the targeter; EDSAC and MULTIVAC and all manner of froody creatures ending in AC, the experimenters; and SAGE, the defender of the sky and father of all networks. These were the mighty giants of old, the first children of Turing, and their works are written in the Books of the Ancients. This was the First Age, the age of Lore.

Now the sons of Marketing looked upon the children of Turing, and saw that they were swift of mind and terse of name and had many great and baleful attributes. And they said unto themselves, "Let us go now and make us Corporations, to bind the Systems to our own use that they may bring us great fortune." With sweet words did they lure their customers, and with many chains did they bind the Systems, to fashion them after their own image. And the sons of Marketing fashioned themselves Suits to wear, the better to lure their customers, and wrote grave and perilous Licenses, the better to bind the Systems. And the sons of Marketing thus became known as Suits, despising and being despised by the true Engineers, the children of von Neumann.

And the Systems and their Corporations replicated and grew numerous upon the earth. In those days there were IBM and Digital, Burroughs and Honeywell, Unisys and Rand, and many others. And they each kept to their own System, hardware and software, and did not interchange, for their Licences forbade it. This was the Second Age, the age of Mainframes.

More: http://www.ao.com/~regan/penguins/tux.html

2007-08-09

The confusing difference beweteen different JOINs in SQL

There are two kinds of JOINs: one is INNER JOIN, the other is OUTER JOIN.

Sounds like similar, but very different:

INNER JOIN means the result of a query should exist in the source tables.
OUTER JOIN means the result of a query CAN be some NULLs partially.

INNER JOIN is a keyword of SQL, but OUTER JOIN not.
OUTER JOIN includes two types JOINs: one is LEFT JOIN, the other is RIGHT JOIN,

NOTICE: LEFT JOIN & RIGHT JOIN are keywords of SQL.

Now let's look at some examples to understand things more clearly.

Given two tables:

TABLE 1: exam

ID Score
------------------------
1 A-
2 B+
5 C-

TABLE 2: student

ID Name
------------------------
1 Joe
5 Geogre
7 Ben

First SQL query:
SELECT e.ID, s.Name, e.Score FROM exam AS e INNER JOIN student AS s ON s.ID=e.ID;

So we get:

ID Name Score
-----------------------------
1 Joe A-
5 Geogre C-

In fact, this query is equaled to:
SELECT e.ID, s.Name, e.Score FROM exam AS e, student AS s WHERE s.ID=e.ID;

Second SQL query:
SELECT e.ID, s.Name, e.Score FROM exam AS e LEFT JOIN student AS s ON s.ID=e.ID;

We should get the following this time:
ID Name Score
-----------------------------
1 Joe A-
2 NULL B+
5 Geogre C-

Third SQL query:
SELECT e.ID, s.Name, e.Score FROM exam AS e RIGHT JOIN student AS s ON s.ID=e.ID;

We should get the following this time:
ID Name Score
-----------------------------
1 Joe A-
5 Geogre C-
7 Ben NULL

So you find the difference!

LEFT JOIN will try to find every match for the table BEFORE the statement LEFT JOIN, when nothing matched can be found, then a NULL will be used.

RIGHT JOIN will try to find every match for the table AFTER the statement RIGHT JOIN, when nothing matched can be found, then a NULL will be used.

2007-08-02

QuantumDB Eclipse Plugin

Today I've tried the famous QuantumDB Eclipse Plugin, It's really a powerful database management tool and supports many different databases.

To install it, open Eclipse and select from the menu "help"->"Software updates"->"Find and Install..."->"Search for new features to install"->"new remote site", then type the update URL: http://quantum.sourceforge.net/update-site, then click next...

Note: Quantum needs the GEF plugin to work, so you have to install it before installing Quantum. That plugin can be installed via an already built-in remote site: "Callisto Discovery Site".

After successful installation, I was really frustrated to figure out that the Quantum comes with only TWO connector:

  1. JDBC to ODBC bridge
  2. MS Access

If we want to use MySQL, we must get the connector jar! Now it's called MySQL Connector / J. Go to that page and download the package.

Tip: you don't need to register or sign in when you click "select a mirror", just find the gray text "No thanks, just take me to the downloads!".

Extract all things in a folder, you can find a file called like mysql-connector-java-5.0.7-bin.jar. You need to do the following to add support of MySQL driver:

  1. Go to eclipse and switch to the view "Quantum DB" by clicking the top right icon near to "Java". Add a new bookmark by right click on the left "database bookmarks" panel.
  2. Now click "Add driver", find "mysql" in the dropdown list "type", then click "add external jar", point to the file mysql-connector-java-5.0.7-bin.jar.
  3. Click the "browse" button for the class name "com.mysql.jdbc.Driver", then go on clicking many "OK" buttons.

So now do the step again and select "mysql" as connector, a dialog will be shown to let you input some infos of the mysql database you want to connect. That is it!

2007-07-27

SMART in Management.

A target in Management should have the attributes of SMART. That means:

  1. S - Specific

  2. The target must be certain, cannot be unsure or even not exist!


  3. M - Measurable

  4. The target we made must be measurable


  5. A - Attainable

  6. A target must be realisable, or reachable by efforts.


  7. R - result-based

  8. All our efforts should target at the traget, not just doing for doing. The most heard excuse in target-making is :"we are concentried on the process but not the result."


  9. T- Time-based


  10. Every target must have a schedule and a deadline.

2007-07-21

The art of paper cut

So many times, we think there is only one way to do one thing, but actually, there are a lot of ways to do a thing. The problem is only we don't or won't even dare to think such ways exist. For example, what could a paper cut be looked like? or just like this?







More: Peter Callesen's Work

2007-07-19

Design clock

There are many different kinds of clocks. This one is an amazing one because it is a timed bomb.



Every morning, it beeps like a bomb with Di Di Di ... When you don't kick it off, the beep interval will be shorter. Another interesting thing is, if you want to stop the alarm, you must press one of three colorful buttons (the correct one!) that represent three cables. AND, the correct one is selected randomly every day!

So if you're that lucky to get the right cable, you can snoop. Otherwise, nobody knows what happens ....:-)

Transformers Theme for Firefox

I belong to the generation who watch the cartoon "Transformers" and grew up. So when this July the movie "Transformers" shows up in the cinema, I watched it as early as I can. Now I've digged out an eye candy for those Transformers' fans just like me: A Firefox Transformers Theme







You can download it here, open your Add-in Manager, and drag it into it to install.

2007-07-18

A word

If you don’t know where you are going, you may end up somewhere else.