Friday, August 31, 2007

China Stock Market

挡不住的感觉啊,哈哈哈

Thursday, August 30, 2007

Ohloh, the open source network

Ohloh, the open source network

software network.

funny place

lots of info

Wednesday, August 29, 2007

CIO ?,还是 CFO? - 刘松的专栏 - CSDNBlog

CIO ?,还是 CFO? - 刘松的专栏 - CSDNBlog


这哥们弄的这个东西还是挺实在的。值得借鉴一下。

Monday, August 27, 2007

Java General Java Perl to Java regular expressions tutorial Tutorial

Java General Java Perl to Java regular expressions tutorial Tutorial


This article provides a good comparison between Java and Perl regular expression.

The best place is it provide simple but enough samples for those differences.

Monday, August 20, 2007

My Eclipse Plugins

EPIC - http://e-p-i-c.sourceforge.net/

Aptana Rails Plugin - http://update.aptana.com/install/rails/3.2/

Aptana web plugin - http://update.aptana.com/install/3.2/

Sunday, August 19, 2007

Problem with i18n:jsp,struts,utf-8

Problem with i18n:jsp,struts,utf-8: "
- Jsp: add and in : - add <%@page language="java" pageEncoding="utf8" contentType="text/html; charset=UTF8"%> and in <header>: <meta equiv="Content-Type" content="text/html; charset=UTF-8"> <header><meta equiv="Content-Type" content="text/html; charset=UTF-8">

- Tomcat Catalina.bat: add set JAVA_OPTS=-Dfile.encoding=UTF-8 to interpret data from the db correctly.

- Web.xml: add a filter as in http://www.javaworld.com/javaworld/jw-05-2004/jw-0524-i18n.html to make POSTs send correctly encoded characters."

Automating Xen Virtual Machine Deployment

Automating Xen Virtual Machine Deployment:


This article described how to use SystemImager to deploy Xen virtual SUTs.

Tuesday, August 7, 2007

Friday, August 3, 2007

export DISPLAY of entire desktop

export DISPLAY of entire desktop


export DISPLAY of entire desktop
KDE Posted by Steve Schofield on Sunday December 22, @06:43PM
from the dept.
I'm a newbie starting in the non-MS world(Yeh I know!). I'm wanting to bring up a FreeBSD system to host my backup mail server. what i need help on is export the entire desktop using X-Windows to my desktop machine. I've exported my entire desktop with Red Hat however Linux & Red Hat seem to have as many exploits these days as Windows OS. I already have to baby sit one OS, i need two.
I'm able to export a specific program to my remote desektop machine based on the article here on this site but can't figure out how to do i launch my window manager(KDE, GNOME, afterStep) to my remote desktop machine. export DISPLAY=1.1.1.1:0.0

< | >


The Fine Print: The following comments are owned by whoever posted them.
( Add a Reply )

Re: export DISPLAY of entire desktop
by Steve Schofield on Sunday December 22, @06:53PM
Nevermind for the post. i had to type in startkde & that was it. I posted this message using Konqueror. Thanks for the decent website, boy it looks like slashdot no matter. Also I meant to say up top i don't need two OS's to babysit. Windows is bad enough, I'm loving the FreeBSD so far. Boy you need to know your hardware though.
[ Add a Reply to this ]
  • Re: export DISPLAY of entire desktop
    by Sajith N on Monday July 14, @05:01AM
    I tried that using startkde, but the keyboard was not working. Mouse was okay. Any clue?
    [ Reply to this ]
Re: export DISPLAY of entire desktop
by makinde on Saturday May 29, @02:08AM

To export the display of entire desktop on another machine, follow these procedure from the client machine, issue the following commands:

  1. Ctrl + Alt + F1 2)login as root 3) issue this comand at the propt: X : 1 -depth 16 -query hostname

where hostname is the machine you want export its desktop (which i refer to as the host)

the display depth of 16 bit is chosen here, it will depend on what your card can support you may try 8 or 32 depending on . 4)To come back to the client display : Ctrl + Alt +F7 5)To go back to the host display: Ctrl + Alt +F8

Set up the VNC Server in Fedora

Set up the VNC Server in Fedora


This article contents most of the vnc configuration instructions.

The bad thing is, it can't cover all the VNC configuration, and sometimes it doesn't work.

Getting the X Window System Working with X-Configurator

Getting the X Window System Working with X-Configurator

I forgot the F86Config command...........

too bad

I should draft a useful Linux command list in my Blog.