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
# Rename tags named 1.X.X to 1.0X.X and push the tag changes | |
git tag -l | grep 1. | while read t; do n="1.0${t#*.}"; echo $n; git tag $n $t; git push --tags ; git tag -d $t; git push origin :refs/tags/$t ; done |
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
*.ods diff=odf | |
*.odt diff=odf | |
*.odp diff=odf | |
*.pdf diff=pdf | |
*.PDF diff=pdf | |
*.apk diff=apk | |
*.bz2 diff=bz2 | |
*.gz diff=gzip | |
*.zip diff=zip | |
*.tar diff=tar |
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
#!/usr/bin/env python | |
import httplib, urllib | |
import argparse | |
def main(): | |
parser = argparse.ArgumentParser( | |
description='send pushover.net notification') | |
parser.add_argument('note', metavar='note', default=['(no note)'], nargs='*') | |
args = parser.parse_args() |