Provides Git hook enforcing commit message.
- first line length must be less than 50 characters.
- if applicable, second line may be empty.
- length of every lines may be less than 72 characters.
| #!/bin/bash | |
| JAVA="jdk-8u5-linux-x64" | |
| JAVA_URL="http://download.oracle.com/otn-pub/java/jdk/8u5-b13/$JAVA.tar.gz" | |
| wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" $JAVA_URL | |
| mkdir -p ~/java | |
| tar -xzf $JAVA.tar.gz -C ~/java --strip-components=1 |
| #!/usr/bin/awk -f | |
| # Python logs beautifier | |
| # Handled multi-line errors when each line starts with the ↪ | |
| # Example of usage: | |
| # tail -f celery.log | hip-py-log | |
| BEGIN { | |
| # color code of the previous line |
| #!/bin/sh -e | |
| PREFIX=${PREFIX:-/usr} | |
| NAME=${NAME:-docker-compose} | |
| DOCKERCOMPOSE_VERSION=${DOCKERCOMPOSE_VERSION:-1.1.0} | |
| VENV_PATH="${PREFIX}/${NAME}" | |
| VIRTUALENV=${VIRTUALENV:-virtualenv} | |
| if ! [ -d "$PREFIX" ] ; then |
| ### Keybase proof | |
| I hereby claim: | |
| * I am tristan0x on github. | |
| * I am tristan0x (https://keybase.io/tristan0x) on keybase. | |
| * I have a public key whose fingerprint is 63C2 4004 C26B 04ED 7748 6EED FDDB 2531 06F6 1CF5 | |
| To claim this, I am signing this object: |
| --- | |
| Language: Cpp | |
| BasedOnStyle: LLVM | |
| AlwaysBreakTemplateDeclarations: true | |
| BraceWrapping: | |
| FixNamespaceComments true | |
| IncludeCategories: | |
| IndentWidth: 4 | |
| PointerAlignment: Left |
| --- | |
| Language: Cpp | |
| BasedOnStyle: LLVM | |
| AlwaysBreakTemplateDeclarations: true | |
| BraceWrapping: | |
| FixNamespaceComments: true | |
| IndentWidth: 4 | |
| PointerAlignment: Left |
| /* | |
| MIT License | |
| Copyright (c) 2017 Tristan CAREL | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |