Fixing SVN hangs on OSX

I’m writing this, right here, so i know where to pick it up next time i get the same issue. Thanks to Jonathan, who wrote this awesome post, and saved me quite a lot of time.

Long short story, it seems there is a buggy library on OSX, that produces broken SSL connections to hang for quite some time. Workaround?

[cc lang=’bash’]sudo port install neon[/cc]

That should upgrade the faulty library, and fix this annoying issue.

SSH SFTP Updater : “Private key incorrect for user”

If you’re using WordPress SSH SFTP Updater plugin, and you got the error “Private Key is Incorrect for use”… even when the keys are correct, check the following:

[cc lang=”bash”]nano /etc/ssh/sshd_config[/cc]

If there is a “ForceCommand internal-sftp” directive, somewhere, in sshd’s config, try disabling it. That was what was causing me issues:

I had an sftp-only user, and the WP plugin doesn’t support that!.

Dropping a MongoDB Database

I’m writing this down, riiight here, because i just got bored of searching this in google everytime i need to run an experiment.
If you need to drop a mongo database, just fire the mongo shell and type:

[cc lang=”javascript”]
use mydb;
db.dropDatabase();
[/cc]

That’s it!

Install Lynx on Max OSX

This task is pretty straightforward. At least if you already’ve got MacPorts installed.
(If you don’t have macports, please, head on to this website and get it, it’s extremely useful to geeky users).

Let’s proceed.!. Open a Terminal window, and type the following command

[cc lang=”bash”]sudo port install lynx[/cc]

That’d be all. To test Lynx, type the following:

[cc lang=”bash”]lynx www.lantean.co[/cc]

If everything went fine, you should see something like this:
Lynx Mac