Monday, December 19, 2011

Multiple Admin feature for Google+ will be released soon!

I stumbled upon this unlisted video which makes me believe that multiple admin feature for Google+ will be released shortly. I tried it on Asha for Education page but it I could not find settings menu

 

image

Included in this release will be notifications, and the unification of +1 and follower counts!

Remove/Uninstall mysql in Ubuntu

using apt
apt-get –purge remove mysql-server
apt-get –purge remove mysql-client
apt-get –purge remove mysql-common

apt-get autoremove
apt-get autoclean

using aptitude (some people claim aptitude does a better job of removing dependencies)
aptitude remove mysql-client
aptitude remove mysql-server
aptitude remove mysql-common

see if anything depends on the installed packages
apt-cache rdepends mysql-server
apt-cache rdepends mysql-client

delete preferences(the next find command will delete everything)
rm -rf /etc/mysql

find all files with “mysql” on / and delete them
find / -iname ‘mysql*’ -exec rm -rf {} \;

Thursday, December 08, 2011

iPad app world

http://appadvice.com/appnn
There are many sites that review iPad apps. For example: macrumors.com, appleinsider.com, tipb.com, tuaw.com
Zite and Flipboard for curated news and Zinio for my National Geographic subscription.
games - free Angry Birds and Cut the Rope variations
Talkatone to make and receive free calls over wifi using Google Voice.
usual ones - Skype, Netflix, Facebook, Dropbox, Box.net, Google, Bing, Koi Pond Lite, Pandora, TV Guide
For free TV shows/Movies - ABC, NBC, Crackle

Friday, December 02, 2011

Ruby in Ubuntu 11.10

I keep getting the following alerts for every ruby command on UBuntu 11.10. Any clue how to fix it?

Invalid gemspec in [/var/lib/gems/1.8/specifications/json_pure-1.6.1.gemspec]: invalid date format in specification: "2011-09-18 00:00:00.000000000Z"
Invalid gemspec in [/var/lib/gems/1.8/specifications/terminal-table-1.4.4.gemspec]: invalid date format in specification: "2011-11-07 00:00:00.000000000Z"
Invalid gemspec in [/var/lib/gems/1.8/specifications/spruz-0.2.13.gemspec]: invalid date format in specification: "2011-08-17 00:00:00.000000000Z"
Invalid gemspec in [/var/lib/gems/1.8/specifications/json_pure-1.5.4.gemspec]: invalid date format in specification: "2011-08-31 00:00:00.000000000Z"

Saturday, November 26, 2011

Maven Dependency (MVN) for Oracle 11g

mvn install:install-file -Dfile=/u01/app/oracle/product/11.2.0/xe/jdbc/lib/ojdbc6.jar -Dpackaging=jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0

<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0</version>
</dependency>

Wednesday, November 16, 2011

Ant Error: Error starting modern compiler

I setup an eclipse project in myeclipse for spring and I received the following error when trying to build the spring core project using Ant build:

Buildfile: C:\Projects\ProjectName\projectSpringCore\build.xml

compile:

    [mkdir] Created dir: C:\Projects\ProjectName\projectSpringCore\build

     [copy] Copying 20 files to C:\Projects\ProjectName\projectSpringCore\build

    [javac] Compiling 17 source files to C:\Projects\ProjectName\projectSpringCore\build

BUILD FAILED

C:\Projects\ProjectName\projectSpringCore\build.xml:25: Error starting modern compiler

Total time: 285 milliseconds

After some searching

http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&t=17956

This can arise for different reasons – though generally these reasons are all related – the version of Java being used by the Ant compiler in IDE does not match that already and referred to in JAVA_HOME.

image

To solve this in Eclipse, Go to Run > External Tools > External Tools Configurations > JRE

Select Separate JRE and match that with the one selected as JAVA_HOME.

image

You can verify the selected Java is the same using the Installed JREs tab

image

Monday, November 14, 2011

Using message.properties instead of message_en.properties

If you get the following error on using getMessages method:-
.getMessage("check.name", null, locale); 

org.springframework.context.NoSuchMessageException: No message found under code 'check.name' for locale 'en_US'.
org.springframework.context.support.AbstractMessageSource.getMessage(AbstractMessageSource.java:135)
    com.tauck.spring.HomeController.home(HomeController.java:41)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:592)

    
   
You need to change the following line in servlet-contxt.xml file

<beans:bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">    
        <beans:property name="basename" value="classpath:com.mycompany.util.messages" />    
</beans:bean>  


to



<beans:bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">    
        <beans:property name="basename" value="com/mycompany/util/messages" />  
</beans:bean>  

Thursday, October 20, 2011

Great job Adobe!

image

Saturday, October 08, 2011

Weblogic installation problems

I have found that installation of Weblogic does not work well if you change the default installation directory. When I changed installation directory to D:/Program Files/Middleware/ I received the following exceptions on deploying a Spring app. It worked well after changing directory to D:/Middleware

java.net.URISyntaxException: Illegal character in opaque part at index 14: zip:D:/Program Files/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/EclipseLinkSpringTest/4ov5mg/war/WEB-INF/lib/spring-core-3.0.2.RELEASE.jar!/org/springframework/core/SpringVersion.class
    at java.net.URI$Parser.fail(URI.java:2809)
    at java.net.URI$Parser.checkChars(URI.java:2982)
    at java.net.URI$Parser.parse(URI.java:3019)
    at java.net.URI.<init>(URI.java:578)
    at java.net.URL.toURI(URL.java:918)
    at com.bea.wls.redef.io.ClassChangeNotifier.toURI(ClassChangeNotifier.java:251)
    at com.bea.wls.redef.io.ClassChangeNotifier.isRelative(ClassChangeNotifier.java:211)
    at com.bea.wls.redef.io.ClassChangeNotifier.updateCache(ClassChangeNotifier.java:80)
    at com.bea.wls.redef.RedefiningClassLoader.findClass(RedefiningClassLoader.java:115)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at weblogic.spring.monitoring.instrumentation.SpringInstrumentationUtils.addSpringInstrumentor(SpringInstrumentationUtils.java:52)
    at weblogic.servlet.internal.WebAppServletContext.initClassLoader(WebAppServletContext.java:3038)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:447)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:493)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
    at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:972)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:382)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

Monday, September 26, 2011

Mozilla update issue

Last month I discussed Thunderbird and Firefox update issues. After trying various different methods including Changing ownership and giving full permissions to the folders and sub-folders.

The only way I solved this annoying issue is by installing the latest version of Mozilla products from their website:

Sunday, September 18, 2011

Thunderbird Update issue

After I had the Firefox update issue last month, I have the same issue with Thunderbird now!

image

The Thunderbird version installed is

image

After working with Robert on Mozilla bugs it seems this might be an issue if Mozilla products are installed in some location other than <Program Files> folder in Windows 7. I have installed Mozilla products in other folders <not Program Files>

A point to note is even after changing permissions on the folder and running these products as Administrator I am unable to update.

Conclusion: Do not alter the default installation path of Mozilla products!

Wednesday, September 07, 2011

Groupon….just a bit too helpful

10 question, 11 answers!!

image

Friday, September 02, 2011

Test @Transactional annotation using log4j

 

The easiest way to test @Transactional annotations is using a logger. For example I have used log4j in this example.

In log4j.properties I turned up the logging of springframework to DEBUG level which is very verbose.

log4j.logger.org.springframework=DEBUG



The method is annotated to be @Transactional with no write back to the database and hence readOnly=true.



@Transactional(propagation= Propagation.REQUIRED, noRollbackForClassName="Exception.class", readOnly=true)
void method(){
}



And here are the magic logs which help me determine if the @Transactional annotation is working. I have used JUnit, EclipseLink JPA, Log4J and Netbeans for testing:-



2011-09-02 10:17:46 [main] DEBUG org.springframework.transaction.annotation.AnnotationTransactionAttributeSource     - Adding transactional method 'method' with attribute: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly; ''
2011-09-02 10:17:46 [main] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory     - Returning cached instance of singleton bean 'transactionManager'
2011-09-02 10:17:46 [main] DEBUG org.springframework.orm.jpa.JpaTransactionManager     - Creating new transaction with name [com.company.method]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly; ''
2011-09-02 10:17:46 [main] DEBUG org.springframework.orm.jpa.JpaTransactionManager     - Opened new EntityManager [org.eclipse.persistence.internal.jpa.EntityManagerImpl@43ad4a] for JPA transaction
2011-09-02 10:17:46 [main] DEBUG org.springframework.orm.jpa.JpaTransactionManager     - Initiating transaction commit
2011-09-02 10:17:46 [main] DEBUG org.springframework.orm.jpa.JpaTransactionManager     - Committing JPA transaction on EntityManager [org.eclipse.persistence.internal.jpa.EntityManagerImpl@43ad4a]
2011-09-02 10:17:46 [main] DEBUG org.springframework.orm.jpa.JpaTransactionManager     - Closing JPA EntityManager [org.eclipse.persistence.internal.jpa.EntityManagerImpl@43ad4a] after transaction
2011-09-02 10:17:46 [main] DEBUG org.springframework.orm.jpa.EntityManagerFactoryUtils     - Closing JPA EntityManager


Try it and enjoy the beauty of Spring :-)

Tuesday, August 30, 2011

Firefox update issue

 

I am testing Firefox 7 beta and unable to get rid of this annoying error message

The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again.

Untitled

Update: Tried this: http://kb.mozillazine.org/Software_update#Software_Update_Failed._The_update_could_not_be_installed but did not help Sad smile

image

Interesting Chrome Extensions

RemindMe
Smooth Gestures
Chromey Calculator
IE tab
Forecastfox

Saturday, August 13, 2011

Save some money by buying the Comcast modem

 

I recently switched to Comcast and realized they charge $7/month for cable modem. I would suggest buying the Motorola SB6120 SURFboard Broadband Cable Modem from eBay or Amazon  which is DOCSIS 3.0 for about $80. You may be able to get for $60 through deals.

With calculations, this means you will own the modem within a year. At present, this is the best cable modem I could find according to the Amazon reviews You may be able to find cheap options but make sure you check the list of approved Comcast Cable Modems.

The Motorola SB6120 cable modem needs a wireless router for WiFi access. So you will also need your own Wireless Router.

Wednesday, August 03, 2011

What the heck does this mean Twitter??

Twitter

Hi, ejvyas

Twitter believes that your account may have been compromised by a website or service not associated with Twitter. We've reset your password to prevent others from accessing your account.
You'll need to create a new password for your Twitter account. You can select a new password at this link:
https://YouWontFindTheLink!!

As always, you can also request a new password from our password-resend page: http://twitter.com/account/resend_password

Please don't reuse your old password and be sure to choose a strong password (such as one with a combination of letters, numbers, and symbols).
Once you log in, be sure to:
  • Review your approved connections on your Connections page at http://twitter.com/account/connections. If you see any applications that you don't recognize, click the Revoke Access button.
  • Avoid using websites or services that promise to get you lots of followers. These sites have been known to send spam updates and damage user accounts.
As a reminder, when logging in always check that your browser's address bar is on a http://twitter.com website before entering your password.
You can also visit our help page for hacked or compromised accounts.
The Twitter Team
Please do not reply to this message; it was sent from an unmonitored email address. This message is a service email related to your use of Twitter. For general inquiries or to request support with your Twitter account, please visit us at Twitter Support.

Saturday, July 23, 2011

Cascading select (drop-down) boxes in Grails

${remoteFunction(controller:'processParamAssign',action:'workCenterList',update:'workCenterCode',params:params)};
${remoteFunction(controller:'processParamAssign',action:'mfgAreaList',update:'mfgAreaLocDiv',params:params)};
${remoteFunction(controller:'processParamAssign',action:'operList',update:'operDiv',params:params)};


   def workCenterList={
        groovy.sql.Sql sql = new groovy.sql.Sql(dataSource)

        def tableNames = []
        sql.eachRow("select distinct(work_center_code) from wc_mfg_area_oper where work_center_code is not null union select 'ALL' from dual order by 1",{ row ->
                //println "Found " << row.work_center_code
                tableNames << row.work_center_code
            });
        if(!params.workCenterCode){
            render g.select(from:tableNames, name:"workCenterCode", onChange:"${remoteFunction(controller:'processParamAssign',action:'mfgAreaList',update:'mfgAreaLocDiv', params:'\'workCenterCode=\' + this.value')};${remoteFunction(controller:'processParamAssign',action:'operList',update:'operDiv', params:'\'mfgAreaLoc=\' + mfgAreaLoc.value')};")
        }else{
            render g.select(from:tableNames, name:"workCenterCode", value:params.workCenterCode , onChange:"${remoteFunction(controller:'processParamAssign',action:'mfgAreaList',update:'mfgAreaLocDiv', params:'\'workCenterCode=\' + this.value')};")
        }
    }

    def mfgAreaList={
        groovy.sql.Sql sql = new groovy.sql.Sql(dataSource)
        def tableNames = []
        String mfg = "";
        //println params
        if((params.workCenterCode=="ALL")||(!params.workCenterCode)){
            mfg="select distinct(mfg_area_loc) from wc_mfg_area_oper where mfg_area_loc is not null union select 'ALL' from dual order by 1";
        }else{
            mfg="select distinct(mfg_area_loc) from wc_mfg_area_oper where work_center_code = '${params.workCenterCode}' and mfg_area_loc is not null union select 'ALL' from dual order by 1";
        }
        //println mfg
        sql.eachRow(mfg,{ row ->tableNames << row.mfg_area_loc
            });
        if(!params.mfgAreaLoc){
            render g.select(from:tableNames, name:"mfgAreaLoc", onChange:"${remoteFunction(controller:'processParamAssign',action:'operList',update:'operDiv', params:'\'mfgAreaLoc=\' + this.value')};")
        }else{
            render g.select(from:tableNames, name:"mfgAreaLoc", value:params.mfgAreaLoc, onChange:"${remoteFunction(controller:'processParamAssign',action:'operList',update:'operDiv', params:'\'mfgAreaLoc=\' + this.value')};")
        }
    }

    def operList={
        groovy.sql.Sql sql = new groovy.sql.Sql(dataSource)
        def tableNames = []
        String oper = "";
        if(params.mfgAreaLoc=="ALL"){
            tableNames = tableNames+"ALL";
            oper="select distinct(oper) from wc_mfg_area_oper where oper is not null order by 1";
        }else{
            oper="select distinct(oper) from wc_mfg_area_oper where mfg_area_loc = '${params.mfgAreaLoc}' and mfg_area_loc is not null union select 'ALL' from dual order by 1";
        }
        sql.eachRow(oper,{ row ->
                //println "Found " << row.oper
                tableNames << row.oper
            });
        if(!params.oper){
            render g.select(from:tableNames, name:"oper")
        }else{
            render g.select(from:tableNames, name:"oper", value:params.oper)
        }
    }

DNS Benchmark

Domain Name Speed Benchmark
Are your DNS nameservers impeding your Internet experience?
divider
A unique, comprehensive, accurate & free Windows (and Linux/Wine) utility to determine the exact performance of local and remote DNS nameservers . . .
“You can't optimize it until you can measure it”
Now you CAN measure it!
DNSBench

Monday, July 18, 2011

Thursday, July 07, 2011

Navigon 5100 chargers

I have cherished my Navigon 5100 GPS and the perfect directions. It still shows me the correct way Smile But the pins original charger can easily stop working due to perpendicular angle or just by normal wear and tear. It is very difficult to get a charger that works!

The only Navigon after market charger that works is the one below :

 

Description

  • This sleek design ensures that the charger fits neatly and safely in your car cigarette lighter.
  • High quality craftsmanship design give this charger durability and longevity
  • Your device will not go in to PC or Sleep mode while being charge
  • Conveniently charges your devices this car charger
  • Comes with Intelligent Chip
  • IC Chip recognizes a full battery & automatically switches to saver mode
  • Prevents overcharging and overheating

Notice the red highlighted line. You can buy these chargers from kb_accessories: http://stores.ebay.com/kb-accessories-store?_trksid=p4340.l2563 or sm_wireless_store: http://stores.ebay.com/smwirelessaccessories


The following chargers failed the test. After connection all GPS switched to data mode and you cannot use GPS while charging

 

Product Details

USB chargers will also not work as it will put the GPS in data mode making it not usable while charging. I am guessing this is because they have interchanged the pins in the charger.

Wednesday, June 15, 2011

Use Sequence to generate Primary key in TopLink/EclipseLink (JPA)

 

TopLink/EclipseLink have an easy way of using database sequence to generate primary key of a table. Here is a snapshot of the JPA Entity class generated from existing database table by Netbeans

    @Id
    @Basic(optional = false)
    @Column(name = "ID", nullable = false, precision = 22)
    @SequenceGenerator(sequenceName="SEQUENCENAME_SEQ",name="OTHER_NAME")
    @GeneratedValue(generator="OTHER_NAME",strategy=GenerationType.SEQUENCE)
    private int id;



    
   
The lines in red indicate the code added manually after the JPA Entity class was created by Netbeans. The SEQUENCENAME_SEQ represents the name of the sequence object in the database. The OTHER_NAME is just an alias and this can be referred to by the GeneratedValue annotation. GeneratedValue tells the code to use database sequence as primary key. You may also add INCREMENT BY using allocationSize attribute to SequenceGenerator annotation.



For more advanced strategies check out :http://wiki.eclipse.org/EclipseLink/Examples/JPA/PrimaryKey

Total Lunar Eclipse experience!

I always thought lunar eclipse was dark with the shadow of earth cast on moon but this one appears white in color

image

 

image

Thursday, June 02, 2011

Is Groupon down?

I am unable to get to the login page!

image

Wednesday, June 01, 2011

AT&T Website Error message

Amazing AT&T error message after the recent upgrade!

image

Sunday, May 22, 2011

Convert VMWare image to VirtualBox

For all the good things about VirtualBox listed here, I switched from VMWare to VirtualBox. The easy explanation for that is
  1. VirtualBox is fast
  2. It has snapshot capability
  3. Good compatibility
As provided in this documentation, I used the following process:-

1
2
3
4
5


"D:\Program Files\VMware\OVFTool\ovftool.exe" "D:\Libraries\Documents\Virtual Machines\Ubuntu 64-bit Server 10.04.2 - Copy\Ubuntu 64-bit Server 10.04.2.vmx" "D:\VirtualBox\Ubuntu 64-bit Server 10.04.2.ovf"

"D:\\Program Files\\VMware\\VMware OVF Tool"\\ovftool.exe "Clone of Oracle Enterprise Linux.vmx"

Sunday, May 08, 2011

Remove Bloated Windows and install legal Windows 7

Many manufacturers like HP are now partitioning hard disk drive and copying Windows installation on an extra partition instead of providing Windows DVDs. Also these Windows DVDs are stuffed with bloatware and unwanted manufacturer utilities like updates, drivers, browser tool bars, Advisor, accelerators and trial version of various anti-spam, firewall and anti-virus software. 

  1. Backup all your existing data in separate hard drive 
  2. Make sure you have the original product key of Windows. It is usually marked below the laptop in a sticker.
  3. Download the appropriate version that you want (x86 or x64) 

    These links are clean and as close as you can get to a direct download from microsoft - digital river is a microsoft distributor
    _______________________________________________

    Windows 7 x86 English

    Mirror 1: http://msft-dnl.digitalrivercontent..../X15-65732.iso

    Mirror 2: http://msft-dnl.digitalrivercontent..../X15-65804.iso
    _______________________________________________

    Windows 7 x64 English

    Mirror 1: http://msft-dnl.digitalrivercontent..../X15-65733.iso

    Mirror 2: http://msft-dnl.digitalrivercontent..../X15-65805.iso
    _______________________________________________

    Note: If you need a language other than English, download the correct version above, and then use the language packs in this link to install your language after you install Windows 7:
    Download Windows 7 MUI Language Packs (Official 32-bit and 64-bit Direct Download Links) My Digital Life


  4. After you finish downloading the ISO, download this and extract it:http://code.kliu.org/misc/win7utils/...al_utility.zip - This program automatically removes the ei.cfg file, allowing you to install any version (Home Premium, Ultimate, etc.) provided you have the right key

    Run this program (as administrator) on the iso that you downloaded, and you should have a proper iso


  5. Finally, burn the ISO, boot it, and install (you can also put it onto a usb flash drive/hard drive using the microsoft tool to save a disc: http://wudt.codeplex.com/ )

    The disc created with both methods will act just like a retail Windows 7 disc (can install any version (Ultimate, Pro, Home Premium etc.) but is limited to whichever bit-type (x86 or x64) you download)
  6. Install VMPlayer or Oracle VirtualBox and make sure this version of Windows and the product key works well. If it works that means you can format existing laptop and install Windows without bloatware.

Thursday, April 21, 2011

Where my friends be?

See and share an animated map of all your facebook friends!


because your sprawling global network of friends makes you more worldly, right?

Im looking at a dynamic map of where my friends are located around the world! #wheremyfriendsbe http://t.co/VhmNxw4

Saturday, April 09, 2011

Fix Ubuntu flash player and watch full screen videos

- Right click on any flash video, go to settings, and uncheck the box that says enable hardware acceleration
- Then open a terminal and type

  • sudo mkdir /etc/adobe
  • sudo su
  • sudo echo \"OverrideGPUValidation = 1\" >> /etc/adobe/mms.cfg

- Re-enable hardware acceleration, close Firefox/Chrome
- Restart browser

Friday, April 01, 2011

Google Birthday Doodle

Google Birthday Doodle made my day!

Sunday, March 27, 2011

Belkin website error

Error 500 - Internal Server Error

A fatal error occurred during the execution of your request.

Detailed error information:
Exception caught in Processing HTTP request within ServletRequestBroker.

=====================================================
--> #define IWException
Attribute -- Type mismatch: type=String expected to be WebSite
--> GENERIC_CATCH_ALL

=====================================================
--> S:\src\IWSystem\Attribute.cpp:306:
--> S:\src\IWProcessServer\ARB_Servlet\ServletRequestBroker.cpp:351:

=====================================================
Stack dump disabled
-----------------------------------------------------

+++++++++++++++++++++++++++++++++++++++++++++++++++++

Friday, March 25, 2011

Youtube file upload limit

Not sure how or why I have more than 15 minutes enabled in my Youtube account!!

image

Saturday, March 05, 2011

Bookmarks

 

WMV online video converter
http://video.online-convert.com/convert-to-wmv

Sunday, February 20, 2011

Installing Weblogic Server 12c

image

Points to remember:-

  1. Make sure you dont change default directory from C:\Middleware
  2. Make sure that there is no space in the installation directory 
  3. Java is on the classpath

Tuesday, February 15, 2011

Error on Boston.com website


Warning: mysql_connect() [function.mysql-connect]: Too many connections in /web/newsprojects/html/newsprojects/scoreboard/connect.php on line 3

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in/web/newsprojects/html/newsprojects/scoreboard/connect.php on line 4

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /web/newsprojects/html/newsprojects/scoreboard/connect.php on line 4

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in/web/newsprojects/html/newsprojects/scoreboard/scorebelt.php on line 134

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /web/newsprojects/html/newsprojects/scoreboard/scorebelt.php on line 134
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Saturday, February 12, 2011

MSI installation with no user interaction

msiexec has a lot of options that can be configured according to how you want to install MSI. The following command shows a progress bar with no user interaction and prints a log.

msiexec /I "product_name.msi" /qb /Lv* "C:\install.log" INSTALLLEVEL=200 ALLUSERS=1

 

Here is a complete guide:-

msiexec /Option <Required Parameter> [Optional Parameter]

Install Options
    </package | /i> <Product.msi>
        Installs or configures a product
    /a <Product.msi>
        Administrative install - Installs a product on the network
    /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
        Advertises a product - m to all users, u to current user
    </uninstall | /x> <Product.msi | ProductCode>
        Uninstalls the product
Display Options
    /quiet
        Quiet mode, no user interaction
    /passive
        Unattended mode - progress bar only
    /q[n|b|r|f]
        Sets user interface level
        n - No UI
        b - Basic UI
        r - Reduced UI
        f - Full UI (default)
    /help
        Help information
Restart Options
    /norestart
        Do not restart after the installation is complete
    /promptrestart
        Prompts the user for restart if necessary
    /forcerestart
        Always restart the computer after installation
Logging Options
    /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile>
        i - Status messages
        w - Nonfatal warnings
        e - All error messages
        a - Start up of actions
        r - Action-specific records
        u - User requests
        c - Initial UI parameters
        m - Out-of-memory or fatal exit information
        o - Out-of-disk-space messages
        p - Terminal properties
        v - Verbose output
        x - Extra debugging information
        + - Append to existing log file
        ! - Flush each line to the log
        * - Log all information, except for v and x options
    /log <LogFile>
        Equivalent of /l* <LogFile>
Update Options
    /update <Update1.msp>[;Update2.msp]
        Applies update(s)
    /uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode>
        Remove update(s) for a product
Repair Options
    /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
        Repairs a product
        p - only if file is missing
        o - if file is missing or an older version is installed (default)
        e - if file is missing or an equal or older version is installed
        d - if file is missing or a different version is installed
        c - if file is missing or checksum does not match the calculated value
        a - forces all files to be reinstalled
        u - all required user-specific registry entries (default)
        m - all required computer-specific registry entries (default)
        s - all existing shortcuts (default)
        v - runs from source and recaches local package
Setting Public Properties
    [PROPERTY=PropertyValue]

Consult the Windows ® Installer SDK for additional documentation on the
command line syntax.

Friday, February 11, 2011

IBM Watson specs

IBM Watson is comprised of ninety IBM POWER 750 servers, 16 Terabytes of memory, and 4 Terabytes of clustered storage. This is enclosed in ten racks including the servers, networking, shared disk system, and cluster controllers. These ninety POWER 750 servers have four POWER7 processors, each with eight cores. IBM Watson has a total of 2880 POWER7 cores.

Wednesday, February 02, 2011

Windows Defender works!

After using Windows Defender for the past 3 yrs this was the first time I found an alert and the best part was it was successfully cleaned up!

1 2

Friday, January 21, 2011

Ubuntu - Enter Password To Unlock Your Login Keyring

To remove the nagging screen on startup which says "Enter Password To Unlock Your Login Keyring"


sudo rm ~/.gnome2/keyrings/login.keyring 

Sunday, January 16, 2011

Location of Ubuntu Grub boot loader

Grub (Legacy system)
/boot/grub/menu.lst

Grub2 (New system)
/etc/default/grub
sudo update-grub    [updates /boot/grub/grub.cfg which is not meant to be edited manually]

Start Ubuntu GUI from command prompt

The command to start Ubuntu GUI after booting to command prompt is startx

Saturday, January 15, 2011

Fix for Dell Laptop brightness issue with Ubuntu 10.10

Dell laptops seem to have brightness issues with Ubuntu. The controls don't seem to work - although the applet works there is no difference in the screen brightness. To make it worse it is set to maximum brightness and is a drain on your battery power. 


There are many posts on this issue but the only fix that seems to work is kamals brightness fix which has been tested for 10.10 and Dell laptops as well. 



This patch requires an Intel graphics processor (i915-based). Verify that your system uses the i915 driver:
$ lsmod | grep ^i915
i915 331519 3 <--- an "i915" line should appear



System->Administration->Update Manager->Settings
Enter password
Other Software->Add
ppa:kamalmostafa/linux-kamal-mjgbacklight


Add Sources
Check to see that the new software sources are enabled
Close
Check (for updates)
Install Updates
Restart!
:-)