Move Cornerstone SVN client settings and data to new computer

I use Cornerstone as my app of choice to manage those repositories. Combined with Unfuddle, it’s a wonderful combination for remote programming teams. I recently had the need to rebuild my Mac OS X desktop computer at work. I have a fair number of SVN repositories and working copies on my machine.

Anyway, I backed up all my Mac (including working directories), then formatted my hard drive. After reinstalling everything, I copied the working directories back to their original location, then copied these file, using terminal, from the backup to the new installation:

Preferences:

Registration Databases and Transcripts:

And everything is working perfectly again!

Adding SSL certificate to Mavericks Server 3 on Mac OS X 10.9

I wanted to add a cheap SSL certificate to my Mac OS X Mavericks 10.9.1 server. I purchased a Comodo PositiveSSL certificate for $9 from Namecheap.com. After generate the signed certificate request using the Server.app tool, I followed their directions and finally got the certificate. But after installing it, Server.app and Keychain both reported that “this certificate was signed by an unknown authority.” What gives?

Well, simply put, Mac OS X doesn’t recognize PositiveSSL as a certificate authority. So I needed to import their root certificate. Here’s how. In Keychain.app, search for your certificate based on the hostname that it’s assigned. Double click that cert, and scroll down to find the PositiveSSLCA2.crt. Click the link, which will download the cert. Then double click the downloaded .crt file and add it to your system keychain. Voila. All is well.

Test whether outbound port is open on Mac OS X 10.9, 10.8, 10.7

Wondering if a certain outbound port on your Mac is open or closed? Here’s a way to test if that port is open using netcat via the command line in terminal, using a free service from portquiz.net:

From terminal, enter:

where 443 is the port number you want to test.

Control-c will kill net cat after you get the info you want.

Install memcached and APC on Mavericks Server 3 (Mac OS X 10.9)

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:

Continue reading

Rebuilding PHP extensions to work with Mac OS X Mavericks server and 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:

Continue reading

Experiments with boosting social media likes

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.