• My MBP is 10.7.5. Unfortunately, the internal keyboard was spoiled by my baby.
    So here is how to disable it and use an external apple keyboard.

    Open terminal and type the following:
    sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/

    To enable it again:
    sudo kextunload /System/Library/Extensions/AppleUSBTopCase.kext/Contents/PlugIns/AppleUSBTCKeyboard.kext/

    It works like a charm!~ Googled from this link: http://forums.macrumors.com/showthread.php?t=433407

  • #####Hard link vs. Soft link in Linux or UNIX

    #####Hard links cannot link directories.
    Cannot cross file system boundaries.
    Soft or symbolic links are just like hard links. It allows to associate multiple filenames with a single file. However, symbolic links allows:

    To create links between directories.
    Can cross file system boundaries.

    #####These links behave differently when the source of the link is moved or removed.

    Symbolic links are not updated.
    Hard links always refer to the source, even if moved or removed.

    #####Link directory
    ln -s /mnt/usr/lib/* /usr/lib/
    cp -rs /mnt/usr/lib /usr/

  • – open file at a fix line number
    vim +123 test.txt
    vim test.txt +123

  • Oracle HTTP Server does not require an Oracle WebLogic domain. However,

    Oracle HTTP Server is typically used in conjunction with an Oracle WebLogic Domain.

    mod_wl_ohs links Oracle Http Server and Oracle Weblogic Server.

    In cluster, managed servers are configured together as a comma-separated list.

    in mod_wl_ohs.conf file,

    < Location /cs >
    WebLogicCluster :16200,:16200
    SetHandler weblogic-handler
    WLCookieName JSESSIONID
    < /Location >

    When the WebLogic managed server receives the request, the request is load balanced across all the cluster members.

  • There is an interesting article about CPF:

    FACT #1: Your CPF interest rate used to be higher at 6.5%.
    FACT #2: You will earn higher retirement funds in the 10 years between 1976 and 1985 than now.
    FACT #3: You are paying up to a 12.5% tax on your CPF.
    FACT #4: We can only use 15.5% of our CPF funds for retirement.
    FACT #5: If we get the full returns back on our CPF, we would be able to retire with 50% of our CPF.
    FACT #6: Singaporeans earn the lowest interest rates on our CPF as compared to the other countries.
    FACT #7: Singaporeans earn the lowest CPF returns because we start off on a lower base – we earn the lowest wages.
    FACT #8: Our CPF of $230 billion has helped to earn $1 trillion.

    http://thehearttruths.com/2013/11/07/top-8-shocking-facts-about-the-singapore-cpf/

  • who is providing this service?

  • ####Requirement:

    – 4 years degree
    – 36 months professional project management experience – 4500 hours of leading and directing the project
    – 35 contacts hours of formal education

    ####Fee and payment:
    – computer-based testing $405 US dollar ( for member ); $555 for non-member
    – member fee: $129
    – re-examination: $275 ( for member within one year), paper based $150
    – CCR credential renewal: $60 ( for member )

    #### PMI audit process
    – Randomly selection for audit

    #### Exam policies & procedures
    – 175/200 correctness
    – 4 hours

    #### Training Course
    – PMI request 36 hours of project management eduction. [Course provided by ISS NUS](http://www.iss.nus.edu.sg/ProfessionalCourses/SearchCourse/CourseDetail/tabid/267/cid/19/cname/nicf-pmp-for-project-managers/Default.aspx)

  • There is a very good book site to pick up the basic of shell scripting:
    http://linux-training.be/files/books/html/fun/pt06.html

  • ###before body
    Google used to recommend putting it just before the end of body tag, but there is some loading problem of the js.

    ###before head
    Current recommendation is just before the tag.
    < head> will add a little latency; in the footer will reduce the number of pageviews recorded at some small margin.
    As a matter of personal preference, I like to include it in the

    < head>, but its really a matter of preference.

  • #####download oracle web tier – ofm_webtier_linux_11.1.1.7.0_64_disk1_1of1.zip
    check port availability
    netstat -an | grep “8888”
    run installer – ./runInstaller
    connect with existing domain
    domain Host Name: host ip 1
    domain Port No: 7001
    user Name: weblogic
    password: welcome1
    next and finish

    ##### create another instance for different domain
    run #Oracle_WT1/bin/config.sh
    connect with existing domain
    domain Host Name: host ip2
    domain Port No: 7001
    user Name: weblogic
    password: welcome1
    next and finish