How to keep OSX awake

If you have long-running tasks you surely want to keep your Mac awake to at allow them to complete, or more. A lot of GUI applications claimed to fit the bill but the first one I tried let the Mac go to sleep! The solution is caffeinate; run it from the terminal.
ADDENDUM
Here is the flag for preventing the machine from sleeping, perhaps the most important one:

-s      Create an assertion to prevent the system from sleeping. This asser-
             tion is valid only when system is running on AC power.

How the OSX firewall and Little Snitch work together

Coming from UNI*, you might be wondering, like me, exactly how the OSX firewall and Little Snitch play together. It is really simple, and explained here by the author:

  • LittleSnitch is an application level firewall. It does not operate anywhere near the network stack or kernel.
  • LittleSnitch is not stateful.
  • LittleSnitch has its rules applied after the OSX firewall. The OSX firewall comes first in the filter chain.
  • The OSX firewall should remain turned on. LittleSnitch supplements, but does not replace, the OSX firewall.

Addendum: 2014-05-12
My initial configuration of LittleSnitch was the default with preconfigured acceptances and blockades. Its alerts have been very helpful in helping to educate me on what exactly is running, and what it is doing, without having to assumedly sit at the terminal with a sniffer or netstat.
One thing that I’ve found helpful is to get into the “application firewall” mentality of thinking about how generally you would like a program to behave. The granularity is as you would expect, as broad or granular as you wish. One of the time savers using an app like this is that you may simply configure it as you go via its pop up messages. Every time that you receive one you may think as much or as little about what it is telling you, with ease, since you can go back to edit your rules (delete, persist, or create new) with only two clicks. The UI is quite pleasant given the number of variables that one may want to tweak for a non-trivial setup; for my initial trivial use it is quite nice to use, which is important, too.
Addendum: 2014-05-12
The key point that I failed to mention is that is LittleSnitch is primarily for firewalling outgoing network connections and only recently added support for firewalling incoming network connections.

Simple OSX key swap and trackpad ease

This article describes a tool for remapping your Mac laptop keyboard. Initially I took the simpler route and swapped caps lock with control and command with option in the system preferences menu. That was OK until I remembered that I had wanted to have a right control key on the laptop. Oops.
The solution was simple, installing KeyRemap4Macbook and checking a single setting, Command_R to Control_L was all it took. Thanks Bozhidar!
Now you may have been daunted by the configuration menu but take it as an opportunity to learn about some valuable ways to configure things. What was delightful for me to learn about was its Multi-touch extension feature (sorry no direct link) which is based on ThumbSense. Very cool and very nice looking if you want to enjoy a trackpad without having to contort your hands just to get a mouse click (if you don’t have a Macbook of course).