Skip to content

Instantly share code, notes, and snippets.

View binwiederhier's full-sized avatar

Philipp C. Heckel binwiederhier

View GitHub Profile
java.lang.RuntimeException: java.sql.SQLException: java.lang.OutOfMemoryError: Java heap space
at org.syncany.database.dao.FileVersionSqlDao.getFileTree(FileVersionSqlDao.java:400)
at org.syncany.database.dao.FileVersionSqlDao.getCurrentFileTree(FileVersionSqlDao.java:178)
at org.syncany.database.SqlDatabase.getCurrentFileTree(SqlDatabase.java:232)
at org.syncany.operations.status.StatusOperation.execute(StatusOperation.java:95)
at org.syncany.operations.up.UpOperation.checkPreconditions(UpOperation.java:445)
at org.syncany.operations.up.UpOperation.execute(UpOperation.java:130)
at org.syncany.operations.watch.WatchOperation.runSync(WatchOperation.java:254)
at org.syncany.operations.watch.WatchOperation.execute(WatchOperation.java:140)
at org.syncany.operations.daemon.WatchRunner$1.run(WatchRunner.java:83)
@binwiederhier
binwiederhier / README.md
Last active January 27, 2018 08:31
OpenSSH 6.6p1 patch: AuthorizedKeysCommand with additional argument <fingerprint>

Make and run

apt-get source openssh-server
apt-get install libssl-dev 
cd openssh-6.6p1

# Apply patch
patch -p1 openssh/openssh-6.6p1/auth2-pubkey.c < auth2-pubkey.c.patch
@binwiederhier
binwiederhier / gist:f59ac5f410263175ad5e
Created March 24, 2015 23:19
Syncany guide as man page
.\" Man page generated from reStructuredText.
.
.TH "SYNCANY" "1" "March 24, 2015" "0.2.1-alpha" "Syncany"
.SH NAME
syncany \- Syncany User Guide
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
/*
* Syncany, www.syncany.org
* Copyright (C) 2011-2014 Philipp C. Heckel <[email protected]>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
@binwiederhier
binwiederhier / gist:641c4fc59edcba456c0e
Created August 14, 2014 20:41
BZR bash completion
# Programmable completion for the Bazaar-NG bzr command under bash.
# Known to work with bash 2.05a as well as bash 4.1.2, and probably
# all versions in between as well.
# Based originally on the svn bash completition script.
# Customized by Sven Wilhelm/Icecrash.com
# Adjusted for automatic generation by Martin von Gagern
# Generated using the bash_completion plugin.
# See https://launchpad.net/bzr-bash-completion for details.