Wednesday, July 23, 2008

Remove .DS_Store .Trash and ._* system file from non HFS volume

Will try the following command

find . -name .DS_Store -o -name .Trashes -o -name ._* -exec rm -rf {} \; -prune


Mac OS X: How to prevent .DS_Store file creation over network connections

This how to article describe prevent create of DS store files on network shares

I tried this method on 10.5 and seems to work

Summary

This article contains advanced material intended only for those who are looking for information on .DS_Store files. If you do not already have an opinion on this matter, you can disregard this article.

Products Affected

Mac OS X Server 10.4, Mac OS X 10.4

To configure a Mac OS X user account so that .DS_Store files are not created when interacting with a remote file server using the Finder, follow the steps below.
Note: This will affect the user's interactions with SMB/CIFS, AFP, NFS, and WebDAV servers.

  1. Open the Terminal.
  2. Type:
    defaults write com.apple.desktopservices DSDontWriteNetworkStores true
  3. Press Return.
  4. Restart the computer.

If you want to prevent .DS_Store file creation for other users on the same computer, log in to each user account and perform the steps above—or distribute a copy of your newly modified com.apple.desktopservices.plist file to the ~/Library/Preferences folder of other target users.

These steps do not prevent the Finder from creating .DS_Store files on the local volume. These steps do not prevent previously existing .DS_Store files from being copied to the remote file server. Please note that disabling the creation of .DS_Store files on remote file servers can cause unexpected behavior in the Finder (click here for an example).

Mac OS X: How to prevent .DS_Store file creation over network connections

This how to article describe prevent create of DS store files on network shares

Summary

This article contains advanced material intended only for those who are looking for information on .DS_Store files. If you do not already have an opinion on this matter, you can disregard this article.

Products Affected

Mac OS X Server 10.4, Mac OS X 10.4

To configure a Mac OS X user account so that .DS_Store files are not created when interacting with a remote file server using the Finder, follow the steps below.
Note: This will affect the user's interactions with SMB/CIFS, AFP, NFS, and WebDAV servers.

  1. Open the Terminal.
  2. Type:
    defaults write com.apple.desktopservices DSDontWriteNetworkStores true
  3. Press Return.
  4. Restart the computer.

If you want to prevent .DS_Store file creation for other users on the same computer, log in to each user account and perform the steps above—or distribute a copy of your newly modified com.apple.desktopservices.plist file to the ~/Library/Preferences folder of other target users.

These steps do not prevent the Finder from creating .DS_Store files on the local volume. These steps do not prevent previously existing .DS_Store files from being copied to the remote file server. Please note that disabling the creation of .DS_Store files on remote file servers can cause unexpected behavior in the Finder (click here for an example).

Monday, July 21, 2008

Media Portal and Codecs

Been playing around with various PVR software for Windows,

Tried GB-PVR, it is not very user friendly, kind of difficult to setup channel lineup. And tried to setup client server type relationship on 2 computers and did not work out.

Sage TV sounded very promising until tried its setup for a DVB-S and DVB-T setting. Well I did not manage to get far, after a search of their support forum, I found to get DVB-S or DVB-T setup work, it is quite involved. I am actually have high hope for this one as it charge so much.

I had been using PVR software snapstream / Beyong TV for years. It is very good, the only problem is it does not support DVB cards. That is why the need to try all these different PVR software.

I think I will settle for Media Portal for now, it is flexible, it got promising feature (does not all work). It got a lot of interest and support. And it is free. It works for me except analog video; and is not the most stable.

I think some of my problem with media portal can be solved by finding out a perfect set of codec to use. Will need to investigate the setting and combination of all of codec pages below. Unfortunately, I did install one of those codec pack on my machine, so it is somewhat contaminated with codec. Nedd to figure of somehow clean it up short of install the whole system.

http://wiki.team-mediaportal.com/UserGuides/codecs_and_containers
http://wiki.team-mediaportal.com/Using_Codecs_Part_2
http://www.avsforum.com/avs-vb/showthread.php?t=719041
http://forum.team-mediaportal.com/general-development-no-feature-request-here-48/codec-guide-30191/
http://wiki.team-mediaportal.com/Postprocessing


Thursday, July 17, 2008

Error, "...Installer Database is Corrupt..." when you install Adobe Creative Suite CS3

Got an error when tried to reinstall adobe creative suit today, well, it is a little frustrating and hairy when this Error, "...Installer Database is Corrupt..." showed up when click on the install button on the installer DVD autorun popup.

Luckily this is a known issue and this is a support article from adobe solve the problem.

Essentially, you need to clean uninstall the adobe suit before you reinstall, and make sure you have removed these files:


Delete the Caps folder if you are unable to delete the Adobe Creative Suite 3 product or they are not listed.


    • On Windows:
      Program Files\Common Files\Adobe\caps\caps.db
      Program Files\Common Files\Adobe\backup\caps.db

    • On Mac OS:
      /Library/Application Support/Adobe/caps
      /Library/Application Support/Adobe/backup


Tuesday, July 15, 2008

XMLTV EPG Plug-in Information

There are most PVR support EPG but a good EPG source seem to be very hard to come by outside of US or Europe. XMLTV is a common xml based plug in for EPG by gathering data (some even do web scrape) and compile into a standard xml, here are source for XMLTV EPG found in my source for a perfect PVR software.

From this Wiki Page from gbpvr, good information on XMLTV source the part interest me most is the Oceania section.

for NZ there are Djkxml it sounds like it is using web scraping to get the data? for freeview there is a EPG stream along with the program so it is good or to use http://www.av1.co.nz/


Good Information Site about chinese Satellite TV

http://www.cintv.net/ got good information on chinese Satellite TV information
http://www.dvbs.org.cn/
http://www.asiatvro.com/

Thursday, July 10, 2008

Start/ Stop IIS Service locally and remotely use IISReset command

This is a quite useful command if you ever want to remotely deploy any new website,
here is the microsoft link

IISReset [computername] [option flags]

computername is not required for local.

flags include
/noforce do not force disconnect client
/stop stop iis
/start start iis
/reboot reboot the computer
/restart restart iis
/status display status
/enable
/disable

Sunday, July 6, 2008

Build Another PVR Server for TV recording, researching Winodws based PVR Software

Have been searching for an alternative PVR software, compare to BTV (Snapstream). I have used BTV for several years now since I first discovered PC based PVR solution. BTV is a good software, but it is too resource intensive, and requirement for its client software is quite high. I want to find something simpler and works better in older PC.

I have found this page on wikipedia, which is a great source of information. Comparing the specs and features, I think I will try to follwoing 2 solution.

GB-PVR, made in NZ??
Media Portal looks very comprehensive.

best of all unlike BTV, these 2 are freeware under GNU license. Nothing beats good FREE staff.

Friday, July 4, 2008

Apple Airport Extreme Firmware Update 7.3.2 - Simply Not Working

I recently tried to update the firmware of Apple Airport Extreme base station, since Airport utility tell me there is a update. So you will think the latest is always the best, you know fixing exisiting issues and bug. But not this instance, this update seens more like in its alpha stage. It broken existing functionality of APE. I had problem with wired ethernet LAN, APE simply can not see any other LAN device upstream. By this I mean, computers connected to a switch connected to Uplink port of APE and also ADSL router.

I spent hours try to figure out why it suddenly stop working while it worked perfectly fine before. Well you wont suspect the very latest "FIX" and "UPDATE" do you.

It turn out that there are lots of problem with update 7.3.2, you only need to visit the apple discussion forum to find tons of them. More specifically this post

I manage to revert back to previous version of firmware 7.3.1 which is working for me. (and lucky I can do the rollback as some ppl do not seem to have the option).

Conclusion, wait and see before launch head on to install the latest "FIX AND UPDATE"?

Wednesday, July 2, 2008

WCF Application Service Deployment Problem with IIS 404 Error

I have to deploy a WCF service application on IIS 6 at work. I get 404 error even though the service file .SVC file is obvious there. After searching the net a little, I found this article

It is possible the .NET Framework 3 is not installed properly. To make sure IIS's meta base is correctly configured for WCF and .svc extension, run following. It might save you hours.

"%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe" /r /y