Skip to content

Instantly share code, notes, and snippets.

View TSchuermans's full-sized avatar

Tom Schuermans TSchuermans

View GitHub Profile
brew bundle
brew bundle dump
@TSchuermans
TSchuermans / add.fish
Created August 30, 2017 11:18
autojump add
for dir in (find /Users/bob/projects/ -type d -maxdepth 1)
j -a $dir
end
@TSchuermans
TSchuermans / use.fish
Last active August 30, 2017 11:18
autojump usage
j projectX
@TSchuermans
TSchuermans / install.fish
Last active August 30, 2017 11:18
autojump install
brew install autojump
@TSchuermans
TSchuermans / config.fish
Created August 30, 2017 11:12
autojump config
[ -f /usr/local/share/autojump/autojump.fish ]; and source /usr/local/share/autojump/autojump.fish
@TSchuermans
TSchuermans / init-commit-msg.sh
Last active March 29, 2016 18:00
init-commit-msg.sh
# If the project does not have a repository yet, initialise it.
git init
# Rename the sample hook file
mv ./.git/hooks/commit-msg.sample ./.git/hooks/commit-msg
# Make the hook file executable
chmod +x ./.git/hooks/commit-msg
# Edit the hook file with your editor (atom, vi, sublime, ...)
atom ./.git/hooks/commit-msg
# Paste the content of
# https://gist.github.com/TSchuermans/eecf5c4c23aa96689445bb9f6103d75c
@TSchuermans
TSchuermans / commit-msg
Last active March 29, 2016 17:47
commit-msg
#!/usr/bin/env bash
# .git/hooks/commit-msg
pattern="(JIRA|PROJECTKEY)\-[0-9]"
check=$(grep -E "${pattern}" "${1}")
if [[ "${check}" != "" ]]; then
exit 0
else
@TSchuermans
TSchuermans / .gitconfig
Created March 18, 2016 09:33
logcompare.sh
[alias]
logcompare = "!f() { git log --oneline --decorate develop..$(git rev-parse --abbrev-ref HEAD); }; f"
@TSchuermans
TSchuermans / keybase.md
Created August 14, 2014 07:32
Keybase verification

Keybase proof

I hereby claim:

  • I am TSchuermans on github.
  • I am tschuermans (https://keybase.io/tschuermans) on keybase.
  • I have a public key whose fingerprint is F79F 9AC3 9034 521C 3011 108A 87AD 5177 5EBF 307B

To claim this, I am signing this object: