Given a set of documents, each associated with multiple tags, how can I retrieve the documents tagged with an arbitrary set of tags?
My solution
# SUPER DARING APP TEMPLATE 1.0 | |
# By Peter Cooper | |
# Link to local copy of edge rails | |
inside('vendor') { run 'ln -s ~/dev/rails/rails rails' } | |
# Delete unnecessary files | |
run "rm README" | |
run "rm public/index.html" | |
run "rm public/favicon.ico" |
#!/bin/sh -e | |
# Usage: license | |
# Prints an MIT license appropriate for totin' around. | |
# | |
# $ license > COPYING | |
year=`date "+%Y"` | |
cat <<EOF | |
Copyright (c) $year Amedeo Paglione | |
Permission is hereby granted, free of charge, to any person obtaining |
brew install -v tmux | |
==> Build Environment | |
CC: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CXX: /usr/bin/c++ => /usr/bin/c++-4.2 | |
LD: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CFLAGS: -O3 -march=core2 -msse4 -w -pipe | |
CXXFLAGS: -O3 -march=core2 -msse4 -w -pipe | |
MAKEFLAGS: -j8 | |
==> Downloading http://downloads.sourceforge.net/tmux/tmux-1.3.tar.gz | |
File already downloaded and cached to /Users/iluvatar/Library/Caches/Homebrew |
#! /bin/sh | |
lastversion=`ls -d /usr/local/Cellar/macvim/* | sort -n | tail -1` | |
cwd=`pwd` | |
cd $lastversion/MacVim.app/Contents/MacOS | |
exec ./Vim -c "cd $cwd" "$@" |
I hereby claim:
To claim this, I am signing this object: