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 | 1152 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 | 2406 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 | 1097 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 | 272 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 | 237 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 | 1195 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 | 1771 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.

Every morning, for about a week, she went into the classroom and found the same word written on the board, and each day it was written in larger letters.

Finally, one day, she walked in, expecting to be greeted by the same word on the board, but instead, found the words, "The more you rub it, the bigger it gets!"

Comments Comments (1) | Print Print | Send Send | 2531 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 | 4835 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 | 4544 Views

More Entries

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