Posted by jpluimers on 2013/05/13
When working with SSH private/public keys (often because of ssh-keygen), and using DSA for auhtentication, these are the relevant files:
(on the local system)
The $HOME/.ssh/id_dsa file contains the protocol version 2 DSA authentication identity of the user.
(on the local system)
The $HOME/.ssh/id_dsa.pub file contains the DSA public key for authentication when you are using the SSH protocol version 2. A user should copy its contents in the $HOME/.ssh/authorized_keys file of the remote system where a user wants to log in using DSA authentication.
(on the remote system)
The $HOME/.ssh/authorized_keys file contains authorized DSA public keys (each line is the contents of a $HOME/.ssh/id_dsa.pub file) of users on systems that are auhorized to login on the remote system.
Be sure to transfer the contents of the local $HOME/.ssh/id_dsa.pub file to the remote system in a secure way.
via ssh-keygen – Wikipedia, the free encyclopedia.
Posted in *nix, Apple, Cygwin, Endian, Linux, Mac, OS X, OS X Leopard, OS X Lion, OS X Mountain Lion, OS X Snow Leopard, OS X Tiger, Power User | Leave a Comment »
Posted by jpluimers on 2013/05/10
Finder on your Mac by default does not show hidden files, and the console has vi, which lots of people find awkward to use.
There is an easy trick to open a hidden file like
~/.bash_profile (for instance to add an alias) with a visual text editor.
Just execute this in your terminal:
- Always with TextEdit
open -e ~/.bash_profile
- For the default text editor (usually TextEdit)
open -t ~/.bash_profile
- For a specific text editor (in this cast TextWrangler)
open -b com.barebones.textwrangler ~/.bash_profile
The man open(1) page has more information on the parameters you can pass to open.
PS: You can teach Finder to Quickly show and hide hidden files | Finder, Terminal | Mac OS X Tips.
Posted in Apple, Mac, MacBook, MacBook-Air, MacBook-Pro, OS X, OS X Leopard, OS X Lion, OS X Mountain Lion, OS X Snow Leopard, OS X Tiger, Power User | 4 Comments »
Posted by jpluimers on 2013/05/08
Lucida Console Sample (thanks Wikimedia!)
I’m in search to see if there is a better programmers font than the monospaced Lucida Console mainly to be used in Visual Studio, Delphi, the Windows console, Xcode and Eclipse.
What I love about Lucida Console design is the relatively large x-height combined with a small leading (often called “line height”).
This combines very readable text, and a lot of code lines in view.
Lucida has two small drawbacks, see the second image at the right:
- The captial O and digit 0 (zero) are very similar.
- Some uppercase/lowercase character pairs are alike (because of the large x-height)
But, since the font hasn’t been updated for a very long time, lots of Unicode code points that are now in current fonts, are missing from Lucida Console (unless you buy the most recent version that has 666 characters from Fonts.com)
Well, there are dozens of monospaced fonts around, so I wonder: which ones do you like?
In the mean while, I’m going to do some experimenting with fonts mentioned in these lists:
A few fonts I’m considering (I only want scalable fonts, so .fon files are out):
I have tried Adobe Source Code Pro about half a year ago. That didn’t cut it: problem with italics in Delphi, and note enough lines per screen.
New Open Source monospaced font from Adobe: Source Code Pro « The Wiert Corner – irregular stream of stuff.
Posted in .NET, Apple, Delphi, Delphi 2007, Delphi XE3, Development, Font, Mac, OS X, Power User, Programmers Font, Software Development, Typography, Visual Studio 11, Visual Studio 2005, Visual Studio 2008, Visual Studio 2010, Visual Studio and tools, Windows, Windows 7, Windows 8, Windows Server 2008 R2, Windows XP, xCode/Mac/iPad/iPhone/iOS/cocoa | 36 Comments »
Posted by jpluimers on 2013/05/06
This 5 year article from 2007 (which was an update for the 2002 version) is still very up to date in 2012: Top Ten Mac OS X Tips for Unix Geeks – O’Reilly Media.
Originally it was to promote Mac OS X for Unix Geeks - O’Reilly Media. In between the updates there was Mac OS X Panther for Unix Geeks, 2nd Edition - O’Reilly Media.
Now it is to promote Mac OS X for Unix Geeks (Leopard), 4th Edition - O’Reilly Media.
Note there is also a nice, but independent presentation with the same title from HTGR-MacOSX.
Posted in Power User, *nix, Apple, OS X Lion, OS X Snow Leopard, OS X Leopard, OS X, Mac, OS X Tiger | Leave a Comment »
Posted by jpluimers on 2013/03/27
I was amazed that this is still usable:
You can even run VMware Fusion 4 full screen at 2880×1800, but I prefer to have the Mac Desktop and Dock to be visible. I didn’t have any of the VMware Fusion 4 issues mentioned here.
So the only thing you need VMware Fusion 5 for is Windows 8 support.
You need SwitchResX to get the Retina MacBook to use 2880×1800 at all (otherwise you get 1920×1200 at 1.5 scale factor, which is also a 16:10 display ratio).
It really runs 5+ hours on one battery charge, which is much longer than my ThinkPad W701.
All in all, I’m very happy with this setup.
via: Screen Shot 2013-03-27 at 19.55.39 | Flickr – Photo Sharing!.
Click on the image or here for full size image.
Posted in Apple, Delphi, Delphi XE3, Development, Mac, MacBook, MacBook Retina, OS X, OS X Mountain Lion, Power User, Software Development | 7 Comments »