Skip to content

Instantly share code, notes, and snippets.

View toebbel's full-sized avatar

Tobias Frostenberg toebbel

  • Sweden
  • 14:42 (UTC +02:00)
View GitHub Profile
#!/bin/bash
# git pre-commit hook that runs an clang-format stylecheck.
# Features:
# - abort commit when commit does not comply with the style guidelines
# - create a patch of the proposed style changes
# modifications for clang-format by rene.milk@wwu.de
# This file is part of a set of unofficial pre-commit hooks available
# at github.
@toebbel
toebbel / install_mosh_locally.sh
Last active September 19, 2016 14:56 — forked from lazywei/install_mosh_locally.sh
Install mosh server without root permission
#!/bin/sh
# this script does absolutely ZERO error checking. however, it worked
# for me on a RHEL 6.3 machine on 2012-08-08. clearly, the version numbers
# and/or URLs should be made variables. cheers, zmil...@cs.wisc.edu
mkdir mosh
cd mosh