- Update HISTORY.md
- Commit the changes:
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
| # 5000 unique bash history lines that are shared between | |
| # sessions on every command. Happy ctrl-r!! | |
| shopt -s histappend | |
| # Well the python code only does 5000 lines | |
| export HISTSIZE=10000 | |
| export HISTFILESIZE=10000 | |
| export PROMPT_COMMAND="history -a; unique_history.py; history -r; $PROMPT_COMMAND" |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| ''' | |
| Created on 29.03.2012 | |
| @author: pn | |
| ''' | |
| import sys | |
| import traceback | |
| import argparse |
| // COLOR ****************************************************/ | |
| $bordercolor: #888; | |
| $activecolor: #D61518; | |
| $aqua:#00FFFF; | |
| $bisque:#ffe4c4; | |
| $black:#000000; | |
| $blue:#0000FF; | |
| $brown:#A52A2A; |
| #!/usr/bin/env python | |
| #-*- coding: utf-8 -*- | |
| import xmlrpclib | |
| class OpenERPAPI(object): | |
| URL = 'http://your_server:8069/xmlrpc' | |
| USER = 'your_user' | |
| PWD = 'your_passoword' | |
| DBNAME = 'your_dbname' |
| /* | |
| SCSS Color Methods for Accessibility | |
| ================================================================================ | |
| Adjust given colors to ensure that those color combination provide sufficient | |
| contrast. | |
| @version 0.1 | |
| @link http://eye48.com/go/scsscontrast |