Tuesday, January 31, 2012
Monday, January 23, 2012
ERWIN 7 ORACLE 10 connection
Stupid CA ERWIN connection screen design put user name and password into different fields confusing users,
correct way to connect is put user name and password into their own field,connection string field is not normal connection string like user/password/tnsname,just put tns name,it will work
and don't install erwin into program files(32) folder in 64 bits system,just install into a folder called c:\erwin72
Friday, January 13, 2012
java remote debugging
run java application in remote machine with following parameters,those are all for JVM
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8004,server=y,suspend=y"
then in local machine like eclipse or netbeans,run a debug or attach debugger,provide the remote machine information(ip),and port,then we will go through the source code within IDE,stop on the breakpoint we set in source code
that's all
format in xslt template
while we create xslt tempate to transform xml file,I find that the transform will not delete all returns we put in template,if we format the xslt file,it will automatically add returns in some tags
which will cause the return go to end transformed files
<Comments>~<xsl:value-of select="normalize-space(Comments)"/>~</Comments>
after format will look like this
<Comments>~
<xsl:value-of select="normalize-space(Comments)"/>~
</Comments>
this will cause two returns after sign ~ to end file,which is not correct.
wrong data will be
<Comments>~
car durty outside /~
</Comments>
but we expect
<Comments>~car durty outside /~</Comments>
emacs can not be exit in windows from cygwin
while using emacs in cygwin from windows 7,I find that key map from C-x C-c mapped to C-x C-g,which make me can not exit emacs
solution from internet add a windows variable as CYGWIN=tty.that will solve problems
another problems,access all folders in windows from cygwin
c driver
cd /cygdrive/c/program files
cd /cygwin/e/testfolder
Wednesday, January 4, 2012
connection to vpn network from ubuntu and remote desktop
rdesktop -r ip_address
sudo /etc/init.d/vpnclient_init start
sudo vpnclient connect myVPN
sudo acpitool -l 7
sudo /etc/init.d/vpnclient_init start
sudo vpnclient connect myVPN
sudo acpitool -l 7
Subscribe to:
Posts (Atom)