This summary is not available. Please click here to view the post.
Monday, July 13, 2009
Google Voice Gizmo5 Sipphone and Ekiga on Ubuntu
Posted by iCehaNgeR's hAcK NoteS at 8:25 AM 5 comments
Thursday, June 25, 2009
JSON, DOJO and innerHtml and Java Handler.
JSON : JavaScript Object Notation, it is the data interchange format, It simplify the data exchange between client side to server side script. In the example we will pass two string and return a Java MAP response.
DOJO : Is the working dog for ajax communication.
innerHtml: this is useful to replace a element in the html document to be replaced with a ajax response. call the element by dojo.byId("someid") then replace the content of the id by innerHtml. The id can be given to any html element.
Our ArchitecturePosted by iCehaNgeR's hAcK NoteS at 1:32 PM 2 comments
Masking for Credit Cards
This will show only the last 4 digits .
Posted by iCehaNgeR's hAcK NoteS at 1:08 PM 0 comments
Tuesday, June 2, 2009
Solr/Lucene .
I am trying to add up what I learned so far on the Solr. Lucene : Is the search engine Solr : The Search Server. Solr / Lucene Terms. Facet --- The data that have to be breakdown. example: manufacturer FacetField -- This will contain the facet data SolrDocument -- This will contain one solr search data. setFacetMinCount -- This will limit returning search data with the minimum count of hit.A sample Query using SolrJ
Querying price range need little special skill in solr, I am still exploring different option of querying. The search querys are case sensitive, if you put 'To' instead of 'TO' solr will throw invalid syntax error.
Posted by iCehaNgeR's hAcK NoteS at 1:22 PM 0 comments
Thursday, May 28, 2009
Ruby on Windows XP installation
Don't install the one click installer from ruby site. This will not help you if your script has some 'fork' command on it. Windows don't support fork.
Get CYGWIN and select the category development select-> make, select interpreters -> ruby , select Base -> cygwin
If you use default Cygwin installation these packages will not be installed. After installation type in 'which ruby' on the $ prompt this will show the ruby installation directory this is import to know about the installation directory so you can add up the location of the ruby binary on the header of your script.
Now if you want to add ruby libraries download the rubygem package from http://rubyforge.org/frs/?group_id=126
un-tar the package and to the directory. type in ruby setup.rb that will setup the gems to your ruby installation. Now to install individual gems
example. gem install hpricot
this will install the hpricot library to ruby installation.Posted by iCehaNgeR's hAcK NoteS at 10:43 AM 0 comments
Saturday, May 9, 2009
Generate Torque Schema from existing DB
I came across a situation where there is the excellent DB schema available, but no torque schema to generate the Peer and Maper classes. Solution>
Posted by iCehaNgeR's hAcK NoteS at 1:50 PM 0 comments
Wednesday, May 6, 2009
Weblogic startup failed after password change in admin console
Posted by iCehaNgeR's hAcK NoteS at 7:09 AM 1 comments
Friday, April 17, 2009
Screen Graber Deamon
This was a hack to grab the questions from a paid online quiz. Idea here is, this program will run as a deamon in the background and take the screen shot every 10 second and save it into a jpeg file on temp directory.
Posted by iCehaNgeR's hAcK NoteS at 3:52 PM 0 comments
Wednesday, April 8, 2009
JPA OneToMany using FetchType.EAGER
Scenario: Want to insert multiple address to basket header with a unique basketId.
Posted by iCehaNgeR's hAcK NoteS at 5:47 AM 1 comments
Wednesday, April 1, 2009
Struts 2 OGNL variable evaluation
'%{}'
syntax is used for this purpose.
The second statement convert the string to int and add the two integers.
Posted by iCehaNgeR's hAcK NoteS at 2:10 PM 4 comments
Monday, March 30, 2009
SVN with Eclipse Ganymede
- Install svn server for windows, use the msi package.
- Create Repository
Posted by iCehaNgeR's hAcK NoteS at 6:10 PM 0 comments