About Adam Knight
Location
Austin, TX
Home page/site
http://www.hopelessgeek.com/
Author Biography
Adam Knight is one of the founders of Mac Geekery and is a geek at heart. Programmer by day, hacker by night, his daily life revolves around the Macintosh platform, which he has been a user and programmer for since the early days of System 7 when his LCII replaced his Apple //c.
In-between tech jobs, he’s managed to learn the basics of any web hacker: PHP, MySQL, Perl, Apache, Linux, *BSD, and the intricacies of ./configure —prefix=~/bombshelter/. Today, codepoet is concentrating on blogging again, writing some software for the Mac by himself (including Notae) and for his company (such as Photonic) and has a few other toys coming out soon. Bug him over AIM or email [link fixed].


It’s pretty trivial to fix it so it doesn’t need the space anymore.
Heck, you could do something like
"ioreg -l | egrep -c ExternalConnected ?= ?Yes"which will spit out a count of matching lines (and it won’t care if there’s a space or not). So simply check if it equals 1.Oh, and your site has a serious comment problem. If I preview, it claims my comment body is empty (which it definitely isn’t). Trying to preview from that page claims it again, but this time gives me an actually-empty comment body.
What’s even weirder, is it actually previews properly.
Oh, and posting seems to work fine.
As I said, I’m sure there’s a way, but going the extra mile to remove one character didn’t suit me.
Thanks for the tip, though.
Comment preview works for me. Might be the input type you have selected?
It works like a charm!
although i did have to change
- set ApplicationsFolder to folder "Applications" of home
to
- set ApplicationsFolder to folder "Applications" of startup disk
as i don't maintain a separate applications folder within home
thanks again !
-andy
edit: but this method does add that few miliseconds to starting up as it checks the ioreg (?)
Post new comment