Skip to content

Instantly share code, notes, and snippets.

View offby1's full-sized avatar

Eric Hanchrow offby1

View GitHub Profile
;; How I do it:
[remote "work"]
url = my-work-machine:project-dir
push = +refs/heads/master:refs/heads/work-at-home
fetch = +refs/heads/master:refs/heads/master
;; comments are fun
From a3ce71866ca0e1d427964acbdf0f8c09c772285f Mon Sep 17 00:00:00 2001
From: Eric Hanchrow <eric.hanchrow@gmail.com>
Date: Thu, 4 Dec 2008 16:59:30 -0800
Subject: [PATCH] try to fix SHA1 of rinari submodule
---
site-lisp/rinari | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/site-lisp/rinari b/site-lisp/rinari
#!/bin/sh
# Your challenge: figure out why the "sleep-for" in the emacs lisp
# below seems to return in far less than five seconds
EMACS=/usr/local/src/emacs-with-my-tweaks.git/src/emacs
cd /tmp
rm -rf xyzzy test-output
git submodule add git://github.com/eschulte/rinari.git vendor/rinari
git submodule add git://github.com/defunkt/markdown-mode.git vendor/markdown-mode
git submodule add git://github.com/crafterm/twilight-emacs.git vendor/twilight-emacs
git submodule add git://github.com/avvo/fuzzy-find-in-project.git vendor/fuzzy-find-in-project
git submodule add git://github.com/technomancy/magit.git vendor/magit
git submodule add git://github.com/defunkt/cheat.el.git vendor/cheat.el
git submodule add git://github.com/defunkt/gist.el.git vendor/gist.el
git submodule add git://github.com/defunkt/textmate.el vendor/textmate.el
15:09:25 [erich@debian z]$ sh -x /tmp/hmm
+ echo bin/
+ mkdir bin
+ touch bin/foo
+ touch fooey
+ git init
Initialized empty Git repository in /tmp/z/.git/
+ git add .
+ git show
fatal: bad default revision 'HEAD'
#!/bin/sh
for d in . Documentation
do
make -j3 --directory $d all install prefix=/usr/local/stow/git
done
@@ -293,10 +295,12 @@
(define (reply fmt . args)
(let* ((response-target (*response-target*))
(for-whom (*for-whom*))
+ (master-prefix (if (is-master?) "*" ""))
(response-prefix (if (equal? response-target for-whom)
""
(format "~a: " for-whom))))
- (pm response-target "~a~a" response-prefix (apply format fmt args))))
+ (pm response-target "~a~a~a" master-prefix
date ; whois google.com
Mon Jan 26 19:34:58 PST 2009
Whois Server Version 2.0
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.
Server Name: GOOGLE.COM.ZZZZZ.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM
# terminology
^^[[TOC]]^^
### general VCS terminology
A **project** is the minimum set of source code (and related files) that need
to be kept together to **build** the software. Example: Linux
* each project will have one **repository**
#!/bin/sh
# See if git-svn really does let me dcommit to more than one branch.
#set -x
set -e
base=/tmp/experiment
rm -rf $base
mkdir -p $base