Brad Lucas

Programming, Clojure and other interests

Cygwin Ssh Doesn’T Find Config

July 12, 2006

After installing Cygwin and setting up a new home directory with a .ssh directory and a config file. You may find that you need to run ssh with -F to help it find the ~/.ssh/config file.

If this is the case. Double check that $HOME is set correctly. Next look at your entry in /etc/passwd. If you find that it has a different home directory you’ve found the problem. Turns out ssh doesn’t look at $HOME but to the setting in /etc/passwd.

One easy way to fix this is with mount. Mount the incorrect home in /etc/passwd to the correct one. For example, my incorrect home is /etc/brad and the correct is c:\home\brad. This is fixed with the following.

mount -s -f c:\\home\\brad /home/brad
Continue reading →

Telling Firefox Where To Store Your Bookmarks

July 11, 2006

By default Firefox stores your bookmarks in your profile. This is buried in under your name in Windows under ‘Documents and Settings’.

In my working from elsewhere project I needed to store my bookmarks under my own ‘home’ directory so I could manage them with CVS. With this I can work elsewhere, checkin at the end of the day, return home and do and update and continue.

To accomplish this you need to create a small file call user.js and store in your Firefox profile. This file tells Firefox to use another location to store your bookmarks. Here is a sample user.js file:

// Specify which bookmarks file to use:
user_pref(

“browser.bookmarks.file”, “C:\\home\\brad\\firefox\\bookmarks.html”

);
Continue reading →

Checkstyle Plug-In For Eclipse

June 30, 2006

I just found a useful plug-in for Eclipse that analyzes your Java code. It’s available at http://eclipse-cs.sourceforge.net/index.html.

I used the Remote install feature of Eclipse to install it. Here are the instructions.

  • Within Eclipse go to Help->Software Updates->Find and Install
  • Choose Search for new features to install and press Next
  • Create a New Remote Site…
  • Input a name to your liking (for instance Checkstyle Plug-in) and input the following URL: http://eclipse-cs.sourceforge.net/update
  • Click your way through the following pages to install the plug-in.

A quick tip that you need to know is that you have to enable your project for CheckStyle. Right click on your project and select Properties. In the dialog select CheckStyoe and then check ”Checkstyle active for this project”.

Continue reading →

Charles Llyod – Sangam – June 22, 2006 – Nyc

June 25, 2006

Spiritual, Transcendental, Wonderful.

Sangam

  • Charles Lloyd, Tenor and Alto Saxophones, Tarogato, Bass and Alto flutes, Piano, and Percussion
  • Zakir Hussain, Tabla, Voice, and Percussion
  • Eric Harland, Drums, Percussion, and Piano

Read more about Sangam at http://www.allaboutjazz.com/php/article.php?id=22011 and http://www.allaboutjazz.com/php/article.php?id=21326

Continue reading →

David S. Ware (Discography)

June 22, 2006

Since seeing Ware Monday night I’ve loaded up my iPod with all of his recordings that I have. I like to listen in the order they were recorded. Allmusic lists things by release date so I found another site (http://www.bb10k.com/WARE.disc.html) that shows everything he’s done.

A list of David S. Ware recordings sorted by recording date and release date.

I shorted the list to recent recording and list them here for convenience. The Allmusic list follows as well.

Listing by Recording Date

Continue reading →