I use screenshots all the time! Combined with CloudApp screenshots are a really fast and easy way to share visual information between colleagues and clients.
If you don't already know how to take a screenshot on Mac OS X, simply press shift + cmd + 3 or shift + cmd + 4 to take a section of the screen.
The problem with taking a lot of screenshots is that your desktop soon fills up with dozens of image files - making it difficult to sort through. Here's my solution to keeping your screenshots in check:
Open terminal (Applications > Utilities Terminal) and type the following commands:
mkdir ~/Screenshots
defaults write com.apple.screencapture location /Users/[YourUsername]/Screenshots
note - replace [YourUsername] with your apple user name. In my case /Users/Gavin/Screenshots
Now log out of OS X and log back in.
From now on your screenshots should be saved to /Users/YourName/Screenshots
I've spent the day trying to install erlang on OS Lion and also to install Riak Search - quite frustrating to say the least.
The installation instructions on the basho site don't seem to work as they link to a tar ball that doesn't seem to exist.
Here's how I managed to install RiakSearch on OS Lion:
$ curl -O http://downloads.basho.com/riak-search/riak-search-0.14/riak_search-0.14.0-osx-i386.tar.gz
$ tar xzvf riak_search-0.14.0-osx-i386.tar.gz
The tar ball is precompiled so you should be able to test if it worked simply by typing:
$ riak_search-0.14.0-osx-i386/bin/riaksearch start
Note - that the time of writing, the latest version is 0.14.0. You can check for the latest version by looking in the riak downloads directory
Hope that helps.
If you've just upgraded to Mac OS Lion, you might have a little trouble installing erlang.
If you're like me, and would rather not spend an entire day compiling code, try running these steps below. Note, this should be run on a freshly unpacked tar ball as Erlang's make clean doesn't clean everything properly.
# download the tar ball
$ wget http://erlang.org/download/otp_src_R13B04.tar.gz
# unpack the tar ball
$ tar zxvf otp_src_R13B04.tar.gz
# cd to the directory
$ cd otp_src_R13B04
# This will prepare the Makefile
$ CFLAGS=-O0 ./configure --prefix=/usr/share/erlang --enable-threads --enable-darwin-64bit
# Compile and install
$ make && sudo make install
Now, add the following to ~/.bash_profile:
# For erlang
# I was told to add this by Gavin Morrice: http://gavinmorrice.com/blog_posts/12
ERLANG_HOME=/usr/share/erlang
export PATH=$PATH:$ERLANG_HOME/bin
Save .bash_profile and then run:
You can check that Erlang is now working with the shell command erl