Skip to content

Instantly share code, notes, and snippets.

View OothecaPickle's full-sized avatar

OothecaPickle

View GitHub Profile
@lukeman
lukeman / gist:2155355
Created March 22, 2012 03:06
Apple Domains
#! /usr/bin/perl
# version 1.1
# if the host+path are in matrix then the redirect is to a single location
# if just the host is in matrix then the redirect is to host+the request uri
# nwk-productred 17.149.160.28&nbsp&amp&nbsp17.172.224.28
#
# to distibute this file us /usr/local/scr/distfilex
#
#
@silent1mezzo
silent1mezzo / 0fixup.md
Last active October 15, 2024 06:44 — forked from SethRobertson/index.md
On undoing, fixing, or removing commits in git

A git choose-your-own-adventure!

This document is an attempt to be a fairly comprehensive guide to recovering from what you did not mean to do when using git. It isn't that git is so complicated that you need a large document to take care or your particular problem, it is more that the set of things that you might have done is so large that different techniques are needed depending on exactly what you have done and what you want to have happen.