Skip to content

Instantly share code, notes, and snippets.

Avatar

Tobias Sturm toebbel

View GitHub Profile
@toebbel
toebbel / install_mosh_locally.sh
Last active Sep 19, 2016 — forked from lazywei/install_mosh_locally.sh
Install mosh server without root permission
View install_mosh_locally.sh
#!/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
View pre-commit-clang-format
#!/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.