Firefox wide space problem

Software , Ubuntu No Comments »

End firefox3.0.10 today to update Ubuntu, and found firefox into such a

Spaces into the middle of the width of two characters.
Depressed, an expansion of the problem began to wonder, after all get rid of the problem is still, delete ~ /. Mozilla directory, and reinstall the problem remains.
Depressed, and the Internet is the next problem occurs to many people, but not a solution.

Finally, the IRC found the answer.
The original is as simple as uninstall pango-graphite problem solved
sudo aptitude remove pango-graphite

All normal

  • Share / Bookmark

maven use jboss-maven-plugin

development , Java No Comments »

How to use the maven Jboss, the Internet is the next, generally using cargo-maven2-plugin This plug-in to operate, but apparently maven in providing jboss-maven-plugin then why can not use? After untold hardships finally found a use

1, configuration pom.xml file, increase the

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<version>1.3.1</version>
<configuration>
<jbossHome>/opt/jboss-4.2.2.GA</jbossHome><!-- jboss 安装目录-->
<port>8080</port> <!-- jboss使用端口-->
</configuration>
</plugin>

Read the rest of this entry »

  • Share / Bookmark

Ubuntu Soft

Ubuntu No Comments »

Their common ubuntu software and installation, expert prawns can ignore.

Note: The following software are all available for download Ubuntu 8.10 i386 x86 environment, if the system or hardware environment is different, please go to Google on the go or a place to download the following

http://www.getdeb.net/

Installation instructions:

Use the source installation, use the command directly

sudo apt-get install xxx or sudo aptitude install xxx

deb file using the command

sudo dpkg-i xxx or sudo gdebi xxx

Because this is a primary tutorial, there is no need to compile their own software, build it here, by the way, usually using the following command

. / Configure (there may have to take a number of parameters in general in the directory README there for details)

make

sudo make install

Of course, the lack of intermediate may be the situation of the build environment, or online from the source in the absence of the build environment installed on it

Read the rest of this entry »

  • Share / Bookmark

20090413 desktop show

theme No Comments »

Recently XP problem, install Ubuntu. Left diagram, style somatic used AWN

Some time ago through Google Friend Connect application, add two days ago on Blog on the way, welcome trial

  • Share / Bookmark

TaskSpeed

JavaScript 2 Comments »

Dojo DOM out of operation for testing and a few pure pop JS DOM speed packet operation, it is very strange why did not Ext

This is not SlickSpeed, though uses the same framework.
Tests are run against a local Copy of this Document . They add, remove, APPEND, Connect and otherwise mangle the DOM as defined by the Sample-tests.js File.

Here is my local test results (Inetl T2080 * 2 + DDR2 800 2.5G + Ubuntu 8.10 + Firefox3.0.8), click to Report to see after all take the test and submit the average results.

Links: TaskSpeed Report

  • Share / Bookmark

Callbacks vs Events

JavaScript No Comments »

This is a more interesting contrast to the first of Events based on the use of DOMContentLoaded to perform two separate initialization

  , function () { document. addEventListener ("DOMContentLoaded", function () (
 ); console. log ("Init: 1");
 DOES_NOT_EXIST + +; / / this will throw an error
 ), False);

 , function () { document. addEventListener ("DOMContentLoaded", function () (
 ); console. log ("Init: 2");
 ), False); 

Get the results

Init: 1
Error: DOES_NOT_EXIST is not defined
Init: 2

Though a mistake, but there are two initialization implementation.
Read the rest of this entry »

  • Share / Bookmark

Prototype 1.6.1 RC2

Ajax , JavaScript No Comments »

The first contact JS lib, now turned to jQuery , with less than a. This version is mainly for Internet Explorer 8 compatible with respect to some optimization.

Updated as follows:

  • Compatibility with Internet Explorer 8 full. Juriy has spearheaded the effort to replace most of our IE "sniffs" into outright capability checks - making it far easier to Support IE8 in both "Super-standards" mode and Compatibility mode.
  • Storage element, a Feature announced previously . Safely associate complex metadata with individual elements.
  • mouseenter and mouseleave events - simulating the IE-Proprietary events that tend to be far more useful than mouseover and mouseout .
  • An Element#clone method for cloning DOM nodes in a way that lets you perform "cleanup" on the new copies.

Some improvements:

  • Better housekeeping on event handlers in order to prevent memory leaks.
  • Better performance in Function#bind , Element#down , and a number of other often-used methods.
  • A number of bug fixes.

Links: Prototype Download: Prototype 1.6.1 RC2 API: API doc

  • Share / Bookmark
WP Theme & Icons by N. Design Studio
Entries RSS Comments RSS Log in