Dramatically speed speed up sites hosted using Mac OS X 10.9 Mavericks Server (like SocialEngine, Drupal, WordPress, or other PHP/MySQL web site) by adding APC and Memcache.
Here’s how to install APC and memcache on Mac OS X Mavericks server, which runs PHP 5.4:
Because Mavericks server uses PHP 5.4, any extensions you may have compiled for previous versions of Mac OS X (such as memcache, apc, mcrypt) need to be recompiled and reinstalled.
This post assumes you used MacPorts to compile and install the PHP extensions in question. Here’s how to accomplish the task:
I’m curious whether for-pay Facebook like sites like boostlikes really work. They have a free offer whereby one can gain 250 Facebook likes from “real” people. The catch? I have to post their URL to my site. Well, here we go. They claim I’ll notice results in 4-7 days. I’ll report back the results here. For the record, my page (which will be undisclosed) currently has 96 likes.
boostlikes even claims to be able to deliver likes from US-based Facebook users. Of course, that’s a premium price, but those are probably a) more valuable to US-based businesses; b) resonate better with US-based consumers; and c) cost more for boostlikes to acquire.
— Follow up: November 13, 2013 —
Last night I received notice from boostlikes that they kicked off my free campaign at 9:05 p.m. Within minutes I had 446 page likes, a gain of 350 likes. Most are from users with names of a Hispanic origin.
On the web, we’re often presented with a list of values that we need to display in a comma-separated manner.
For example, perhaps I would rather display a list of city names like Amsterdam London Paris Berlin as:
Amsterdam, London, Paris, and Berlin.
I recently “obtained” some video files which had 5.1 surround sound encoded as AAC, but AppleTV does not play multichannel audio in AAC format.
While AppleTV can play back stereo or Dolby Pro Logic II in AAC format, it requires multichannel audio be encoded as AC3. None of these “acquired” MP4s have AC3 5.1 6-channel audio!
I could encode the file again, but that takes to much time. Is there a way I can just add or import AC3 multichannel audio to my existing video files?
The short answer is yes.
Apple prevents computers with USB drives from installing Windows from a USB flash drive on certain models. While it works flawlessly on my current gen MacBook Air, installing Windows 7 off a USB key doesn’t work on my iMac.
Luckily, the fix is easy…
When I have weird printing problems, this interface comes in handy: http://localhost:631
Right Click, Open With… has lots of duplicates!
Every once in awhile, Mac OS X seems to lose it’s way with regard to the apps it shows when you right click on a file, and choose “Open With.” For some reason, this is particularly pronounced in Mountain Lion (Apple’s buggiest OS to date).
Here’s how to fix the problem:
I recently worked on a project where we dynamically displayed page content with a single PHP script. But we didn’t want to display the PHP script name, variables and their values in the URL.
Hold down any key and you’ll get the special characters mapped to it. For example, if you’re writing “señor,” simply press and hold the “n” key longer than normal and you’ll get a popup menu with choices. An example of OS X taking a page out of the iOS usability guide.