Skip to content

Instantly share code, notes, and snippets.

View caspre24's full-sized avatar

Carsten Sprung caspre24

View GitHub Profile

Keybase proof

I hereby claim:

  • I am caspre24 on github.
  • I am caspre24 (https://keybase.io/caspre24) on keybase.
  • I have a public key whose fingerprint is 1BEC 8FF8 BBAB 2A30 F7B0 12B7 E163 9296 508B 1994

To claim this, I am signing this object:

#!/bin/bash
cwd=$PWD
cd /usr/local/bin
wget https://raw.githubusercontent.com/aurora/rmate/master/rmate
chmod +x rmate
if [ -z "$1" ]; then
par=""
@caspre24
caspre24 / git-hooks.sh
Created June 25, 2021 11:57 — forked from MrSwed/git-hooks.sh
Enable or Disable git hooks
#!/usr/bin/env bash
# Enable or disable git hooks
gitRoot=$(git root)
gitHooks=".git/hooks"
echo "git Hooks $gitRoot/$gitHooks"
option="${1}"
case ${option} in