Tuesday, June 13, 2017

如何在Windows 10 64Bit 安裝BI Publisher Desktop

BI Publisher真的是難裝的要命的東西。
但幸好印度同胞還是很無私的分享了怎麼解決

然而目前即使是在windows 10 64bit上但它還是最多只能支援到office 32bit的版本。
有人64bit有裝成功,請不吝讓小弟開開眼界。

重點是一個元件MSCOMCTL.OCX
很幸運地,它要嘛在C:\Windows\SysWow64下就有,要嘛你用搜尋的去硬碟翻箱倒櫃一番也是找得到。

確定你的MSCOMCTL.OCX在C:\Windows\SysWow64下。

然後以系統管理權限執行命令列視窗
切換目錄到C:\Windows\SysWow64
Regsvr32 MSCOMCTL.OCX
看一下回你的訊息,不要太快關掉呀。

再來你就可以把它丟下去執行,去倒杯咖啡再回來,它就應該安裝完成了。

圖片一樣有空再來加了。



如何在Windows 10 64bit上安裝Oracle Developer Suite 10G

很多人跟我一樣對微軟這個新的Windows 10很愛,但應用程式的開發者跟不上作業系統更新的速度,於是有本小文的誕生。
三個重點

  1. 以相容模式Windows XP SP2執行。
  2. 命令列要記得下-ignoreSysPreReqs,所以會是setup -ignoreSysPreReqs
  3. 虛擬記憶體要設成手動,最小256,最大則看你的實體記憶體,Windows會建議你最大設多少。設自動Installer死都不承認你有虛擬記憶體,很壞吧。💀 

圖片改天再來加。

開始中文的內容

本小格(部落格)以往一直以為要用英文才是國際化才跟得上潮流。
隨著時代的潮流,全球化的競爭。
小弟自認為小格文章寫的沒印度同胞好,技術層級沒洋人寫的漂亮。
於是小弟今天起在本小格(部落格)開始出版中文的技術內容。
希望有更多的流量及造福更多有需要的人。

後記:實驗證明. 中文反而流量更少.

Thursday, June 19, 2014

cpio

This is just for my own note.
To exact .cpio file on linux

cpio -idvm < cpio_file

Reference

I just remembered I was using the cpio incorrectly.
And the installer ran with status ok, but eventually failed because of unknown reason. 
Hope this work for my new tasks. 

Wednesday, February 6, 2013

Connect Amazon Web Service EC2

Recently, I'm trying to setup a AWS EC2.
The connection problem caused me a headache.
Luckily still a lot of bloggers are sharing their knowledge and saved my time.


  1. Make sure you've downloaded your key pair in the folder you're accessible.
  2. Use the following command to connect to your server
    ssh -i keypair_name.pem username@hostname_or_ip
  3. Then you're ready to go!


Saturday, May 19, 2012

Make your Chinese SRT file display correctly

Recently I just upgraded my Ubuntu Desktop from 11.04 to 12.04 LTS. And of course a lot new problems came to me.

And one of the problem is the SRT file.

Actually, this is not a new problem to me, but I was always choosing the workaround way.

This time, no more workaround. I'll present you the correct way.

Until now I still don't have a clue for the root cause of this problem yet, but in chunghe's blog I found this is really nice and easy way to solve the problem.

Problem Description

The original contain of the SRT is like this.

I still can see the numbers, which means the file is somewhat correct, but the Chinese word didn't display correctly.

image

In gEdit, I tried to open it with UTF-8 encoding

image

There are errors

image

 

Solutions

For chunghe's blogpost, he introduced an utility called enca.

Usage1 show file information  : enca <filename>

image

This will display the information of the file content. For my file here it shows

It's Big5(Is this the reason I cannot see the font correctly?) , with CRLF line terminators.

 

Usage 2 convert file to desired format : enca –x <encoding>

I wrote an scritp to do this. The content is :

enca -x UTF-8 < $1.srt > $1.utf8.srt

The content of the converted file.

image

 

Conclusion

This way is much easier and more straight and forward.

Before this, I have to copy the file to Windows environment and open notepad++ to convert it to UTF-8.

Now everything can be done under Ubuntu. 微笑

Saturday, March 24, 2012

Making Oracle Database XE Available to Remote Clients

I installed one Oracle Database XE for testing purpose.

And found that it won't be accessable from different client.

And finally I found the answer in Oracle Document

Here is the copied sentence...

 

Start SQL*Plus and log in as SYSTEM:

SYSTEM_DRIVE:\> sqlplus system
Enter password: SYSTEM_password

Or, if you are logging in remotely:

SYSTEM_DRIVE:\> sqlplus system@xe_server_host_name
Enter password: SYSTEM_password

At the SQL prompt, enter the following command:

SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
 
And it can be remote access now. 微笑