Skip to content

Instantly share code, notes, and snippets.

wrangling code

Sam Deane samdeane

wrangling code
View GitHub Profile

Keybase proof

I hereby claim:

  • I am samdeane on github.
  • I am samdeane ( on keybase.
  • I have a public key ASD7E3R8Nv9oO_v_td5Q1XMtU0iWVjcvgtdV8Lp7YEBiAAo

To claim this, I am signing this object:

# Create a RAM disk with same perms as mountpoint
# Script based on with some additions
# Usage: sudo ./ start
samdeane /
Created Aug 19, 2012
Script to move a git repo containing absolute gitdir and worktree submodule paths
#!/usr/bin/env bash
# Fix up a git repo containing submodules that have absolute paths which have changed.
# Note that this doesn't do the *proper* fix, which is to turn the absolute paths into
# relative paths. This is possible, but would require a lot more logic because the relative
# paths would be different in each case.
# What it does instead is a pragmatic workaround, which is to search & replace the old
# path with a new (and presumably correct) one. This will get you up and running again.
samdeane / GlobalSettings.plist
Created Aug 2, 2012
Script for generating appledoc docs
View GlobalSettings.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<string>Elegant Chaos</string>