Lost 3 years
I forgot to migrate my wordpress DB from an expired hosting plan, and the posts from 2001-2004 are lost.
But, well, one word could cover most of the life: babysitter.
I forgot to migrate my wordpress DB from an expired hosting plan, and the posts from 2001-2004 are lost.
But, well, one word could cover most of the life: babysitter.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Unknown
at
2:23 PM
0
comments
Visited universal studio yesterday, a wonderful place.
But, unlucky, my wife lost the lens cap; 1 hour later, the 17-55 lens got dropped, and UV glass is broken, the UV ring is dented.
By quicky googling, I found guys spent hours to DIY remove the dented UV.
So, I gave up the chance to do it myself, instead, it's sent to canon service centre today. They helped me to remove the dented UV in 15mins, even gave me a free lens cap.
Huh, the service is great, thanks.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
3:48 PM
0
comments
I have a virtual machine running RHEL4 on our cluster server. But IT does not support it anymore. So, I tried to update it to CentOS to enjoy update.
The problem is I have no physical access to the VM, so need to update online.
Neither Redhat nor CentOS suggest to do online update between major releases, but no choice. I did in 2 steps:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
11:25 AM
1 comments
Tiantian's 5mth+12days already.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
1:25 PM
0
comments
Huh, he just finished a whole bottle of milk.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
8:50 AM
0
comments
I cannot find my canon DPP install CD, and Canon website provides DPP updater only.
DPP updater runs only on PC with DPP installed. If you have the following contents at registry table, then it thinks you have DPP installed.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\DPP]
[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\ZoomBrowser EX\]
[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\EOS Capture]
[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\EOSViewerUtility]
[HKEY_LOCAL_MACHINE\SOFTWARE\Canon\PhotoStitch]
Some lines are for other updater.
For ZoomBrowser 6.3+, please change "ZoomBrowser EX" to "ZoomBrowser EX\Install".
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
2:38 PM
0
comments
Who want to try the wave? I have couples of invitations, please leave your email, if you want one.
Leave anonymous comments, then, your email won't be displayed.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
10:38 AM
0
comments
copied from http://blog.sina.com.cn/s/blog_4ae0fa1d0100b3ex.html~type=v5_one&label=rela_nextarticle http://blog.sina.com.cn/s/blog_4ae0fa1d0100b3f5.html~type=v5_one&label=rela_nextarticle
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
4:20 PM
1 comments
NPAPI is supported by various Web browser engines, such as WebKit and Gecko. Iris browser is a WebKit based Web browser that can run on Windows Mobile. So, we could extend Iris with NPAPI plugin.
I am not sure whether Iris provide develop environment for plugin. We might need to find another way to build plugin.
What I tried first is to build minimo, and study whether can build plugins based on minimo. Unfortunately, seems minimo does not support plugins well. Anyway, I write down my experiment for reference.
Although minimo runs smoothly on my emulator, but I found it does not support plugins (if I am wrong, let me know, tkz). qtWebKit is the Windows Mobile port of WebKit engine. It's the next candidate I tried. Please goto http://code.staikos.net/ for latest sources.
I download qtwebkit 4.5 from SVN repository http://svn.webkit.org/repository/webkit/trunk, version 37064. http://git.webvm.net/ provides npsimple, a simple plugin sample running on Windows Mobile.
I built npsimple with VS2008, after setting include directory in the project. Please make sure the directory setting contains those with npruntime.h and npfunctions.h. For the qtWebKit I downloaded, they are:
To try the plugin, I installed Iris browser based on WebKit to my Window Mobile emulator (WM5)(http://www.torchmobile.com/blog/?p=5), and then copy the built plugin to plugins folder under where I install Iris browser (http://www.torchmobile.com/blog/?p=9).
All done! Just open the html coming with npsimple project and see the result.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
5:06 PM
1 comments
There is no budget for me to study into Acrobat's pdf editor in detail, so, I do not know whether PdfEdit is weaker or stronger than it.
But based on my experience, I just recommend PdfEdit as your pdf editor, especially if you do not bother do a little script programming.
Here, I give an example of how could you change all pages' size with PdfEdit.
Step1: goto 1st page, and decide the desire page size:
In this example, we change the left margin to 50, the effect on 1st page is:

Step2: goto 1st page again, if you want to change page 1-6's size to (50,0,595.2,841.92), then input the scripts to script window and press enter to execute it, that's all:
for(i=0;i<6;i++)
{
page().setMediabox(50,0,595.2,841.92);
PageSpace.nextPage();
}
page().setMediabox(50,0,595.2,841.92);
For more samples of PdfEdit script, you can refer to .ps files in PdfEdit home dir, e.g., ubuntu install it to /usr/share/pdfedit/.
Detailed script API can be found at: http://pdfedit.petricek.net/appendix.html
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
10:34 PM
1 comments
I just follow tess blog to setup the windbg theme.
For reuse, the theme can be exported to windbg.reg (HKEY_CURRENT_USER\Software\Microsoft\Windbg\Workspaces), so that you can recover it easily.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
2:49 PM
0
comments
Nothing special is at this weekend, but I cannot access google services (google search, google reader, etc.) today.
It's funny that I must revert to yahoo/msn to do search.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
9:52 PM
0
comments
Maemo mapper 2 supports 770, and can download map easily. I am staying in Singapore, and the map I downloaded includes: 1. 1'28"04.66N/103'41"10.47E to 1'17"48.99N/103'52"04.18E 2. 1'25"29.74N/103'52"04.18E to 1'17"48.99N/103'58"57.12E 3. 1'17"48.99N/103'44"37.56E to 1'14"20.82N/103'54"15.55E These areas does not cover whole Singapore, but should be more than enough for me.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
3:30 PM
2
comments
I found the email when I got up this afternoon, :D, and so glad that I haven't read the news from maemo news Web site. Otherwise, I might think my application hasn't be accepted.
For sure, it's a great deal to buy such an amazing gadgets with 99Euro, and what also makes me happy is maemo thank contributors in this way.
Thanks, maemo.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
5:24 PM
0
comments
Labels: maemo
Blogger publish ATOM feed for recent posts by default, including posts from all categories.
To publish a feed with only posts from a given category is also very simple. For example, in a blogger site http://blog.lizhao.net/ with category named 'maemo', the feed is:
http://blog.lizhao.net/feeds/posts/default/-/maemo
For more discussion about the format, plz refer to another article
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
12:44 PM
0
comments
MicorB for ITOS2007HE may be on the way, but who knows when will it finally arrive. Based on the waiting experience, I decided to reinstall minimo, while waiting it.
When I tried minino 1 mth ago, it is not stable on 770, but I also heard if increase memory buffer size, it can perform much better. So, I try to set the buffer size to 4096 or 8192, according to mozilla site.
On 770, just run: vi /home/user/.mozilla/minimo/prefs.js and add one line:
user_pref("browser.cache.memory.capacity", 8192);
trying google calendar/reader/gmail for a while, yea, it is much more stable, but an annoying bug is still there.
I feel if there is unknown errors happened in rendering a page, the corresponding tab can not be closed, or refresh, and it will affect other tabs.
If anybody know how to solve this, plz tell me. :-)
try: user_pref("network.http.max-connections", 8); and user_pref("network.http.max-connections-per-server", 4);
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
2:36 PM
2
comments
Labels: maemo
After making a deb package for maemo platform, and depolying it to a repository recognized by Maemo application manager, it is valuable to let application manager display a interesting icon beside the package name.
There are several points need to note:
dpkg-scanpackages ....... > .../Packages.gz
dpkg_scanpackages="/tmp/dpkg_scanpackages-$$"
cat $BIN_SCANPACKAGES | $BIN_SED -e "s/('Package',/('Package', 'Maemo-Icon-26',/" > $dpkg_scanpackages #this is for dpkg-scanpackage 1.3
cat $dpkg_scanpackages | $BIN_SED -e "s/Size MD5sum Section Priority Description))/Size MD5sum Section Priority Description Maemo-Icon-26))/" > $dpkg_scanpackages #this is for dpkg-scanpackage 1.4
chmod 755 $dpkg_scanpackages
$dpkg_scanpackages ....... > .../Packages.gz
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
10:05 AM
0
comments
Labels: maemo
Most DVD players sold today have DivX support, I think. So, it is a good choice to convert videos to DivX and enjoy thems in sofa.
The free version of any video converter do the job quite well.
You may want to test the video converted with DivX Player before burning CDs.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
12:39 PM
0
comments
sdcv is a lightweight console version of StarDict dictionary.
Now, sdcv for maemo has a simple GUI, which can speak words, and this page is depreciated! plz visit http://sdcv.garage.maemo.org/
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
10:32 AM
2
comments
Labels: maemo
We have two GUI dictionary tools for N770/N800 (or ITOS 2007, or maemo 3.1/3.2) --- stardict and sdictviewer.
sdictviewer is based on python, and runs slowly on the slow devices. It even takes several seconds to search a word. I also prefer dictionaries provided by stardict.
However, stardict.garage.maemo.org hasn't release anything so far. I tried a version compiled by a friend, and found it is slow too. What even worse is lots of bugs cause it always crash on 770 with 2007 HE.
So, the command line version of stardict may be a good alternative. The latest source deb from ubuntu can be compiled on maemo development environment (scratchbox), without any change.
The problem is the compiled binary can be executed on scratchbox smoothly, but crashs on 770 device. I spend hours to figure out the bugs, and now it works great on 770 device.
So, it should be good idea to share the patch. A new project at garage.maemo.org is opened, named sdcv (StarDictCommandVersion). Source and binary will be uploaded soon. Welcome to test it on both 770 and 800.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted by
Li-Zhao 李钊
at
10:18 PM
0
comments
Labels: maemo