How to get a block cursor (caret) in netbeans

How to get a block cursor (caret) in netbeans:

Open up the editor settings file:

C:\Documents and Settings\username\Application Data\NetBeans\7.2.1\config\Editors\Preferences\org-netbeans-modules-editor-settings-CustomPreferences.xml

Add this to it:

    <entry javaType="java.lang.String" name="caret-type-insert-mode">
        <value><![CDATA[block-caret]]></value>
    </entry>

netbeans Source Format Wrecks Comments

Turn it off with Tools->Options, Editor, Language->Java, Category->Comments, uncheck Wrap Text At Right Margin.

Emacs Key Bindings for netbeans

Tools->Options, Keymap, Profile->Emacs [1]

Netbeans customizations

Want to customize your netbeans foreground and background colors?  Go to Tools->Options->Fonts & Colors.

However, there are some annoyances.

1. Apparently, if you inherit the caret color, it will not look right.  You have to specify it explicitly. [1]

2. To turn off the annoying "Mark Occurrences", in the Options window, go to Fonts & Colors->Syntax->Language->Java->Mark Occurrences and set the color to be your background color. [2]

Create ISO image from CD or DVD on Mac OS X

Start up Disk Utility.

Select the CD you want to image (over on the left).

Click "New Image".

Set the image type to "DVD/CD Master".

Rename the resulting .cdr file to have .iso extension.


Getting graphics characters to display correctly in a Putty window while running mc (Midnight Commander clone)

In Putty (window icon menu), select Change Settings..., then Window->Translation.  Set "Received data assumed to be in which character set:" to be "UTF-8".

Thanks to http://www.andremiller.net/content/getting-midnight-commander-line-drawing-work-putty

Screen Sharing application on Mac OS 10.5 Leopard

You can find it here: /System » Library » CoreServices » Screen Sharing.app.

Hmm maybe Spotlight does not search the System Folder by default?

Enable Mac OS X 10.5 syslogd to receive log from router

To enable your Leopard system to receive network syslog submissions edit:
/System/Library/LaunchDaemons/com.apple.syslogd.plist
Uncomment the paragraph commented: "Un-comment the following lines to enable the network syslog protocol listener".
Then execute the following commands:
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist
That should allow your external device to dump it’s log into the system log.
If you have firewall enabled make sure to allow the traffic (UDP 514) from router

Fedora 16 - Install Software from DVD

% su root
# cd /etc/yum.repos.d
# ls
# mkdir hide
# mv *.repo hide
# nano local.repo
[local]
name=DVD Repository
failovermethod=priority
baseurl=file:///media/Fedora\ 16\ i386\ DVD
enabled=1
gpgcheck=0
^O, ^X
# yum clean all
# yum install emacs

Print Screen with Mac Keyboard in Windows XP

Print Screen with Mac Keyboard in Windows XP


http://blog.newslacker.net/2008/06/applewindows-print-screen-with-mac.html