Showing posts with label Hacks. Show all posts
Showing posts with label Hacks. Show all posts

Wednesday, January 19, 2011

K-Lite Codec Pack H.264 playback no video problem

A video file in my computer can be played successfully before. After I upgraded existing "K-Lite Codec Pack", only the sound can be played.

I also used the MediaInfo tool check the video file content. The video is encoded in H.264.

I do not know why, but I cured this problem by opening "Codec Tweek Tool" / "Manage preferred DirectShow source filters", then at ".AVI" section change from "Microsoft (default)" to "Haali".

Interesting! Anyone knows why?

Friday, April 30, 2010

Enter JavaScript Debugger directly when using SeaMonkey

If I only wanted to use the JavaScript Debugger of SeaMonkey, I always had to repeat tedious steps to do it: open SeaMonkey, then choose Tools/Web Development/JavaScript Debugger.

Thursday, October 15, 2009

Create a Microsoft Word Template retaining customized background

I was trying to save a Microsoft Word file with customized background as a template. When I used that template to create a new Word document, I was quite surprised that the background was not shown at all in the new document!

Tuesday, October 13, 2009

Cure of my Firefox problem: turn on the "config.trim_on_minimize" switch

Since I upgraded my Firefox to most updated version (version 3.5, the version I use now is 3.5.3) on my Windows XP PC, Firefox was almost unusable to me! Every time I started Firefox, it tooks me around 3 minutes before I could smoothly browse the first site. And every time I closed Firefox, the "firefox process" would be there for another 3 minutes before it terminated itself.

Wednesday, May 27, 2009

Something wrong with Blogger Help: Label-specific site feed

I found this page on Blogger Help. It is about Blogger's various feeds and its URLs for each blog hosted on her. I found something strange on its description. See below:

Full site feed:

  • Atom 1.0: http://blogname.blogspot.com/feeds/posts/default
  • RSS 2.0: http://blogname.blogspot.com/feeds/posts/default?alt=rss

Comments-only feed:

  • Atom 1.0: http://blogname.blogspot.com/feeds/comments/default
  • RSS 2.0: http://blogname.blogspot.com/feeds/comments/default?alt=rss

Label-specific site feed:

  • Atom 1.0: http://blogname.blogspot.com/posts/comments/default/-/labelname
  • RSS 2.0: http://blogname.blogspot.com/feeds/posts/default?alt=rss/-/labelname

Individual post comment feed:

  • Atom 1.0: http://blogname.blogspot.com/feeds/postId/comments/default
  • RSS 2.0: http://blogname.blogspot.com/feeds/postId/comments/default?alt=rss

Look! The strange difference on "Label-specific site feed" section!

After I try it out, I found it is really two typos of this article! It should be corrected as this:


Label-specific site feed:

  • Atom 1.0: http://blogname.blogspot.com/feeds/posts/default/-/labelname
  • RSS 2.0: http://blogname.blogspot.com/feeds/posts/default/-/labelname?alt=rss

For example, if you want to track my new posts with label "Hacks" on this blog, you can subscribe to either one of the following URLs


Someone should tell Blogger about this!

Monday, April 20, 2009

Sample "Google Adsense for Domains" site, where domain is registered on "IXWebHosting.com"

In fact, "IXWebHosting.com" is not listed with guides on "Google Adsense for Domains". I worked with their "Customer Service" for quite a while and finally made it work!

In fact, Google Adsense's guide requested me to create 4 A Record and 1 CNAME record on the DNS server, as the flowing description shows:
Create the following A records for your domains at your domain registrar:
Host name / Alias       Record Type     Value / Destination
@       A (address)     216.239.32.21
@       A (address)     216.239.34.21
@       A (address)     216.239.36.21
@       A (address)     216.239.38.21

Next, create the following CNAME (alias) records for your www host using your domain registrar:
Host name / Alias       Record Type     Value / Destination
www     CNAME (alias)   pub-4328197501531776.afd.ghs.google.com.
 

However, "IXWebHosting.com"'s DNS management interface does not support "@" as A Record's host name. After their customer service responded, I realized just leave the (Host) Name field blank is the same as "@".

Then, I found "IXWebHosting.com"'s interface only support 1 such record. Too bad! Luckily, one is just enough! I think it is only for fail-safe of Google Adsense's DNS server, so they request 4 records.

The sample site now is like this:
http://www.ftpdrive.net


Tuesday, March 10, 2009

Windows XP SP3 Command line options

Reference:
http://techrepublic.com.com/5208-6230-0.html?forumID=102&threadID=262992

I think the suitable options for me would be this:
sp3.exe /quiet /forcerestart /forceappsclose /nobackup

Wednesday, June 18, 2008

Strange Youtube "Http/1.1 Internal Server Error", Fixed!

I found myself left with an error message "Http/1.1 Internal Server Error" when watching Youtube videos. In fact, I am not alone: (1), (2).


Yes, it is Firefox 3! But I do not believe FF3 is to blame. In fact, I also had the same problem using Firefox 2 before.

The real cause of it is the "Virus Protection" software. After I turned it off, Youtube comes live again!

I am using PC-cillin Internet Security 2007 of Trend Micro, Taiwan localized version. Maybe someone should tell them to watch this case!

It is interesting that IE7 is not affected at all in this case. Despite of this, Firefox 3 is still my favorite browser!

Sunday, May 18, 2008

Firefox hang when visiting pages with Java applets, fixed!


TwinChaplins2648.jpg
Originally uploaded by longhorndave
I live with Firefox a lot! It is very stable and loads pages very quickly. However, after I upgrade Jave Run Time (JRE) to the latest version, I found myself hang when using Firefox to browse web pages containing Java applets! I was wondering whether this is a "bug" of Firefox itself.

After some survey on Google, I found in here to just turn on "show Java Console" option, from Windows Control Panel, and it fixes for me!

After this fix, Firefox is still my favorite browser in the world! No more unexpected hang when surfing!

Wednesday, April 9, 2008

Hacks for Google Calendar Sync (Version: 0.9.3.2): clearing the marked deleted items to be sync-ed


Hanging in there.
Originally uploaded by aussiegall

I found myself in serious need to have Google Calender Sync (GCS) to forget about sync-ing deleted Outlook Calendar items. If GCS does not forget, it would then delete the same items on Google Calendar, too! And that's very bad for me!

Luckily, after some hack, I found one way: just delete saved state files of GCS. It works like this:
  1. Exit GCS.
  2. Go to the folder named:"%USERPROFILE%\Local Settings\Application Data\Google\Google Calendar Sync\data_files"
  3. Removing all files, except "user_properties.txt" and "user_info_2.txt".
  4. Restart GCS. It is done!
Enjoy it!


Reference: Sync with Microsoft Outlook™ calendarNew!

Tuesday, February 12, 2008

Excel Tips: Shortcut key for strike-through formatting

We all know that: using shortcut 'Ctrl-B' to switch to Bold face, and 'Ctrl-I' to switch to Italic, in Microsoft Excel software. Wait: what about a 'strike-through' formatting?

The shortcut to do 'strike-through' in Excel is 'Ctrl-5'!


(See: "10+ keyboard shortcuts to speed formatting in Excel worksheets")

For Word users, this 'Ctrl-5' is not tied to strike through function. We need to manually tie a shortcut to it.

(See: "WordTips: Strikethrough Shortcut Key")