Posts

Time Machine backup to Linux via Netatalk

So, when I got the upgrade from Tiger to Leopard on my MacBook Pro, I was looking for a good backup solution. I’ve used rsync in the past, but when I saw that Apple had a new Time Machine backup tool, I was curious to give it a shot. The catch is you basically needed an external USB or Firewire drive, until they recently came out with the Time Capsule. Anyway, tonight I got the itch to really see if I could make Time Machine work without buying extra hardware. I mean, seriously, I’ve got a good hunk of mirrored disk sitting on my home server; that seems like a good place to do backups.
Some googling found me this link to a blogger who’d done it!
I’ll make my own version of this post, since I had a few differences from the original I where I found the info.

Safari Session Save & Restore with ForgetMeNot

Mac

My foray into the Mac OS X world is fraught with daily challenges as I try to learn my way around this new environment.

Firefox has long been my browser of choice on Windows and Linux. So now, I’ve used it on Mac, and while I still like it, I’ve felt the urge to try out “Mac native” apps such as the bundled Safari web browser. For the most part, switching to Safari meant learning new keyboard shortcuts, but one thing that was really killing me is that if I closed Safari or it crashed, I lost all my tabs. I am a pretty heavy user of the auto session save in Firefox.

Fixing Binary File Corruption from Ant Copies

So there I was, poking around in some java / j2ee code, trying to learn how it all works. I did some testing on a Linux server and realized, something is broken. It seemed something was corrupting ALL the Jar files in WEB-INF/lib/.

A co-worker guessed that the token filtering Ant was doing might be the culprit. He was right. It seems Ant has issues with detecting whether files are binary or not, given that it uses a Reader class which runs the files through a character decoder. This is specifically a problem on Unix systems since they commonly use UTF8 character set, and in that case Ant hasn’t a clue if its looking at UTF8 text or binary data.

Tabbing to HTML Form Elements in Mac Web Browsers

Mac

So, I’m a MacOS newbie, just switched over from Windoze / Linux. I figured, it’s cool, things “just work”, and it’s got a Un*x/BSD core. What else is there? Hehe, the interface has definitely been a challenge.

So, the first huge problem that drove me nutz was that in Firefox, I couldn’t tab to checkboxes, some buttons, multi-select boxes, etc. I asked around, but found others with the same problem.

Network Directory Services

Network directory services are core to Internet functionality. The Domain Name System (DNS) provides a global (and/or local) directory of hosts and services. Lightweight Directory Access Protocol (LDAP) servers can provide some of the same information as DNS (or be used to back DNS), but are more frequently used to create network user databases, store user group information, providing centralized account information and password storage.

I recently completed an upgrade of these two core services on a network I manage. We had been running outdated (but functional) BIND v8 and OpenLDAP v2.0 instances for of DNS and LDAP servers. Also, throw a Windows Server 2003 into the mix, which, as an Active Directory domain controller has to run its own DNS and LDAP (AD is tweaked LDAP) servers.