Archive for September, 2007

Pasting stuff into VIM

Monday, September 24th, 2007

I have found that if I paste code into vim there is auto indentation and sometimes comments are automatically put on the next line totally screwing up stuff. Easy fix:

  1. :set paste
  2. Paste your stuff
  3. :set nopaste

To easy. Thanks to http://www.vim.org/tips/ 

There is something worse than hell… Vista

Tuesday, September 18th, 2007

Well Vista isn’t that bad but it’s not that good either. OK How to connect to a Mac file share from Windows Vista.

  • Make sure you have Windows File Share turned on and an account to use it. (Don’t use your own account for windows shares).
  • Do the usual, connect to //ipaddress/
  • When asked for a username and password enter:
    • For Username enter: ‘ipaddress/macshortusername’ (without the quotes)
    • The password for that account

Passwordless SSH

Thursday, September 13th, 2007

Quickest way to do passwordless ssh. Found here!
(more…)

Windows: Hiding files starting with a full stop

Wednesday, September 12th, 2007

Thanks again MT for this one. “attrib +s +h filename” will make it a hidden system file. (+s for system, +h for hidden). Can’t be bothered to write a script to do it just yet. Maybe one day.

Max OS X: Shortcut to network share

Wednesday, September 12th, 2007

Thanks to MT for this one. Here are his instructions:

  • Mount the network drive you want to make a shortcut to.
  • Open it in finder
  • Press apple-up (to go up one directory)
  •  Then drag the mount to the desktop holding down apple-alt

ntfs 3g on Mac OS X

Wednesday, September 5th, 2007

Found this post over here: http://forum.insanelymac.com/. If you have troubles or get it to work please goto that link and post there.

There was also mention of iMountit which is an app that when is run pops up a menu showing mounted drives. But the easiest way to mount an ntfs drive as read/write is to drag the drive onto the iMountit app.

Note, ntfs3g drives show up with network icons, apparently this is normal, but sucky.

(more…)

Command and Conquer Gold FREE

Monday, September 3rd, 2007

Westwood/EA has released Command and Conquer gold for free. I tried downloading from their site but their links were broken for me. Internode also has the iso’s available.

You need 3 files:

I don’t know if it will work in Vista, I’ll post an update when I get a chance to try it.

NOTE: There was a message saying that the download will be officially avaliable from EA only during September. If I am allowed to host the iso’s past September then I will.