This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This script will add the branch name every time the commit command is executed. | |
# To activate it: | |
# - Copy it to /path/to/your/git/repository/.git/hooks/ | |
# Getting the branch name | |
NAME=$(git rev-parse --abbrev-ref HEAD) | |
# Prepending the branch name to the commit message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Lots of useful transformations: http://www.imagemagick.org/Usage/transform/ | |
# The following command will concatenate vertically all the pngs of the current directory. | |
# If there are 10 or less images only out.png will be generated, | |
# otherwise out-0.png, out-1.png, ... files will be generated. | |
montage -mode concatenate -tile 1x10 *.png out.png | |
# To ensure that the background is transparent |