Click to search Andy Jarrett.co.uk RSS feed

Loading Twitter

MySQL Workbench now available for Mac

MySQL Workbench 5.2.16 beta is now available for Mac after a long stale development period. After moving the windows version forward its good to see they are concentrating back development for other OS's. You can learn and find out more via their blog at http://wb.mysql.com/

Comments Comments (0) | Print Print | Send Send | 1252 Views

i want a computer that works

Go to google.com. Put in "i want a computer that works" and hit "I'm feeling lucky

Its probably really old but it made me laugh. I found it via the vid below

via TUAW

Comments Comments (3) | Print Print | Send Send | 2552 Views

You can pipe DIFF to TextMate

DIFF is a compare tool that you can use from the Terminal to compare files. What I did not know though is that you can PIPE the results to Textmate

view plain print about
1diff /path/to/project/index.cfm /path/to/project/index.cfm | mate

Comments Comments (2) | Print Print | Send Send | 1187 Views

Copy/moving files from mulitple sub-directories to the parent

Since moving to Mac I use the terminal more and more. Today I had an issue of having wanting to move 1000 files in 50+ sub folders to the parent. A quick Google search didn't come up with anything so I figured it couldn't be too hard.

My directories went like this

/parent /parent/subfolder1/file.1 /parent/subfolder1/file.2 /parent/subfolder1/file.3 /parent/subfolder2/file.1 /parent/subfolder2/file.2 and so on .... in reality each subfolder had 20 files in it.

So to copy the files out was easy: [sourcecode language="plain"]cp -r ./* ../[/sourcecode]

Swap the cp for mv to move them

Comments Comments (1) | Print Print | Send Send | 320 Views

Max your CPU

I was at the Apple store yesterday with the need to run both my CPU's at max for some tests. The "Genius" put the following in two separate Terminal windows
Yes > /dev/null

The YES commandsimply sends an endless stream of y’s to standard output until killed. The reason the guy did it twice is to ensure that both CPU's are being used. This should work on any *nix machine but if you only have 1 CPU you only need to do it once

If are even to lazy to open two windows you can just put the following in one:
Yes > /dev/null & Yes > /dev/null

Comments Comments (1) | Print Print | Send Send | 279 Views

My blog has moved

Please update your bookmarks and feeds for my site.

I now have a Mango Blog at:

http://www.andyjarrett.com/blog

Feed URL: http://feeds.feedburner.com/andyjarrett

Comments Comments (0) | Print Print | Send Send | 1261 Views

Mac OS X 10.5.6 Update has landed

Apple have released the 10.5.6 update. Whats covered:

  • Address Book - syncing improved
  • AirPort connections
  • iChat
  • Graphics - including fixes for possible graphics distortion issues with certain ATI graphics cards. I'm hoping this means fixes to horizontal black lines I keep getting
  • Mail
  • MobileMe
  • Networking
  • Printing
  • Parental Controls
  • Time Machine
  • and a few other general fixes

You can find a more detailed list at http://support.apple.com/kb/HT3194

Comments Comments (0) | Print Print | Send Send | 1823 Views

Fridays Joke: The Blackboard

Another Friday has come around. Its been a long but good week for me, i've been on a 5 day Mastering IBM Websphere course ... I'm no master yet and my head is ready to blow up with terms, patterns and accronyms flying out buts its good. I think these courses are good, especially for any CF developer as it gives you a great understanding in how a large strongly typed language web project has to come together (and makes you appreciate how easy CF makes it too). Also the Websphere Application Developer (Eclipse based tool) is pretty cool (though it should be for £3000 per seat) but I've had no luck trying to install on a Mac, has anyone out there done it?? I've got the WAS Community Edition server going which I'll post about later. Anyway, the majority of you are here for the joke, enjoy!

One day when the teacher walked to the black board, she noticed someone had written the word 'penis' in tiny small letters. She turned around, scanned the class looking for the guilty face. Finding none, she quickly erased it, and began her class.

The next day she went into the room and she saw, in larger letters, the word 'penis' again on the black board. Again, she looked around in vain for the culprit, but found none, so she proceeded with the day's lesson.

[More]

Comments Comments (1) | Print Print | Send Send | 2579 Views

Free iMac

After the success of my mac mini coming through las tyear I thought I should go again.

So this time it is a free iMac. If you haven't heard of the referral system its easy. Just use the link below, sign up and complete an offer. You even get your own referral link to hand out.

http://imacgiveaway.co.uk/index.php?referral=167835

Comments Comments (4) | Print Print | Send Send | 4916 Views

Time Machine over wifi without Time Capsule

One of the points I liked about Airport Extreme was the fact it had a USB port to add an external Hard Drive. Cool. Then came along Time Machine with Leopard and I thought even better I can now back up my MBP from anywhere to my 500GB external drive. Sadly that wasn't the case as TM didn't like network shares especially over wifi.

So as it stood I was plugging in to the usb HD from time-to-time to back up. Then a keynote speech later and Time capsule ... "my" idea is finally realised by Apple but wait a second ... I don't want to fork out for something I have albeit not in one shiny white box. (its one shiny box and a black western digital box). So realising that you can do it I did some google and came across the following hidden feature

view plain print about
1defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Running that command from the Terminal will allow TM to see your network shares

Like i said though its hidden and hidden really equate to unsupported and could be dropped at any point/update. But for now its working fine.

Now if the restrictions on 802.11n can be lifted in the UK I could appreciate faster transfers.

Comments Comments (2) | Print Print | Send Send | 4580 Views

Airport Extreme Connection Timout for second Mac

I'm blogging this because I can't believe the fix and I'll know i'll forget it. In short my Airport Extreme was only allowing one mac to connect at any one time. Which is seriously aggravating for me as I need files on both my macs.

After spending all my lunch reseting the base unit and trying a host of different configs which all ended up with only one machine connecting I found this thred which said that you need to plug the second machine via ethernet into the base station and then unplug it. THATS IT!!! Viola. Problem solved. Thanks Apple

I connected an Ethernet cable to my AirPort Express, and to the Mac Mini, then ran the Network Setup Assistant - System Prefs.> Network > Assist Me > Assistant. The Mini didn't connect to my network. I unplugged the Ethernet cable, and ran the Network Setup Assistant again, and while I was doing so, the Mini connected automatically.

Evidently, the mere act of plugging and unplugging the Ethernet cable was enough to refresh the whole thing.

When I plugged it in, the Mini saw a "new" network and tried to connect to it. For whatever reason it didn't, but when I unplugged the cable, the Airport Express "refreshed" the IP address, and the Mini went back into 'wireless search mode'. It found my network, connected to it automatically, then I was able to open Safari and start downloading por ... ahem, I mean, um, reading poetry blogs.

Comments Comments (0) | Print Print | Send Send | 2462 Views

Apple finally releasing OS X 10.5.2 Update

Recommended for all users running Mac OS X Leopard Apple have released their latest update. It looks like it the equivalent to a MS SP1 with what it covers but its not just bugs it also include performance increases and small tweaks like adding "list view" to stacks(I've missed that)

In short what does it update/fix?:

  • Active Directory
  • AirPort
  • Dashboard
  • Dock
  • Desktop
  • iCal
  • iChat
  • Finder
  • Mail
  • Networking
  • Parental Controls
  • Preview
  • Printing
  • Safari
  • Login and Setup Assistant
  • Time Machine
  • Plus more ...

Comments Comments (1) | Print Print | Send Send | 1789 Views

Thought different?

thoughtdifferent.com has captured the Apple.com's website over the last 11 years cataloging the companies software and hardware releases.

"an interactive archive of Apple's homepage since 1997"

What this site give you and a glimps into the evolution of design for site as well as showing you that like with all things Apple they know how to design. Check out the image from November 1997, before Google was really around, they dropped the text heavy sites for a main graphic and 3 subtopic homepage.

Well worth wasting some time with: thoughtdifferent.com

Comments Comments (0) | Print Print | Send Send | 1678 Views

Get music off of your iPod

More for my reference, but since my backup 500Gb hard drive failed the other day I realised that the only separate copy of my iTunes library is on my iPod :)

Unlock your iPod with Senuti, a simple application that allows you to transfer songs from your iPod to your computer.

Sentui

Comments Comments (0) | Print Print | Send Send | 6243 Views

Don't miss out on Mac Heist

If you don't know Mac Heist its a site that resells Mac OS X shareware and a greatly reduced price. As the site sells more bundled software they unlock/give away more licenses to more software. Also;

MacHeist donates a massive 25% of your purchase to a charity of your choice. So far, MacHeist customers are on target to raise over $300,000 for charitable causes.

The bundle of currently 13 apps sells for $49, though get 2 friends to join in like Kev did with me and that prices drops down to $33. The bundle includes Snapz Pro X which is normally $69, App Zapper currently $12.99, plus a host of other handy apps.

In total, to buy all the bundled software separately would cost you $498.60!

Paying $33 just for Snapz Pro X was worth it for me.

Mac Heist

Comments Comments (0) | Print Print | Send Send | 1518 Views

Deleting locked folders from Trash on OSX

I've recently had a stubborn folder in my Trash which I haven't been able to delete for ages due to an getting the following error message.

"The operation could not be completed because the item '{folder name here}' is locked."

After a little digging on the Apple site I've found this (and it's now here for my future reference too)

  1. Open Terminal (/Applications/Utilities).
  2. Type this, followed by a space: sudo chflags -R nouchg
  3. Drag the folder you would like to unlock into the Terminal window.
  4. Press Return.
  5. Enter your password and press Return.

For further info check out http://docs.info.apple.com/article.html?artnum=106237

Comments Comments (10) | Print Print | Send Send | 6268 Views

Safari web developer debug mode

I always forget the Safari has a Debug mode for when you are developing web apps which allows the logging of JavaScript errors. To display the debug menu in Mac OS X, open the Terminal and type:

defaults write com.apple.Safari IncludeDebugMenu 1

To display the debug menu in Safari 3.0 for Windows, use a text editor to add the following to the Preferences.plist file located at C:\Documents and Settings\USERNAME\Application Data\Apple Computer\Safari\Preferences.plist :

view plain print about
1<key>IncludeDebugMenu</key>
2<true/>

Comments Comments (1) | Print Print | Send Send | 8053 Views

NetInfo manager and HOST file in Leopard

It looks like in the upgrade to Leopard I lost NetInfo Manager which was a handy tool for editing and creating HOSTS.

From http://docs.info.apple.com/article.html?artnum=306494

NetInfo Manager is not included with Mac OS X 10.5 Leopard. You can use the command line utility dscl to perform some advanced functions formerly covered by NetInfo Manager. Open Terminal and type "dscl" to access it.

So to create HOSTS with Leopard you are going to need to:

  1. From finder goto /etc/
  2. Find a file called hosts right-click (or command-i) to Get Info and make sure you have "Permission" to Read & Write to the file
  3. Next we need to edit out Apache httpd.conf file found at /etc/apache2/ and add the following line under where it says "Listen 80"
    view plain print about
    1NameVirtualHost 127.0.0.1
    n.b. You might want to check if it exists first
  4. Then simply add your HOST information in the format of {IP Address}{tab}{host name}

Comments Comments (5) | Print Print | Send Send | 22063 Views

Widgets I can't live without

This started out as response to a comment left on a previous post but I've decided to make a new entry out of it.

So what widget can I not really live/work without:

[More]

Comments Comments (0) | Print Print | Send Send | 1615 Views

The iPhone has finally come to the UK

The iPhone has landed in the UK and it's only available with o2, which is fine by me being a long time o2 customer :)

[More]

Comments Comments (3) | Print Print | Send Send | 1279 Views

More Entries

BlogCFC by Raymond Camden + Twitter @AndyJ + ColdFusion jobs + Contact Me + Snippets/Downloads + RSS .