|
mac geekeryGet your geek on. |
Moderately InvolvedAuto-adding Files to a RepositoryOctober 31, 2008 - 1:19pm
Since I use Mercurial and it doesn’t have Xcode integration, I find that I’ll have added classes or whatnot and they will not have been added to the repository and I’ll forget about them come checkin time. That’s bad. So I thought about ways to remedy this, and after describing the issue to myself, the issue was clear. “When I add new files to the directory, it should run So I made a Connect an iGo Power Supply to a MagSafe ConnectorSeptember 28, 2008 - 11:00pm
BackgroundThe introduction of the MagSafe connector for MacBooks and MacBook Pros was NOT good news for users of iGo or Kensington airline/car/boat power supplies. Neither manufacturer has yet come out with a MagSafe tip, for reasons probably related to Apple’s patent. This hint describes a simple method of using an iGo power supply with a MacBook. Some simple soldering is required, and following these instructions will obviously invalidate your warranty for both the power supply and your MacBook. The author takes no responsibility whatsoever for any damage caused! If you already have an iGo (mine came with tip 4 included), this hint will set you back £2.08. The principle is very simple: Insert an in-line plug and socket into the cable of the original Mac power supply.There's more » Dealing with Overlapped ExtentsAugust 25, 2008 - 9:31am
Ever get that lovely “overlapped extent allocation” or “missing extent” error when checking your drive in Disk Utility? Notice how it never gets repaired when you repair the disk? There’s a reason: it’s technically irreparable. The extents that the error is referring to are the file fragments on your drive. There’s a special catalog file called the extents B-tree (this is also sometimes referred to as the extents or extents overflow file) that holds all of the information on which files have which fragments on the disk. Each fragment is an extent. When you have a missing extent then you have a record that states that there are a certain number of extents for a file, but the known extents are too few for that file.There's more » Use CUPS Classes to Elegantly Handle Different LocationsNovember 30, 2007 - 11:53pm
CUPS is the name of the service that handles printing in Mac OS X 10.3 to 10.5. It has a lot of features that aren’t really pushed in the GUI in Mac OS X, but users are able to get at those features by using the special administrative interface at http://localhost:631/. One of those features is classes. A class, in this context, is a group of printers that can be made to look as if it were one printer. This is great in lab settings where you have half a dozen printers of the same type as you can add them all to a class on a print server and have everyone print to that queue. Then whichever printer is free (or round-robin) will print the job.There's more » Changing Airport Settings En MasseNovember 26, 2007 - 3:50pm
I needed to change many iBooks from having a Preferred Network (and wanting to keep looking for that network) to automatically joining any open network and not giving a preference to that certain network. I found that the two preference files involved were:
I also found that the computer name is kept in preferences.plist, so copying these two files out to all the iBooks would have resulted in a same-name-game fiasco. Soooo, my solution was to:
This command will search through the Making pkg-config behave like a good X11 program shouldJune 4, 2007 - 10:11am
I was having quite the problem with trying to install programs from the command line: Bash would complain I didn't have libraries installed that I most certainly did, and pkg-config was no help, since it apparently wouldn't talk to X11 or Bash at all. Nice. Those are hours of my life I'll never get back.There's more » Configuring Mail to Scan Incoming Email for MalwareJune 1, 2007 - 7:55am
We may not like it, but OS X malware is on the rise. Even if you prefer the lalala-I'm-not-listening approach to security, you may want to do the decent thing and not forward such nasties from your Windows-using colleagues. Here's how to set things up.
I was a bit disappointed that the Nokia E70 wasn’t included in the latest updates to iSync in 10.4.9. Since the E70 is running Symbian OS similar to other Nokia S60 Eseries phones, I was using a hack I found on the Apple iSync discussion group. It worked for what I wanted to do but when I installed Mac OS X 10.4.9, the changes I made were naturally overwritten. Rather than re-do the hack I started actually thinking about it. The E70 is really nothing more than an E62 in a smaller form factor and Apple added support for the E62 in OS X 10.4.9. A idea took root.There's more » Hello. I have this 12” G4 iBook and the trackpad button is broken. Specifically it appears to be stuck on “click”. I looked at what it takes to replace and it seems I’d need to replace the entire upper-case of the iBook. As a compromise I’m prepared to plug in and use an external USB mouse and use the option to ignore trackpad when external mouse is present. But here’s my problem – I can’t use an external mouse yet because that also can’t click because the trackpad click won’t ever finish and unregister and allow another device a click. So if I could set the Keyboard & Mouse Trackpad option ‘Ignore trackpad when mouse is present’ using the terminal (which I can launch using Spotlight) this iBook would become a useable system again. (In case you’re wondering I’m typing this from my MacBook and the iBook belongs to my son who recently broke the trackpad clicker during a bout of computer rage. I haven’t quite worked out what drove him so mad, OS X is usually so serene!) Backing Up to a Disk Image With an SSH ConnectionMarch 8, 2007 - 11:35am
Is there any way to store a encrypted disk image on a remote freeBSD server and mount it remotely through SSH for backing up to? Here’s the situation. I run a freebsd server, so I’ve got access to as much remote disk space as I need, but I want it to be secured, not just a directory on a remote server. What I’d really like to do is create a 50Gb encrypted DMG on my mac, park it on the remote server, and mount it remotely so that I can use rsync to write to it. |
|
||||