Skip to content

Instantly share code, notes, and snippets.

View rlinehan's full-sized avatar

Ruth Linehan rlinehan

View GitHub Profile
@rlinehan
rlinehan / preserved_lemon_red_lentil_soup.md
Created March 15, 2020 22:30
Recipe for easy and delicious preserved lemon red lentil soup

PRESERVED LEMON RED LENTIL SOUP

for 4-6 people

Ingredients

  • a couple spoons of coconut oil
  • a couple of shallots, chopped small (onion is just fine too)
  • a couple cloves of garlic if you want, also chopped small (I usually leave this out)
  • about a tablespoon of peeled and microplaned ginger
  • 1 tsp ground coriander
@rlinehan
rlinehan / scratch.clj
Last active August 29, 2015 14:23
Sample code to show bugs in jgit adding subdirectories with nested .git directories
(ns scratch
(:import (org.eclipse.jgit.api Git))
(:require [puppetlabs.enterprise.jgit-utils :as jgit-utils]
[me.raynes.fs :as fs]))
(defn jgit-trailing-slash-doesnt-work []
(let [git (-> (Git/init)
(.setDirectory (fs/file "/tmp/jgit-a"))
.call)
subproject-git (-> (Git/init)
@rlinehan
rlinehan / git-add-no-gitlink.sh
Last active July 17, 2018 01:31
Add the contents of any subdirectories with nested .git directories to the index, rather than adding them as gitlinks