Just solved a very weird problem on my Mac.
When I typed the letter “i” the entire line would get highlighted. Basically my Mac had become useless. I envisaged days or weeks of lost productivity whilst I sent my Mac back to get a replacement.
It turned out to be a setting I’d enabled in Accessibility > Mouse & Trackpad > Enable Mouse Keys.
Why had I done that? To solve another bug on my Mac where the cursor disappears on external monitors. There seem to be several of these ongoing bugs that have never been fixed.
Literally, just install with brew and you’re good!
Enhanced Open Terminal Here for Leopard – very neat. Use it to open a terminal window in whichever directory your Finder is in. And it uses Leopard’s new tabbed terminal…
Then use “open .” in a terminal window to open a Finder window at the same location as your terminal. Very, very handy…
- zip all_my_files.zip file_*
- uuencode all_my_files.zip all_my_files.uu | mail firstname.lastname@example.org
Destination machine – download zip then:
- uudecode -o all_my_files.zip all_my_files.uu
… and you’re done!
What is DRBD
DRBD is a block device which is designed to build high availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a network raid-1.
DRBD is copyright by Philipp Reisner, Lars Ellenberg and LinBit.
What is the scope of drbd, what else do I need to build a HA cluster?
DRBD takes over the data, writes it to the local disk and sends it to the other host. On the other host, it takes it to the disk there.
The other components needed are a cluster membership service, which is supposed to be heartbeat, and some kind of application that works on top of a block device.
A filesystem & fsck.
A journaling FS.
A database with recovery capabilities.
sudo apachectl restart
or if you’re not sure that it’s working, do it in stages:
sudo apachectl stop
sudo apachectl start
A super simple shell script which does all the boring configuration for setting up a virtual host on MacOSX. Works in Leopard too!
First of all, this is the product:
Oddly, it doesn’t appear under: Office and Business
but does under Creative Pros:
There are several differences between this and the other One Touch systems.
1. This offers RAID (both striping, for disk performance, and mirroring, for secure backups).
2. It has two large disks giving 1.5TB (or 750GB if mirroring)
3. It has Firewire 800 which is superfast. The MacBook doesn’t support Firewire 800 but the MacBook Pro or desktop do which is handy if you ever decide to upgrade.
OK, the down-sides.
1. The Disk Manager tool doesn’t work properly under Leopard (it won’t let you manage the RAID settings) which means if you want disk mirroring you having to install the Manager tool on a Windows machine to change the RAID settings as it is set up to do Striping by default. A pain and odd given that the disk is very Mac friendly – e.g. the disk is Mac formatted and the first section in the user guide is aimed at Mac users as opposed to PC users.
Topic : MLeopard and MAXTOR one Touch III 350Gb external Hardisk http://discussions.apple.com/thread.jspa?threadID=1209889&tstart=0
Maxtor OneTouch III Family
Seagate/Maxtor External (and/or Network) Storage Compatibility Issues with Mac OS X 10.5 (Leopard)
One useful OS X feature is the ability to create disk images. A disk image is a single file that, when double-clicked, appears like a typical hard drive to the operating system. (Most software you download comes on a disk image.) Disk images a great way to store related files that you don’t need to use often, as they can be “out of sight” until you need them. They’re also useful if you want to store something securely, as you can create encrypted disk images that require a password to mount.
There are essentially two types of disk images—a normal disk image and a sparse disk image. With a normal disk image, the disk image will consume as much drive space as its size, even when empty—i.e. a 40MB normal disk image requires 40MB of drive space, even if you’ve never used it. Sparse disk images, on the other hand, are disk image files that require just as much space as their contents require. So a 40MB sparse disk image will only need 40MB of drive space if you’ve saved 40MB of data onto it. The disk image will grow automatically as space is required.
What isn’t so obvious is that a sparse image won’t shrink automatically. Check out the link for a handy article on how to compact a sparse image.