Not being enamored with the URL (and lack of privacy) that OS X Server provides for wikis and blogs, I’ve been fiddling with WordPress. The new blog is at http://blog.autographsystems.com, which is a reasonable URL.by
Twice now, I’ve had user accounts hacked, with php files installed that allow the hacker to send email out through our server. The first one was rather easy to detect and remove, but this second attack proved much more difficult. Here’s how I finally succeeded. Continue reading “Website hacked, used as spam sender”by
From a hints.macworld.com article, Aug 08, 2012 07:30AM • Contributed by kirkmc.
I came across this Apple technical note this morning, which describes how to flush the DNS cache on your Mac…
Go there for more details, or grab the pertinent info here:
OS X 10.5 & 10.6: sudo dscacheutil -flushcache
OS X 10.7 & 10.8: sudo killall -HUP mDNSResponderby
Installing from a CD/DVD can be a pain. First it is rather slow. Second, more and more Macs are arriving without optical drives at all. Carting an external drive around is also a pain.
The better solution is to make images of the discs onto a flash drive. Installation is much faster and every Mac has a USB port, so there’s no external hardware to worry about. Continue reading “Copying a CD/DVD to Flash Drive”by
When intentionally generating an error in AppleScript you can supply the error message and number (and probably the other parameters, if you care about them). If this error is not trapped by a try handler, it is passed back to the caller.
What I discovered today is this: if you generate an error and give it error number 0, Script Debugger does not report the error in its standard error sheet. (AppleScript Editor does report the error.)
I’m not sure if this is an intentional bit of niceness — it gives you a way of stopping the script without being bothered by a dialog — or a mistake based on the fact that, in Cocoa, et. al. “error 0” means noErr.by