Loading Blog Search...

Friday, March 25, 2005

How to record screen movie under linux

ok, camstudio, lotus office, or sth. else in windows can do the work very well. Today i try to record under linux, as boss asks a demo. Ok, vnc2swf is a good choice i met firstly: http://www.unixuser.org/~euske/vnc2swf/
it can record screen movie to flash on a remote client, or with help from x11vnc, it can record current desktop. $ x11vnc -localhost -viewonly -deferupdate 10 -wait 10 -defer 10 &
$ vnc2swf -nowindow out.swf :0

for debian users, one line need to be inserted to writeswf.c (#define SWFDBLBitmap SWFBitmap), before compilation.
More is here

Tuesday, March 22, 2005

Firefox Extension Development

Firefox is a much opener platform to build Web intelligent agents than IE is. I will collect some materials about firefox extension development in this post for reference:

1. A good place to start and here

2. For my final class at RIT I had to create a Firefox extension using XUL, CSS, and Javascript. Just to shake things up around here, I decided to post the tutorial about its development here instead of on a standalone website. I know that extension development may not be your cup of tea, but maybe you'll find some of it interesting. Here we go! More...

3. I've been playing around with Firefox extension development lately and am finding the experience a little mixed. On the plus side it seems like a powerful interface that allows for many cool extensions. On the other hand, the documentation is somewhat lacking in real world examples and the development can be tedious because of silent runtime errors. More Tips

4. Extensions allow programmers to add new features to Mozilla applications or allow existing features to be modified. Typically, extensions modify the “chrome” of their target application?the user interface and the scripts that add functionalty to that interface. However, it is also possible for extensions to include compiled code in the form of XPCOM components. More comprehensive reference...

Before start to program firefox/mozilla, get the following tools:

To use native codes in extensions, see how to Creating a C++ XPCOM component

Saturday, March 12, 2005

Pineapple rice


IMG_5801
Originally uploaded by li-zhao.
I love the taste of thai pineapple rice, tried to cook it myself today. em, many space to improve

Saturday, March 05, 2005

figures Latex & pdflatex

latex command generates dvi files, while pdflatex generates pdf. as pdflatex does not recognize eps format used by ps&dvi format, \includingraphics(xx.eps} will failed in pdflatex.
the tip to solve this problem is prepare two versioni of the figure, xx.eps and xx.pdf, and replace \includingraphics(xx.eps} with \includingraphics(xx}. then both pdflatex and latex can pass. if there are many eps in ur legacy latex sources. the following shell scripts can convert all those eps to pdf in one time.
for FILE in *.eps;
do
NEWFILE=$(echo "$FILE" | sed -e "s/eps\$/pdf/");
convert $FILE $NEWFILE ;
done

Thursday, March 03, 2005

Wine is a more serious role now

After i moved to debian half a year ago, seems CXoffice stop working on my box. ok, nobody care and i won't pay any fee to let windows software run on my linux.
heihei, however, i agree if it is free, i'll try, as some word documents is ugly without word and some 'bluhbluh' website builder optimized their pages for IE only.
today, i found with help from winetool (maybe Sidenet can also, not sure), install IE is quite easy, (wine20050111 says it can install IE without any help, but i failed), even office is supported by them.

Where to download Adobe Reader 7 for Linux

The new pre-release version of adobe reader 7 is now available for Linux. But maybe u cannot find where to grab it. at least i cannot find it in adobe's website. Here is a link to apply to join Pre-Release Program of adobe reader 7 for linux
just applied, no reply from adobe yet, hope it works
What's the next adobe will open to linux? photoshop or premiere? :-D