Friday, May 29, 2009

oracle sid length

The maximum length of ORACLE_SID is 8 characters.

І can confirm only with Oracle 9i.

Sunday, February 22, 2009

TrueNetTalk and Fring

TrueNetTalk is a VoIP service in Thailand. To subscribe TrueNetTalk with Fring, follow this step:

  • Assume that your username is 1256352355 and your password is 6258415
  • Open Fring
  • Go to the list of supported Protocol
  • Go to SIP
  • Go to Other
  • Enter the username (without any ip address!!!)
  • Enter the password
  • At the Proxy box, enter: 61.90.255.132

Monday, February 16, 2009

Fring and Skype Login Issue

Sometimes when you unsubscribe your Skype account from Fring, you might have trouble re-logging in to Skype later. The error message is:

Could not login to Skype. Please re-enter your user id and password.

Though you are so sure that you enter the correct username and password.

To solve this, it is so easy! You just have to try logging in for approximately 100 attempts and it will work!

Hope that help...

Thursday, February 5, 2009

How to change Windows password

Issue this command in cmd:

net user :your_username: * /domain

:your_username: is your username.

Wednesday, February 4, 2009

Thailand will block hi5.com because of the green

Recently, a ministry of culture agent found a Hi5 of a guy who posted some photos of himself smoking weed. The ministry said that this was unacceptable and would work on the lawsuit to block hi5.com.

Saturday, January 24, 2009

Quit smoking

It can be more difficult when you want to quit while your friends are still smoking.
You can be rich if you use only 10% of your salary.

Wednesday, January 21, 2009

Determining w3wp process and IIS AppPoolId

When hosting several virtual hosts in IIS, if you go to the Windows Task Manager > Processes, you will notice that the IIS worker process all share the same name as w3wp.exe. To see which w3wp is of which virtual host, one way is:

  • In the task manager, select to show PID column.
  • In cmd, execute C:\WINDOWS\system32\iisapp.vbs

Wednesday, November 5, 2008

Shared object "libperl.so" not found, required by "plperl.so" in FreeBSD

If you get this error when you execute:

$ createlang plperlu some-database

-- [start: full error message] --
createlang: language installation failed: ERROR: could not load library
"/usr/local/lib/postgresql/plperl.so": dlopen
'/usr/local/lib/postgresql/plperl.so' failed. (Shared object "libperl.so"
not found, required by "plperl.so")
-- [end: full error message] --

You can simply execute:
# ln -s /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so /usr/lib/libperl.so

Saturday, October 25, 2008

Bluetooth Headset with Web Browsers and etc in MacOSX

It is weird that MacOSX does not have a good support for Bluetooth. I
have just bougth Sony Wireless Stereo Headset (Bluetooth) DR-BT22 from a
Sony Style store. My operating system version is MacOSX 10.5.5. By
default, this headset works well with Skype, X-Lite (an VoIP phone
software), iTunes (both local mp3 files and online radio), Quicktime, and
other standalone applications. However, I cannot listen to any online
music through any web browser (I tried Safari, Opera and Firefox). What
happened is that all the online music stopped working at all.

The problem is that I can't listen to any online music through any web
browser with my Bluetooth headset.

Luckily, I found this article:

http://macosx.com/forums/hardware-peripherals/296416-problems-using-bluetooth-headset-mac-audio.html

Here is the essential part of the article:
--------------------------------------------------------------------
First, 2 files needed,

a. a2dpcastAudioDevice.tgz:
http://www.coolatoola.com/a2dpcastAudioDevice.tgz

b. the updated a2dpcast: http://www.coolatoola.com/a2dpcast-0.3.zip

Then run terminal from Application/Utilities/terminal and install the
kernel extension for the audio device (replace DOWNLOAD_DIR with the path
to where your browser downloads stuff to) - you need your admin password
to do sudo:

1. cd /
2. sudo tar xfzp DOWNLOAD_DIR/a2dpcastAudioDevice.tgz --same-owner
3. sudo kextload /System/Library/Extensions/AudioReflectorDriver.kext


Copy a2dpcast to /usr/local/bin (replace A2DPEXTRACTDIR with the path to
where your extracted the downloaded a2dpcast-0.3.zip) - you need your
admin password to do sudo:

1. sudo cp A2DPEXTRACTDIR/a2dpcast-0.3/a2dpcast /usr/local/bin

Run a2dpcast with your Bluetooth address

1. /usr/local/bin/a2dpcast aa-bb-cc-dd-ee-ff 27

Keep a2dpcast running, leave the terminal open, then run whatever program
that you want, the sound will be streamed automatically to your headset.
Again, do not close the terminal until you have enough enjoying your
bluetooth headset
--------------------------------------------------------------------

To get your mac address of your Bluetooth Headset, you can go to:

Finder > Applications > Utilities > System Profiler > Bluetooth

There you find your headset model and the mac address of your headset is
there.

Hope that help!