Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
| /*global module:false*/ | |
| module.exports = function(grunt) { | |
| var CSS_DIR = 'src/css/'; | |
| var JS_DIR = 'src/js/'; | |
| var BUILD_DIR = '../build/'; | |
| // Project configuration. | |
| grunt.initConfig({ |
| #!/bin/sh | |
| git filter-branch --env-filter ' | |
| an="$GIT_AUTHOR_NAME" | |
| am="$GIT_AUTHOR_EMAIL" | |
| cn="$GIT_COMMITTER_NAME" | |
| cm="$GIT_COMMITTER_EMAIL" | |
| if [ "$GIT_COMMITTER_EMAIL" = "[email protected]" ] |
| # Copyright (C) 2011 Anurag Priyam - MIT License | |
| module Jekyll | |
| # Jekyll plugin to generate tag clouds. | |
| # | |
| # The plugin defines a `tag_cloud` tag that is rendered by Liquid into a tag | |
| # cloud: | |
| # | |
| # <div class='cloud'> |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| /******************** | |
| * TOOLTIP CSS | |
| */ | |
| .nvtooltip { | |
| position: absolute; | |
| background-color: rgba(255,255,255,1); | |
| padding: 10px; | |
| border: 1px solid #ddd; |
| /** | |
| * LESS mixin for Nash Image Replacement (http://nicolasgallagher.com/css-image-replacement-with-pseudo-elements/) | |
| */ | |
| .nir(@image, @width: 100%, @height: 100%) { | |
| display: inline-block; overflow: hidden; width: @width; height: @height; | |
| &:before { | |
| content: url(@image); | |
| display: inline-block; line-height: 0; font-size: 0; | |
| } |
| # Updated version is always at: https://gist.github.com/febuiles/1549991 | |
| #!/bin/bash | |
| artist=`osascript -e'tell application "iTunes"' -e'get artist of current track' -e'end tell'` | |
| title=`osascript -e'tell application "iTunes"' -e'get name of current track' -e'end tell'` | |
| song=`curl -s --get "https://makeitpersonal.co/lyrics" --data-urlencode "artist=$artist" --data-urlencode "title=$title"` | |
| echo -e "$artist - $title\n$song" |
| alias server='open http://localhost:8000 && python -m SimpleHTTPServer' |
| TODO | |
| Improved year labels (mouseover -> shows full name in tooltip) |