Skip to content

Instantly share code, notes, and snippets.

@resuscv
resuscv / README-homedir.md
Created February 22, 2013 09:15
How to set up my home directory on a new machine using vcsh and mr

Setting up my home directory on a new machine

Install vcsh and mr

mkdir ~/bin
export PATH=$HOME/bin:$PATH
SW=~/software/git
mkdir -p ${SW}
cd !$

Clone mr and make it available

#!/bin/bash -e
#
# Script to test git-annex direct mode.
sudo rm -rf test{1,2,3}
D=`pwd`
mkdir test1
(cd test1; git init; git annex init "test1"; date > test.file; git annex add test.file; git commit -m "Initial commit";)
@resuscv
resuscv / gist:3167798
Created July 24, 2012 03:15
Compiling git-annex on OSX
I came across an issue when following the instructions here:
http://git-annex.branchable.com/install/OSX/
I'm compiling the 'assistant' branch (522f568450a005ae81b24f63bb37e75320b51219).
The pre-compiled version of Haskell for OSX recommends the 32 bit installer, however git-annex compiles
Utility/libdiskfree.o Utility/libkqueue.o Utility/libmounts.o
as 64 bit. The 'make' command fails on linking 32- and 64-bit code.
@resuscv
resuscv / git-annex_install_notes-Fedora.txx
Created May 29, 2011 08:24
Notes for setting up git-annex (http://git-annex.branchable.com/) on Fedora 14
# This is very similar to installing on OSX (unsurprisingly)
# Based on my gist https://gist.github.com/982148
# This is for version 86c5bd0
sudo yum install ghc cabal-install
sudo cabal update
sudo cabal install missingh
sudo cabal install utf8-string
sudo cabal install pcre-light
sudo cabal install quickcheck
@resuscv
resuscv / git-annex_install_notes.txt
Created May 20, 2011 01:11 — forked from wizardishungry/git-annex_install_notes.txt
Notes for setting up git-annex (http://git-annex.branchable.com/) on MacOS X 10.6 w/ MacPorts
sudo port install haskell-platform git-core ossp-uuid md5sha1sum coreutils
sudo port install pcre
sudo cabal update
sudo cabal install missingh
sudo cabal install utf8-string
sudo cabal install pcre-light
sudo cabal install quickcheck
sudo cabal install SHA
sudo cabal install dataenc