|
Mac GeekeryGet your geek on. |
Church of the Bearded Unix GodThere are a plethora of hacks to change the translucent menu bar in 10.5. While I doubt the sanity of the UI designers at Apple with this release of the operating system, it is relatively easy to change this behavior without installing third party hacks.There's more » I was at WWDC this last year and went to a lot of sessions that were interesting, but didn’t really grab me and tell me that I absolutely had to learn the technology and use it. It was all interesting, of course, but … eh. Then I went to a session on using Xray (now Instruments) and DTrace to debug things. Yes, things. It’s not just for developers and their programs, but also for sysadmins and their systems. After I saw what it could do, well, let’s just say I had a domain name registered and a site up before the next session (I love Drupal). That site is DTrace Scripts.There's more » NetInfo is dead. It’s gone. It’s a part of the past. It’s like that ghost of a bad dream you have in the morning where you can’t quite remember why you’re shaken, but you just remember that you were and that it was horrible. Leopard ate NetInfo. In its place is a new native Directory Services store based on folders and XML property list files. Yep, a replacement for flat files that uses … flat files. Kind of.There's more » As others have noted, there’s nothing all that new about Time Machine other than its UI. UNIX admins have been doing similar incremental backups for ages immemorial. Well, OS X is a UNIX, isn’t it? So it should follow that we can get the same bang-for-buck in Tiger (and possibly prior versions, too). For this, rsync and cpio are our friends today. Adam Knight did most of the footwork here; I just hacked it up into OS X-compatibility.There's more » It’s a question we get every now and again that simply doesn’t have an easy answer: “How do I add items to the Login Items from the Terminal?” Well, that’s hard, and mainly because the ==$ defaults write foo test -array-add -dict Hide 1 Path /Applications/TextEdit.appThere's more » For those of you that didn’t know (and it’s an honest omission of knowledge) Apple’s Installer and Software Update tools have CLI tools that do their dirty work for them, and you can use them to remotely administer your machine (or do so more directly than the GUI lets you). The Installer’s CLI command is, shockingly, $ installer -pkg GoshIHopeItsNotATrojan.pkg -target / You can also have a little fun with it with its myriad options. Software Update is similarly called $ softwareupdate -l Or install all pending updates with:There's more » $ sudo softwareupdate -i -a Apple slipped this one in right under my nose. As of Mac OS X 10.4.6, we have SACKs! That is to say, the primary thing I lamented MOSX lacking in my Mac OS X Network Tuning Guide has been remedied, and is enabled by default. So, here’s the lowdown on how to tune a post-10.4.6 install of Mac OS X. Editing These SettingsAll of the following are
I’m trying to automate Mac icon creation for folders and files headlessly via the commandline or AppleScript. I’m dynamically creating alpha masked PNG’s and wish to transfer those to Folder/File icons with no user intervention, all in the background. Also for the sake of when Leopard comes out, it would be great to have 512×512 icon support. Though ANY support would be welcomed. While I’d like to be using some Apple standard system for correctly applying icons, Folder icons are open to some hackery as they store the icon inside the folder itself as an ‘Icon’ file in the format of .icns, however I know of no way to automatically generate an icns file, and even if I could, you cant just rename your file to ‘Icon’ as the name is in fact ‘Icon^M’ or rather ‘Icon’ folowed by a carriage return, which is impossible to do as far as I know. Any help in this endevour would be greatly appreciated. I am primarily using my Mac Mini as a server via several different protocols. In the name of efficiency & security, how do I prevent superfluous (for my purposes) services like BLUED, CUPS, etc. from starting automatically? How do you setup/configure SFTP on Tiger Server 10.4.8 so that users are restricted to the folder you specify and are not able to wander freely everywhere. I am able to do this for regular FTP using Pure FTPd but have found nothing help for doing the same using SSH. Thanks a lot for your help. |
|
||||