Hot Posts:

Aug 07

Office 2007 Mime Types


Here is the list of Microsoft Office 2007 MIME Types
Sometimes we require MIME type information for Office 2007 documents with respect to some application. Following is the list of such extensions.

.docm,application/vnd.ms-word.document.macroEnabled.12
.docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotm,application/vnd.ms-word.template.macroEnabled.12
.dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template
.potm,application/vnd.ms-powerpoint.template.macroEnabled.12
.potx,application/vnd.openxmlformats-officedocument.presentationml.template
.ppam,application/vnd.ms-powerpoint.addin.macroEnabled.12
.ppsm,application/vnd.ms-powerpoint.slideshow.macroEnabled.12
.ppsx,application/vnd.openxmlformats-officedocument.presentationml.slideshow
.pptm,application/vnd.ms-powerpoint.presentation.macroEnabled.12
.pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation
.xlam,application/vnd.ms-excel.addin.macroEnabled.12
.xlsb,application/vnd.ms-excel.sheet.binary.macroEnabled.12
.xlsm,application/vnd.ms-excel.sheet.macroEnabled.12
.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xltm,application/vnd.ms-excel.template.macroEnabled.12
.xltx,application/vnd.openxmlformats-officedocument.spreadsheetml.template

Source: http://www.therightstuff.de/2006/12/16/Office+2007+File+Icons+For+Windows+SharePoint+Services+20+And+SharePoint+Portal+Server+2003.aspx

Aug 06

Can’t be handled as Microsoft document


… Can’t be handled as Microsoft document.
java.lang.ArrayIndexOutOfBoundsException …..

If you see this kind of exception while parsing the word document using Nutch then it indicates that document has problematic content & includes weired special characters which were not properly handled by the parser.

Jul 24

SOLR – Recommended Open Source Enterprise Search Server


SOLR – Recommended Open Source Enterprise Search Server:
I recently came across SOLR enterprise search server. It is based on the Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, and a web administration interface. It runs in a Java servlet container such as Tomcat.
List of Available Features: http://lucene.apache.org/solr/features.html
Tutorial: http://lucene.apache.org/solr/tutorial.html

Jul 22

QIK


QIK

Jul 17

Facebook iPhone App to replace Contacts List


Facebook iPhone App to replace Contacts List:
Facebook

Jul 14

What is OpenID?


What is OpenID?
Now days it’s hot thing. Here are few key points related to OpenID:

  • What is OpenID:
    OpenID eliminates the need for multiple usernames across different websites, simplifying your online experience. You get to choose the OpenID Provider that best meets your needs and most importantly that you trust. At the same time, your OpenID can stay with you, no matter which Provider you move to. And best of all, the OpenID technology is not proprietary and is completely free.
  • Why we need it & who owns it:
    The OpenID Foundation was formed to assist the open source model by providing a legal entity to be the steward for the community by providing needed infrastructure and generally helping to promote and support expanded adoption of OpenID. So nobody owns it.
  • Sites supporting OpenID:

    Home

  • List of OpenID providers:
    http://wiki.openid.net//Public_OpenID_providers
Jul 11

Solved: /bin/rm: Argument list too long


Solved: /usr/bin/rm: Argument list too long
On Linux if you are trying to delete large no. of files then shell shows above mentioned message. After researching through several forums I found a solution for it. It’s similar to the earlier post related to taring large no. of files.


find . -name '*.txt' -print0 | xargs -0 rm

Note: Using “-print0” & “-0” escapes the spaces in the file name, otherwise it will be treated as multiple file names.

Jul 10

Solved : /usr/bin/tar: Argument list too long


Solved: /usr/bin/tar: Argument list too long
On Linux if you are trying to tar large no. of files then shell shows above mentioned message. After researching through several forums I found a solution for it.


find . -name '*.txt' -print0 | tar -cvzf foo.tar.gz --files-from -

Jul 09

Simple Way To Set Up Remote Debugging in Tomcat


Setting Up Tomcat For Remote Debugging on Windows – Simple Way:
You ever want to debug your web application remotely using Tomcat on Windows. Here is the simple trick:
[1] Edit TOMCAT_DIR/bin/startup.bat
[2] Replace


call "%EXECUTABLE%" start %CMD_LINE_ARGS%

with

set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000
call "%EXECUTABLE%" jpda start %CMD_LINE_ARGS%

[3] Restart Tomcat; Happy debugging 😉
For more details refer this:
http://wiki.apache.org/tomcat/FAQ/Developing

Jul 07

Simple Linux Command To Change File Extension


Simple Linux Command To Change File Extension:
FILE=foo.old
mv “$FILE” “${FILE%.old}.new”