Dec 22
The default vim is  pretty bland and unimpressive. I would share a few of the settings I have found or plundered from Linux installations in order to make vim more usable. This can go in your .vimrc or in a global location such as /usr/share/vim/vimrc. I would be interested in what other command line and vim users do to improve Snow Leopard. step 1. Add following code to /usr/share/vim/vimrcset nocompatible " Use Vim defaults set bs=2 " backspacing over everything in insert mode set ai " Auto indenting set history=100 " keep 100 lines of history set ruler " show the ...(continue read)
tags: syntax, vim

Dec 17
One of the unwelcome changes in Snow Leopard, who use certain third-party LCD displays, was the gross simplification of the font smoothing options in the Appearance System Preferences panel. In Leopard (10.5), a pop-up menu provided a number of options for font smoothing—automatic, standard, light, medium (“best for LCD”), and strong. In Snow Leopard (10.6), though, that’s been simplified down to simply a yes or no option: “Use LCD font smoothing when available.” In practice, however, that’s not the case. The problematic LCD displays could be  Dell, Samsung, LG, HP, EIZO, Lenovo. The ...(continue read)
tags: display, font, smoothing

Dec 10
You may never need this, but if you administer servers remotely via the built in Apple VNC, it is the best trick ever. However, the VNC service occasionally crashes, and locks my session. It also refuses any more VNC logins. This is particularly frustrating when I am off site! Apple has analyzed this and has no explanation or fix. Here solution howto fix it: If SSH access is enabled on the server, you can connect to the server via an SSH client  and run this command: sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent You must log in with ...(continue read)
tags: crash, ssh, vnc

Dec 08
Google has finally released an official beta version of its Chrome browser for Mac. The initial beta version, termed Build 4.0.249.30, requires Mac OS X Leopard or Snow Leopard, and is only compatible with Intel-based Macs. In addition to the Mac release, Chrome for Linux has also been promoted to a beta version. While developer builds of Chrome have been available for nearly six months, only now does Google consider it full-featured enough and stable enough to promote to its “Beta” release channel. Work will continue on Chrome with additional Developer Preview releases occurring on ...(continue read)
tags: browser, Development, HTML

Dec 08
A Quick way to resize images in batches could be  find that Preview has that functionality. Open the whole batch of images in Preview; the images will all open in the same window with thumbnails visible in the sidebar. Select all of the thumbnails in the sidebar (with Command-A, or click the first and then click the last while holding Shift). Next, from the Tools menu, choose Adjust Size. You’ll be presented with a dialog containing options to resize to all the common 4:3 and 16:9 screen sizes, as well as the option to define custom dimensions. Images are scaled proportionately and resampled ...(continue read)
tags: pictures, preview