Jun 25
Flash comes to Android based HTC Hero:
Finally HTC launched new series of android based HTC Hero mobile phone which can support Adobe Flash. Looks like it’s going to be gaming device
.
As quoted on Adobe site
June 25th, 2009 in
Mobile,
Open Source |
No Comments |
54 views
Jun 17
Recently I came across open source testing tools used for automating web browsers. The tools I used were Watir and Cucumber.
After running basic installation steps from respective sites, I ran into several issues. I’m just posting the work around for that problems.
Problem 1: After running rake if you see "The filename, directory name, or volume label syntax is incorrect"
Solution:
Don't install Ruby where directory name has spaces in it.
Problem 2: no such file to load spec/expectations*,* failed to load features/support/env.rb
Solution:
If you see something like this, then update/install rspec
Problem 3: uninitialized constant Windows::API::Error (NameError)
Solution:
Happens due to older version of windows-pr
gem uninstall windows-pr
gem install windows-pr
Apr 24
This method will get all the file/folder names from a windows folder to a text file
the key command here is “>” symbol, which means “create a new file with the screen output”
The syntax is :
C:\>folderpath> dir > filename.txt
Example:
Goto the command prompt from windows
C:\>
C:\>cd foldername or folderpath
C:\foldername>
C:\foldername> dir > filelist.txt
The filelist.txt will be created in the same folder of which the list of files is requested.
To change the location of the txt file
C:\foldername> dir > D:filelist.txt (now it will be created in the D drive)
April 24th, 2009 in
Windows |
No Comments |
62 views
Apr 16
Enable Syntax Coloring in VIM Editor on Mac OS X:
Simple way to enable syntax highlighting on Mac OS X:
- Locate your VIM installation on Mac OS X.
- By default it should be /usr/share/vim
- As a “root” edit vimrc file under vim folder & Add following statements
syntax on
set hlsearch
set incsearch
- You can add more options based on the VIM Guidelines
- You are done.
April 16th, 2009 in
Mac OS,
VIM Editor |
No Comments |
56 views
Apr 13
Apple iPhone V3.0 With Copy-Paste & Push Notification??:
I recently found out that iPhone version 3.0 supposed to release in Summer 2009 is going to have Copy-paste & push notification functionality.
The ability to cut, copy and paste text will be available for e-mails, Web pages and other programs on the device, as will another key feature: the ability to send photos
April 13th, 2009 in
Other,
iPhone |
No Comments |
44 views
Mar 20
Subversion command line option to switch repository root:
Finally I found the simple way to switch svn repository root for any existing project & checked out using Subversion
Command Line Option:
commandline@yourname$ svn switch --relocate OLD_REPO_URL NEW_REPO_URL
Your are done 
~Ruitu
Feb 04
Solved Solr Issue: FileNotFoundException : Too many open files
While running crawl using SOLR I ran into this issue where “Too Many Open Files” message appears in the logs.
Environment:
Linux: CentOS 4.5
Solr: 1.3
Tomcat: 6.0.10
Somehow this problem seems to be related number of file descriptors allotted to users on Linux system. You can check that by using command
ulimit -n
To change this settings:
- Login as root
- Edit /etc/security/limits.conf
- Add the following entry
“USERNAME” soft nofile 4096
“USERNAME” hard nofile 32768
You are done
February 4th, 2009 in
Development Tools,
Linux,
Systems |
No Comments |
37 views
Jan 22
Nutch 0.9 org.apache.jasper.JasperException:
Development Environment:
Tomcat: 6.0.18
Nutch: 0.9
OS: Mac OS X 10.5.5
JDK: 1.6.07
I did fresh install of Nutch 0.9 and tried to deploy war file under Tomcat. I ran into issue where it started throwing the following exception:
org.apache.jasper.JasperException: /search.jsp(151,22) Attribute value language + “/include/header.html” is quoted with ” which must be escaped when used within the value
Solution:
Edit search.jsp & escape quotes on line 151.
\”/include/header.html\”
And you are done
Jan 17
I ran into weird issue on Mac OS X with Eclipse
My environment:
OS: Mac OS X 10.5.5
Eclipse: 3.4
JDK: 1.6
I changed my default JDK from 1.5 to 1.6 under (/System/Library/Frameworks/JavaVM.framework/Versions).
Then I tried to open Eclipse & threw the following error
NSAddLibrary failed for /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Libraries/libjvm.dylib
Finally I found the solution:
Somehow JDK 1.6 is not supported in Apple’s native format for Java. To resolve this issue
Edit the eclipse/Eclipse.app/Contents/Info.plist;
Uncomment the line which points to -vm /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java. And you are done
January 17th, 2009 in
Eclipse,
Java,
Mac OS |
No Comments |
279 views
Dec 11
Enable Colors in Mac OS X Terminal:
By default Mac OS X Terminal doesn’t have color support enabled for differentiating file types. If you are coming from Linux background this is really frustrating thing.
In general Unix system support ls –color option to enable console colors. But I found out that the underlying BSD system for Mac OS X doesn’t support this option. Instead of the color they have -G option.
Finally you can fix this color issue by using following command in the terminal
alias ls=’ls -G’
December 11th, 2008 in
BASH,
Mac OS,
Systems |
No Comments |
46 views