Skip to content

Instantly share code, notes, and snippets.

View antekpiechnik's full-sized avatar

Antek Piechnik antekpiechnik

View GitHub Profile

Keybase proof

I hereby claim:

  • I am antekpiechnik on github.
  • I am antekpiechnik (https://keybase.io/antekpiechnik) on keybase.
  • I have a public key ASCKLewYHOu1-dcFNIPUD4O8DfQRxWIth_vASPJwZ51w5go

To claim this, I am signing this object:

array.flatten
#!/bin/bash
echo "Checking for gcc.."
command -v gcc --version >/dev/null 2>&1 || { echo >&2 " It's not installed. Please download the latest Command Line Tools for XCode"; open http://developer.apple.com/downloads; exit 1; }
echo "Checking for SSH key, generating one if it doesn't exist.."
[[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa
echo "Copying public key to clipboard. Paste it into your Github account.."
[[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | pbcopy
Fingertips is a small high-end design and development team for web, iPhone, iPad, and Mac OS X applications.