Monday, May 30, 2011

redhat sound card problems

I have Dell T5500 with Redhat installed,it have a tiny problem with it sound card.
when I get online to watch video,some of them have very low voice volume,event in visualized windows 7,especially the video recorded(not confirmed) from mac.I find following way can fix it

1) in console,run gstreamer-properties
2) in pop windows,changed Default output plugin from AutoDetect to ALSA(advanced Linux sound architecture).

Monday, May 16, 2011

CSS

CSS syntax:
1)p {color:red;text-align:center;} --- select(html element) and style
2)#para1
{
text-align:center;
color:red;
} --- is select and style
3).center {text-align:center;} ---class select and style
4)p.center {text-align:center;} --- html element's class select and style

how to use external style sheet: inside html "head" element put "link" element

Wednesday, April 6, 2011

search a file in svn

svn log --verbose --username user --password password |grep test.txt

search a file in linux based on file name

find -name 'filename.txt'

add Jax-rpc web service plugin in netbeans 6.9.1

Version: NetBeans 6.9.1 Tools -> Plugins Click "Settings" tab and "add" button Provide a name (ex. Hudson) and the URL above in the original post (http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz) Close the dialog box Click on Reload Catalog and click the "Available Plugins" tab Find your JAX-RPC plugin goodness in the list, select its checkbox, and click "Install"

Monday, April 4, 2011

if we make glassfish display his log information like tomcat do,just need start glassfish like this: asadmin -start-domain --verbose

Friday, April 1, 2011

netbeans 6.5.1 open with one windows only

1) kill netbeans
2)delete all file from user's home\.netbeans\6.5\config\Windows2Local\Components
3) restart netbeans