May 2012
S M T W T F S
« Feb    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

Friday, 5th of March 2010 at 03:19:25 PM

New idea

Wheh I use YouTube to watch some MTV, I have a idea pop-up.

If I have a small screen can aside by my screen, it will be nice.

Then I think if this screen can be the mouse pad of notebook. It will be nice. ^^

Is there any notebook have this small screen?

Thursday, 28th of January 2010 at 11:59:51 PM

C# deep Object clone

I made a mistake, I used shallow clone instead of deep clone. That’s second time I made this mistake.

Here is the deep clone. Remember to add [Serializable] for class.

Ref

using System.IO; using System.Runtime.Serialization.Formatters.Binary; public Class Test : IClonable { public Test() { } // deep copy in separeate memory space public object Clone() [...]

Tuesday, 26th of January 2010 at 11:01:55 AM

Integrate C# code with R

For ASMS abstract Anoop and I want to incorporate our I690 class project(A Multi-PCA Approach to Glycan Biomarker Discovery using Mass Spectromtery Profile Data) into my MultiNGlycan.

He wrote a R code which can deal with post-processing.

Remember to install rscproxy package. The error message will say you need to install rproxy.dll but it have [...]

Tuesday, 26th of January 2010 at 01:04:20 AM

Google Calendar enable as Agenda widget

I use Google Calendar Widget to read my google calendar.

Because of Wendy’s request, I start to sync my schedule to google calendar.

Hope it will help me make everything on track.

Friday, 22nd of January 2010 at 12:53:14 PM

Install pptpd on Ubuntu server

I installed pptp service for my friend in China where can’t browse Facebook and lots of site.

Now my server have following service

Web Service: Apache 2 FTP Service: Proftpd SSH Service: openssh Samba Service: samba3 VPN Service: pptpd

Thursday, 21st of January 2010 at 10:09:14 AM

QNAP TS-409 Pro add UTF8 locale

I add the UTF8 locale to my NAS TS-409. Hope it will work for solving the wrong encoding in the file system.

Here is ref

QNAP TS-409 Pro添加中文UTF8 locale,

How to modify autorun.sh in Qnap

[...]

Tuesday, 19th of January 2010 at 05:02:54 PM

Blog Settled down

Finally have a stable environment for wordpress. I modify the theme and add some plug-in.

It won’t have major revise unless I found something wrong.

Monday, 18th of January 2010 at 11:10:21 AM

Server Move

I moved my server from NAS in Taiwan to my newly bought PC.

I install ubuntu 9.10 server, and also move ftp from previous PC to this server.

Two disk install in this machine one is 1.5T another is 1T. Hope it will not full for several months.

Wednesday, 9th of December 2009 at 03:58:18 PM

How to invoke an executable program inside C#

System.Diagnostics.Process p = System.Diagnostics.Process.Start("calc.exe"); p.WaitForExit(); // Wait until the program exit

MSDN

Friday, 20th of November 2009 at 04:28:20 PM

Visual studio setup project upgrade

Set an option which allow program automatic uninstall when you click msi package.

Visual Studio – deploy RemovePreviousVersions propertied