The fit logo – Use of negative space in design

The Fit logo - Use of negative space

The Fit logo - Use of negative space

I love the use of negative space in design. One of my favorite logos using this technique.

Share this post
  • Facebook
  • Digg
  • del.icio.us
  • Google Bookmarks
  • StumbleUpon
  • Tumblr
  • RSS
  • Netvibes
  • Posterous
  • Technorati

How to install Git support on a Bluehost (or Hostmonster) shared account

I had a couple of sites hosted on a Bluehost shared account and I’ve recently moved from using SVN (Subversion) to Git (I’ll try to post soon a beginner’s guide to Git), and I really wanted a fast and feasible solution for the deployment of those sites updates (really a better way than to FTP the changes, believe me).

Bluehost doesn’t support Git “out of the box”, but if you have SSH access to your account (if you don’t, just open a support ticket and ask for it. Probably you’ll need to fax or e-mail them your ID card) you can install it yourself.

1. Log into your Bluehost account via the terminal with SSH: ssh youruser@yourdomain.com (you’ll be asked for the password) and you’ll get into your home dir:

Last login: Mon Nov  2 08:34:58 2009 from 253.116.54.71.rev.vodafone.pt
user@domain.pt [~]#

2. Now we need to download the Git software:

user@domain.pt [~]# wget http://kernel.org/pub/software/scm/git/git-1.6.5.2.tar.bz2

This will download the Git package (compressed as tar.bz2) into the home dir of our account (please note that I’m getting the last Git version available at the time of this post but you’ll want the latest one, so make sure to check the filename first on the Git website.

3. Extract the files from the downloaded package:

user@domain.pt [~]# tar -xjvf git-1.6.5.2.tar.bz2

4. Go into the extracted directory and compile Git:

user@domain.pt [~]# cd git-1.6.5.2
user@domain.pt [~]# make

5. This will take a couple of seconds. Then you’ll be ready to install it:

user@domain.pt [~]# make install

And that’s it! You now have Git installed on your Bluehost account!

Now you can type git and hit return and you’ll get the list of the Git commands:
git
usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
[-p|--paginate|--no-pager]
[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
[--help] COMMAND [ARGS]

The most commonly used git commands are:
add Add file contents to the index
bisect Find by binary search the change that introduced a bug
branch List, create, or delete branches
checkout Checkout a branch or paths to the working tree
clone Clone a repository into a new directory
commit Record changes to the repository
diff Show changes between commits, commit and working tree, etc
fetch Download objects and refs from another repository
grep Print lines matching a pattern
init Create an empty git repository or reinitialize an existing one
log Show commit logs
merge Join two or more development histories together
mv Move or rename a file, a directory, or a symlink
pull Fetch from and merge with another repository or a local branch
push Update remote refs along with associated objects
rebase Forward-port local commits to the updated upstream head
reset Reset current HEAD to the specified state
rm Remove files from the working tree and from the index
show Show various types of objects
status Show the working tree status
tag Create, list, delete or verify a tag object signed with GPG

See 'git help COMMAND' for more information on a specific command.
user@domain.pt [~]#

Share this post
  • Facebook
  • Digg
  • del.icio.us
  • Google Bookmarks
  • StumbleUpon
  • Tumblr
  • RSS
  • Netvibes
  • Posterous
  • Technorati

How to check the number of shutter actuations (shots) of a Nikon DSLR camera

Here’s a simple way to check the number of shutter releases (the real number of shots taken with a camera) for Nikon DSLR cameras (on other cameras or brands, I’m sure it’s really similar).

1. Take a photo with your camera or find the last photo stored in your computer (card, disk, whatever). The important thing to keep in mind is that it must be a photo taken with the camera without any external processing (NEF or RAW files, or untouched JPG’s). This information is stored in the EXIF data stored with the photo and it’s really easy to erase that information just by opening a JPG in Photoshop and saving it again.

2. Open the photo with Photoshop (I’ve used CS4, but CS3 and probably CS2 will be alright too). If it’s a RAW file, probably you’ll get the Camera RAW window first, so just hit Open Image on the bottom of the window to open it in Photoshop.

3. Go to File > File Info and you’ll have access to the photo’s metadata or EXIF information. The information is divided in tabs, so scroll to the ADVANCED tab and open the tree folder “Schema (http://ns.adobe.com/exif/1.0/aux/). The number of shots is stored in the aux:ImageNumber property.

Number of shots of a Nikon Camera

Number of shots in a Nikon Camera

Share this post
  • Facebook
  • Digg
  • del.icio.us
  • Google Bookmarks
  • StumbleUpon
  • Tumblr
  • RSS
  • Netvibes
  • Posterous
  • Technorati
Return top

What is this blog about?

Design, Web Development, Usability, User Experience, Photography and everything else including random rants about meaningless subjects