Skip to content

Instantly share code, notes, and snippets.

View Haehnchen's full-sized avatar

Daniel Espendiller Haehnchen

View GitHub Profile
@Haehnchen
Haehnchen / git-mv-with-history
Created February 5, 2016 09:22 — forked from emiller/git-mv-with-history
git utility to move/rename file or folder and retain history with it.
#!/bin/bash
#
# git-mv-with-history -- move/rename file or folder, with history.
#
# Moving a file in git doesn't track history, so the purpose of this
# utility is best explained from the kernel wiki:
#
# Git has a rename command git mv, but that is just for convenience.
# The effect is indistinguishable from removing the file and adding another
# with different name and the same content.
@Haehnchen
Haehnchen / my_build.sh
Created November 30, 2011 18:12 — forked from chikuzen/my_build.sh
How to compile libav/x264cli on windows
#!/bin/bash
# CAUTION!!! THIS SCRIPT IS NO WARRANTY!!!
: << _COMMENT_
How to compile libav/x264 binaries for both 32bit and 64bit on Windows
At first, you should install Git into your Windows.
1. Download Git from
http://msysgit.googlecode.com/files/Git-1.7.6-preview20110708.exe