Skip to content

Instantly share code, notes, and snippets.

@ruediger
ruediger / gist:8964387
Last active August 29, 2015 13:56
git-remote-bzr error
$ git pull
fatal: mark :399671 not declared
fast-import: dumping crash report to .git/fast_import_crash_4248
fatal: Error while running fast-import
Traceback (most recent call last):
File "/usr/bin/git-remote-bzr", line 952, in <module>
sys.exit(main(sys.argv))
File "/usr/bin/git-remote-bzr", line 936, in main
do_import(parser)
File "/usr/bin/git-remote-bzr", line 398, in do_import
@ruediger
ruediger / hermsk.sh
Last active August 29, 2015 13:58
run hermsk
#!/bin/bash
function die() {
echo "Error: ${@}!" >&2
exit 1
}
: "${INPUT_DATA_PATH:=~/develop/hermsk/mpauli/}"
input=
@ruediger
ruediger / quiz.c++
Created April 15, 2014 19:13
C++11 Quiz
// Quick C++11 Quiz
typedef istreambuf_iterator<char> iter;
stringstream ss("a");
iter const i(ss);
iter j(i);
iter const end;
++j;
cout << boolalpha << (j == end) << " " << (i == end) << endl;