Subversion on OS X

Posted in OS X Tips, Programming on April 21st, 2011 by phoenixdigital

The best free subversion client I have found to date for OSX
http://scplugin.tigris.org/

Tags: , ,

Setting up a Random Playlist in iTunes

Posted in Entertainment, OS X Tips, Windows on May 25th, 2010 by phoenixdigital

This is the best playlist for making sure you listen to all of your music in your iTunes library. As soon as you get home plug your iPod/iPhone in and all songs that were played since you last synced will be swapped out for new ones.
Read more »

Tags: ,

Stop .DS_Store files on Network Shares

Posted in OS X Tips on March 1st, 2010 by phoenixdigital

To stop Mac OSX from creating .DS_Store files to network drives run the following command.

  • Open Terminal.
  • Execute this command:
    defaults write com.apple.desktopservices DSDontWriteNetworkStores true
  • Either restart the computer or log out and back in to the user account.

Source

Tags: , ,

Installing Apache, PHP and MySQL on OSX Leopard

Posted in MySql, OS X Tips, PHP Programming on September 10th, 2009 by phoenixdigital

These instructions may not be 100% complete as I am writing this after the fact. However someone with a basic set of Unix skills can probably fill in the gaps. This post is primarily here to remind me of the basics involved. I will revisit this next time I install everything again from scratch.

Leopard comes with a built in apache server and PHP. All that is required is for PHP to be activated. MySql however is required to be installed.

Read more »

Tags: , , , , , , , ,

OS X Timemachine on a Windows Network Share

Posted in Blog2Blog, OS X Tips on August 19th, 2009 by phoenixdigital

Another blog of a blog. If you haven’t noticed by now this blog is really a glorified bookmark location of things I need to find again. Hopefully though you might find something useful.

This site explains how to get TimeMachine for a OS X to backup over the network to a share on a windows machine. This is useful so I don’t have to worry about plugging my laptop into the backup drive all the time. It all works seamlessly over the wireless.

http://www.alexpadron.com/2009/03/12/time-machine-backup-to-a-network-share/

As a note if you have trouble with time machine failing when starting the backup you may be using the wrong MAC address. I had setup my sparsebundle with my wired NIC MAC address, not my wireless one. I discovered this while watching the windows share from the windows machine where I saw Timemachine try to make a new sparsebundle with a different MAC address. It then failed… I rebuilt my sparsebundle with the name Timemachine was trying to create and it worked!!!

If you ever want to connect to this backup from another mac you will only need to find this sparsebundle in finder and open it up. This will mount the backup and you can look through it looking for the files you need.

Edit: 11-Sep-2009
The above also worked in Snow Leopard for me (I was using the previously created sparsebundle so did not try from scratch). Some people have had issues however and you may find help on this forum this forum. I must admit this is the one thing about Mac’s I don’t like. They cripple stuff so you have to buy their expensive hardware.

Edit: 21-Sep-2009
I just rebuilt my sparsebunde from scratch and snow leopard now requires you to add a file into your sparsebundle to what I assume is authorise it for use.

I created my sparsebundle manually too using the following command
hdiutil create -nospotlight -library SPUD -size 250g -fs HFS+J -type SPARSEBUNDLE -volname "Time Machine" -verbose "MacBookName.sparsebundle"

Create a text file called com.apple.TimeMachine.MachineID which will contain the following. Place your UUID in this file.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>com.apple.backupd.HostUUID</key>
  <string>ENTER_YOUR_UUID_HERE</string>
</dict>
</plist>

(Note you can get your UUID from clicking on Apple Logo top left of the screen -> About This Mac -> More Info.
Now copy the sparsebundle across to your SMB share and copy the plist file into it. You may need to copy the plist file separately and move the plist file into it from the other end as the OS X sees sparsebundles as a file not directories.

Thanks to sunkid for his info here

Tags: , , , , ,

Controlling a PC with your Mac’s Keyboard and Mouse

Posted in OS X Tips on August 19th, 2009 by phoenixdigital

This is not a post about remote desktop which allows you to control a PC remotely. This is useful if you have a Laptop and a PC sitting on your desk (with a monitor). If you are constantly changing keyboards and mice to switch between machines, you will probably find this program quite useful. This will allow you to use your mac keyboard and mouse on your laptop to control the PC on your desk. It’s like an RDP but without the screen. There are a heap of other ways to use this program but that is the way I need and use it.

I used to use osx2x for this however it had alot of issues with passing across alt tab (which is pretty critical with windows)

http://www.engadget.com/2005/08/09/how-to-share-your-keyboard-and-mouse-in-realtime-with-synergy/2

There is a newer version which can be setup with the same instructions above. However it has the same issues with MacKey-Tab and Alt-Tab as osx2x did. So I am still using the older version.

An Example conf file for two computers (WindowsPC and MacMiniG4)
——-
section: screens
  WindowsPC:
  MacMiniG4.local:
end
section: links
  WindowsPC:
    right = MacMiniG4.local
  MacMiniG4.local:
    left = WindowsPC
end
——-
I also have a shell script which I use to start the server on my mac.
——-
#/bin/bash
synergys -f –config /Users/youUserDirectory/bin/synergy.conf &
——-

This may also help http://www.youtube.com/watch?v=uydwhv20qnI

I found this through a list of software here.

Tags: ,