Archive for the 'Mac' Category

Learn to use Vi

gVim Editing an HTML Document
Lifehacker has a link this week to the UC San Diego’s Beginner’s Guide to the Vi Editor. I highly recommend that if you read it, the first thing you do is mentally replace all occurrences of Vi with Vim. Vim is Vi iMproved, and it is an awesome editor once you get comfortable with it. Spending a little time to learn Vim can have a significant gain on productivity and performance when you are doing any sort of text editing. I use Vim for just about everything, from note taking to web design (in my opinion there is no better IDE for HTML and CSS).

Once you get started, I also suggest you go here and print out the Vim cheat Sheet, which will help you remember things until you build the required muscle memory to really fly. They also have an excellent 7-step tutorial based on cheat sheets of slowly increasing complexity.

Vim Cheat Sheet

And another great beginner resource is the Vi Survival Guide. This is a good crash course in getting started with Vi, and it includes some advanced usage too.

Howto & Training & Editors & Vim & Tips & Tricks & Productivity & UNIX & Linux & Command Line & Mac Jed Daniels 03 Jul 2007 No Comments

Run Linux/UNIX programs in OSX

Ok folks, sorry for the lack of new posts over the last week, it has been a bit crazy for me and keeping up with everything has been a bit difficult. I promise over the next couple of weeks you are going to be amazed with the plethora of stuff I’ve got for you. To get started, here is a useful little tool for running Linux or UNIX programs in Mac OS. Yes, I know we’ve been a bit Apple centric around here lately, but don’t worry, I’m getting my Windows on too and for there will be plenty of tips and useful stuff for those of you that just gotta have some of that Microsoft lovin’.

This one comes via that amazingly useful site, Lifehacker, and gives you step-by-step instructions for installing Fink and Fink Commander. Fink is basically a ports collection based on Debian’s dpkg and APT, and a package management system to handle installation and uninstallation, etc.. Fink Commander is a nice GUI to help out. I’ve known about Fink for along time, and even tried to install and use it when I first got my MacBook Pro, but it was a royal pain and I quickly gave up. These instructions make it easy and clear, and really make the process simple.

How to Install Linux Applications in OSX [Simplehelp.net via Lifehacker]

Tips & Tricks & Linux & UNIX & Applications & Mac Jed Daniels 29 May 2007 No Comments

Mount a filesystem on your mac over SSH

SSH Icon
Lifehacker has an awesome Geek To Live tip on how to mount a file system on your Mac over SSH. This is fantastic! It allows you to use ssh to access a remote file system of any type on any server that supports ssh logins. It is like having scp or sftp available to you transparently as a mounted drive. Imagine the possibilities for things like web developers and coders who often need to copy files back and forth from one system to another, but want to do so securely. This eliminates the need for a file transfer client.

Lifehacker Geek to Live: Mount a file system on your Mac over SSH

Mac Jed Daniels 01 May 2007 No Comments