Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo
Delivered-To: michael@stroeck.com | |
Received: by 10.152.6.135 with SMTP id b7csp766829laa; | |
Thu, 21 Aug 2014 02:32:40 -0700 (PDT) | |
X-Received: by 10.50.115.73 with SMTP id jm9mr2899754igb.3.1408613554382; | |
Thu, 21 Aug 2014 02:32:34 -0700 (PDT) | |
Return-Path: <pm_bounces@pm.mtasv.net> | |
Received: from sc-ord-mta118.mtasv.net (sc-ord-mta118.mtasv.net. [50.31.156.118]) | |
by mx.google.com with ESMTPS id h1si29180296icz.77.2014.08.21.02.32.33 | |
for <michael@stroeck.com> |
Source: http://willandorla.com/will/2011/01/convert-folder-into-git-submodule/
$ git clone --no-hardlinks original-repo copied-repo
# Example nginx + git HTTP Smart mode (git-http-backend) + HTTP Authentication + HTTPS redirect | |
# jeroen@massar.ch - http://jeroen.massar.ch | |
server { | |
listen 192.0.1.1:80; | |
listen [2001:db8::1]:80; | |
# Redirect all non-HTTPS traffic to the HTTPS variant | |
return 301 https://$host$request_uri; | |
} |
set nocompatible | |
set number | |
set ruler | |
syntax on | |
" Set encoding | |
set encoding=utf-8 | |
" Whitespace stuff |
export PATH=/usr/local/bin:$PATH | |
export PATH=/usr/local/share/python:$PATH | |
export PYTHONPATH=/usr/local/lib/python:$PYTHONPATH | |
export EDITOR=mvim | |
alias ls="ls -G" | |
export LSCOLORS=dxfxcxdxbxegedabagacad | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
PS1="\w\$(parse_git_branch) $ " |
.fb_access_token | |
.fbconsole.py |
; START:ns | |
(ns examples.exploring | |
(:use examples.utils clojure.contrib.str-utils) | |
(:import (java.io File))) | |
; END:ns | |
; START:date | |
(defn date [person-1 person-2 & chaperones] | |
(println person-1 "and" person-2 | |
"went out with" (count chaperones) "chaperones.")) |
set nocompatible | |
set number | |
set ruler | |
syntax on | |
" Set encoding | |
set encoding=utf-8 |
#!/usr/bin/perl | |
# | |
# Un-MIME regular message from stdin. | |
# Non-text version saved in directory ~/mail/MIME and proper indication is | |
# left in the dumped message. Text is otherwise dumped and deleted from there. | |
# | |
# Intended to be used with mailagent thanks to the following incantation rule: | |
# | |
# Mime-Version: /^\d/ { SAVE +mime; FEED ~/mail/unmime; RESYNC; REJECT }; | |
# |
#!/bin/sh | |
# eps2svg: EPS to SVG vector command line image converter | |
# David Griffith <davidgriffith@acm.org> | |
# Created March 30, 2009 and released into the public domain | |
# The programs pstoedit and skencil are required. | |
EXT="svg" | |
USAGE="usage: eps2svg [-v] input.eps [output.svg]\n -v verbose mode" |