Wednesday, December 31, 2008
Auto create tables JPA
Posted by iCehaNgeR's hAcK NoteS at 9:13 AM 0 comments
Tuesday, December 2, 2008
Recusively deleting a folder in MS DOS
Posted by iCehaNgeR's hAcK NoteS at 3:25 PM 0 comments
Thursday, November 13, 2008
Where not to put presistance.xml
Where to put persistence.xml in web app? In all cases, persistence.xml always resides in {root-of-persistence-unit}/META-INF/ directory. For example,
Posted by iCehaNgeR's hAcK NoteS at 3:12 PM 0 comments
Wednesday, July 30, 2008
SCP between two remote hosts
Posted by iCehaNgeR's hAcK NoteS at 1:46 PM 1 comments
Monday, July 14, 2008
MYSQL Error29
Posted by iCehaNgeR's hAcK NoteS at 1:27 PM 0 comments
Saturday, May 17, 2008
FireGPG on Linux
How GPG works for the email.
Posted by iCehaNgeR's hAcK NoteS at 7:36 AM 0 comments
Friday, May 9, 2008
NYI - Not Yet Implemented error
If you are getting this error
Posted by iCehaNgeR's hAcK NoteS at 7:42 AM 2 comments
Wednesday, May 7, 2008
Formating Currencies and Dates in Struts 2
Create a Global message property so that the formating can be applied to all the pages name it globalMessages.properties
Posted by iCehaNgeR's hAcK NoteS at 9:58 AM 0 comments
Monday, April 21, 2008
Another Session Iteration
Posted by iCehaNgeR's hAcK NoteS at 8:59 AM 0 comments
Tuesday, April 1, 2008
Iterating a List Value Struts2
Posted by iCehaNgeR's hAcK NoteS at 12:06 PM 0 comments
Struts 2 Tips and Tricks
OGNL treats a character in single-quotes as an actual character, not a String. So this statement will not return your desired result.
Posted by iCehaNgeR's hAcK NoteS at 11:54 AM 0 comments
Monday, March 24, 2008
File Count in a Folder
Recently I found a command that displays the Number of files in a ls command listing: Code: ls -l | wc -l Above will find the number of files in a directory, and it will send o/p as pipe to the wc -l, which outputs the number of lines in its input. To display all file including hidden and dot files, try Code: ls -lA | wc -l
Posted by iCehaNgeR's hAcK NoteS at 12:53 PM 0 comments
Friday, March 14, 2008
Stripping white space
s = s.replaceAll(" +", ""); Here is the String BFI NS-16 after the replace BFINS-16
Posted by iCehaNgeR's hAcK NoteS at 2:33 PM 0 comments
Thursday, February 21, 2008
cat and grep to omit some unwanted pattern on log file
The app I am debugging is toiled by some crappy domain redirecting output. I was looking for a way clear the catalina out file with some decent message. There is nice tutorial logTail Tutorial tailing the log. For there is a part where pattern omition is there,which worked quite well for me.
Posted by iCehaNgeR's hAcK NoteS at 2:00 PM 25 comments
Monday, February 11, 2008
Trendnet WiFI fiasco
When I moved my home I want to setup the wireless hookup in the new home. I was trying to get into the admin console with admin ip 192.168.1.10. For my surprise i am no way able to get in. After searching for while I found out Linksys router my neighbor have the same ip for its router console. I enabled my wifi connection alone and gone to admin console and renamed the router name. after setting up my wep and all I am still not able to get the wireless traffic comming to my computers. Again fiddling around the admin console I found some reason I am not able to release old DHCP address. This is how i released the DHCP. Swithched off the wireless router unplugged the Ethernet. Switched off the cable modem even the power, waited for 10 min. Plugged in the Cable modem powered the modem,waited for all the lights to come in, after three minutes plugged in the Router and powered in the router. At this point connected my router profile on the computer. Aha.. at last I am able to get the wifi. cool.
Posted by iCehaNgeR's hAcK NoteS at 7:07 AM 0 comments