Browsed by
Category: Apple

Run PHP scripts in native macOS app with Xcode & Swift

Run PHP scripts in native macOS app with Xcode & Swift

Developer Curiosity Many, many years ago, as an open source PHP and WordPress developer, I had a system for testing arbitrary PHP as I honed my skills and learned new techniques. I had a file on my web server called test-php.php that did nothing but output the results of my code and would spend hours writing code, upload to server, switch to browser, refresh. This is how I learned the basics of regex, converted base64, tested operators, and refined my…

Read More Read More

There comes a point, I guess, no matter how young you feel, where you realize you’re old.

There comes a point, I guess, no matter how young you feel, where you realize you’re old.

My boys have their own computer where they play games I’ve installed which seem to not cross my boundaries for what’s ok for kids to play. One of the games I’m sort of on the fence about because it seems to bring out a lot of creativity, while also creating an unpredictable anxiety in them, is Minecraft. So I limit their time with the game while I monitor their behavior surrounding their exposure to it. It’s not like it’s all…

Read More Read More

Being conservative has its benefits

Being conservative has its benefits

I’m a huge nerd. I serve HariKari.com from my house using Mac OS X Server only because I love this technology. I love the pressure it creates for me to learn something I might otherwise not even be involved in. The bloggers here might take umbrage. It’s been pretty smooth sailing, with the occasional sea-sickness, but nothing like this past week. So for me to have different goals from theirs – the spreading of democracy and the informing of the…

Read More Read More

Harikari shutdown

Harikari shutdown

Greetings loyal readers. Harikari is back online. We can either blame the temporary shutdown on a new developer version of OS X that has some connectivity problems, or we can blame it on John Boehner. I am going with Boehner. Everything bad that happens now – I blame John Boehner. Thanks to webmaster Tony and President Obama for getting it up and running again.

Better Native PHP Syntax Support in Xcode

Better Native PHP Syntax Support in Xcode

I’m a big fan of the Xcode IDE from Apple. Unfortunately, it is myopically focused on development for iOS and Mac OS X, using Objective-C. A long time ago, it was a lot more open. You could find a variety of plugins that would extend its functionality to include the projects you work with, such as PHP syntax support, in Xcode outside of the Apple software ecosystem. But for the past several years Apple has made it difficult to extend…

Read More Read More

How to run PHP scripts in Xcode Mac OS X applications

How to run PHP scripts in Xcode Mac OS X applications

I spent a lot of time looking around the web for instruction on how to execute PHP inside of a Mac OS X application created in Xcode (version 4.3) only to find a whole lot of nothing. I knew it could be done since there are several apps in the Mac App Store that allow you to interpret PHP on the fly, so I set out to do it without the help I believed I needed. It turns out to be one of the easiest things I’ve done in Objective-C.

Apple TV 2.3 Finally Includes Video Playlists, 3rd Party Remotes

Apple TV 2.3 Finally Includes Video Playlists, 3rd Party Remotes

Here’s a quick note to update my ongoing struggle to ensure that my Apple TV doesn’t fall out of usefulness before its time. As you may remember I posted several months ago a wishlist for Apple’s next Apple TV update. It included some of the obvious things like responsiveness, performance, and video playlists. Unfortunately, none of these luxuries were included in the last update. Apple TV 2.3, however, does actually seem to address many of the issues I pointed out…

Read More Read More

Synergy – Dual Monitor Desktop Solution for MacBook Pro

Synergy – Dual Monitor Desktop Solution for MacBook Pro

  Have you ever been sitting at your desk with your laptop open, working away on your dual-monitor desktop setup and thoughtlessly tried to move your mouse from your desktop monitor straight over to your laptop? What about copying a URL to the clipboard of your laptop then jumped over to your desktop to try to paste it into an email? It doesn’t work, right? Well now it can. Synergy is an open source project that allows you to do…

Read More Read More