Recent Notes
Displaying keyword search results 81 - 90
Created by voodoo on February 08, 2010 04:57:49
Last update: February 08, 2010 04:57:49
If you don't want to open an extra port for VNC or want extra security with SSH, you can setup an SSH tunnel for VNC. On Windows, you can do this with Putty or openssh .
Open a command window, and enter (using Putty as example):
C:\local\bin\plink.exe -ssh -2 -L localhost:5901:r...
When connecting with vncviewer , use localhost:5901 as server instead of remote_host:5901 .
If you use the setup frequently, it is more convenient to setup the tunnel as a Windows service . Assuming the name of the service is vnc_tunnel , the registry entry would look like:
Windows Registry Editor Version 5.00
[HKEY_...
Created by voodoo on February 07, 2010 05:48:55
Last update: February 07, 2010 05:48:55
Error Message:
Error activating XKB configuration
Probably int...
Answer from RealVNC :
Hi,
VNC Free Edition 4.1.2 doesn't provide the XKB extension. The fact that
that causes parts of Gnome to crash or report errors seems to be a bug in
Gnome - X applications should not in general assume the presence of X
extensions unless they are incapable of operating without them.
Regards,
Wez @ RealVNC Ltd.
Created by Dr. Xi on September 18, 2008 21:38:27
Last update: February 06, 2010 21:55:26
Editing
Shortcut Meaning
Ctrl+C Copy
Ctrl+V Paste
Ctrl+X Cut
Ctrl+Z Undo
Ctrl+F Find
Ctrl+G Find Again
Viewing
Shortcut Meaning
Esc Stop
Ctrl+R Reload
Mozilla/NS: Ctrl+Shift+R, IE: Ctrl-F5 Force reload (not from cache)
Home Go to top of page
End Go to end of page
Page Up Scroll up one page
Page Down Scroll down one page
Ctrl+- (minus sign) Make fonts smaller
Ctrl++ (plus sign) Make fonts bigger
Ctrl+0 Restore default font size
Tools
Shortcut Meaning
Alt Toggle menu bar (IE7 only)
Ctrl+T Open new tab
Ctrl+N Open new window
Ctrl+P Print
Ctrl+I, Ctrl+B Bookmarks
Ctrl+H History
Ctrl+U View page source
Ctrl+W Close Window or tab if more than one tab is open
Ctrl+L Go to location box
Ctrl+E Go to search box
Created by voodoo on November 28, 2009 17:27:16
Last update: January 26, 2010 03:46:20
Nothing describes this utility better than the utility's authors:
This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured to run during system bootup or login, and shows you the entries in the order Windows processes them. These programs include ones in your startup folder, Run, RunOnce, and other Registry keys. You can configure Autoruns to show other locations, including Explorer shell extensions, toolbars, browser helper objects, Winlogon notifications, auto-start services, and much more. Autoruns goes way beyond the MSConfig utility bundled with Windows Me and XP.
http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx
Created by Dr. Xi on September 02, 2008 18:55:18
Last update: January 18, 2010 22:36:24
Remember the times when you googled for solutions to your technical problems? How much time did you spend on wading through the zillions of links to find the ones that are of interest to you? Wouldn't you hope that you can find the answer right away the second time around? How many times were you forced to peruse hundreds of pages of documentation for a very specific need? Did you ever need to experiment with various alternatives because the documentation was vague? Wouldn't you prefer that a shortcut is available when the same thing is needed again? Xinotes is here to record your technical findings so that you won't have to go through the same process again when the problem reappears. Experience has taught us...
Created by Fang on August 26, 2009 02:50:20
Last update: January 10, 2010 00:22:44
You can use the Maven archetype plugin to quickly start a new Maven project from scratch:
C:\work\maven>mvn archetype:generate
[INFO] S...
Created by Dr. Xi on January 07, 2010 20:02:00
Last update: January 07, 2010 20:07:19
If all you want is a quick way to format some numbers, a sample program speaks more words than the full documentation.
import java.text.DecimalFormat;
public clas...
Use String.format :
public class TestFormat {
public static voi...
Created by Dr. Xi on November 21, 2009 02:07:07
Last update: November 21, 2009 02:08:19
This is from Oracle 10g documentation . Data Lock Conversion Versus Lock Escalation [/size] A transaction holds exclusive row locks for all rows inserted, updated, or deleted within the transaction. Because row locks are acquired at the highest degree of restrictiveness, no lock conversion is required or performed. Oracle automatically converts a table lock of lower restrictiveness to one of higher restrictiveness as appropriate. For example, assume that a transaction uses a SELECT statement with the FOR UPDATE clause to lock rows of a table. As a result, it acquires the exclusive row locks and a row share table lock for the table. If the transaction later updates one or more of the locked rows, the row share table lock is automatically converted to a...
Created by Dr. Xi on October 18, 2009 04:25:25
Last update: October 18, 2009 04:25:25
start python with python -v
import django and print version:
Type "help", "copyright", "credits" or "license" f...
Created by Fang on August 21, 2009 03:05:23
Last update: August 22, 2009 22:10:06
There are three built-in build lifecycles: default: handles your project deployment clean: handles project cleaning site: handles the creation of your project's site documentation Each of these build lifecycles is defined by a different list of build phases, wherein a build phase represents a stage in the lifecycle. The default lifecycle has the following most common build phases (among others): Phase Description validate validate the project is correct and all necessary information is available compile compile the source code of the project test test the compiled source code using a suitable unit testing framework. These tests should not require the code be packaged or deployed package take the compiled code and package it in its distributable format, such as a JAR. integration-test process and deploy...