Nov 26, 2012

ORA-12541: TNS:no listener in Redhat

I have experienced oracle listener problem for some time.
When I try to start listener use the command as below:
lsnrctl start

It will report ORA-12541 problem. I don't know what I changed to make this problem. But luckily today I found it out the solution:

Open network in Redhat, and in the hosts tab: set the IP address as the IP address of this system.
Mine was wrong before and makes the listener start up failed.


After this, we can use a command to reset the network:
/etc/init.d/network restart

If you found this article useful, please click the ads on this page. Thank you very much.


Nov 19, 2012

Remote Desktop to a Windows 7 System (Allow Multiple Connect)

Remote desktop is powerful. The ideal scenario would be have a strong machine and be connected via many   thin client.

The way to set up remote connection to a Windows 7 system is like below. By the way, I think remote connection  is  only available on certain versions of Windows. I am using Windows 7 Enterprise as an example.

Part 1: Enable Remote Connection in the host.
1. Right click computer--> Properties-->Advanced System Settings, and click "Remote" tap. Then pick any of the last two items, for example: "Allow connection only from computers running Remote Desktop with Network Level Authentication"

Part 2: Enable Multiple Connect
Please download the tool here to enable multiple connect.

After downloaded this tool and unzip it, there is an install.cmd, you need to first:
1. Set the right version variables.


Find that from registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
On the right you will find a key "CurrentBuildNumber". 

2. Right click the install.cmd file "Run as a Administrator". That's it!


If you find this article useful, please help click the ads on this page. Thank you very much.













Nov 14, 2012

Evernote Keyboard Useful Shortcuts

I love Evernotes more and more, and thanks to the developers who provide this great product.

I now use it to take notes, especially learning notes. It is very good, and have 60MB every months. When I am taking notes, I find use shortcut is very useful, for example, if you want to write some sub items under a certain topic, you can type "Ctril+Shit+B" to achieve it.

I copied from a post from CNET listing the most userful shortcuts for Evernote.
Evernote


Keyboard shortcuts can help you become more efficient with e-mailDropboxTwitter,Facebook and more. If you're an Evernote user and love using keyboard shortcuts, you'll be happy to know that you can use Evernote almost entirely from the keyboard. Here are some of the more useful keyboard shortcuts in Evernote for Windows:
General Application
Ctrl + N : create a new note
Ctrl + Shift + N : create a new notebook
Ctrl + Shift + T : create a new tag
F10 : toggle left panel display
F11 : toggle note list display
Ctrl + F11 : toggle note panel display
F5 : cycle note list views
Ctrl + F5 : switch to table view in note list
Ctrl + F6 : switch to mixed view in note list
Ctrl + F7 : switch to thumbnail view in note list
F2 : rename notebook, note, tag or saved search
F7 : spell check
F9 : sync with Evernote Web
Ctrl + Q : exit Evernote
Editor
Ctrl + B : bold
Ctrl + I : italicize
Ctrl + U : underline
Ctrl + A : select all
Ctrl + X : cut
Ctrl + C : copy
Ctrl + V : paste with original formatting
Ctrl + Shft + V : paste unformatted
Ctrl + Space : remove formatting
Alt + Shift + D : insert current date and time
Ctrl + Z : undo
Ctrl + Y : redo
Ctrl + T : strike through
Ctrl + Shift + B : bulleted list
Ctrl + Shift + O : numbered list
Ctrl + L : align left
Ctrl + R : align right
Ctrl + E : center
Ctrl + J : justify
Ctrl + Shift + X : encrypt selected text
Ctrl + K : create new hyperlink
Ctrl + F : search within note
Ctrl + S : save note
You can view the full list of Evernote for Windows keyboard shortcuts from Evernote.com

If you think this post is helpful to you, please kindly click the adds on this page. Thanks a lot!


Nov 3, 2012

[Solved] In China, Google doesn't work because of GFW


Because of the great fire wall, Google search doesn't work well in China. Sometimes the search will go to a DNS error screen, and sometimes you can search, but none of the result links can be opened.

To solve this, we need to Force Chrome to use Https. The steps are as below:
1, Open Chrome, and input chrome://net-internals in address
2, Click "HSTS" link in the left



3, in the right page, add google.com in the "Domain" textbox, and select "Include subdomains", then click Add


Aha, now we have some freedom via google.

If you think this post is helpful to you, please kindly click the adds on this page. Thanks a lot!