Bitbucket show hg commands button
Steve Losh noted on Twitter that there's no usable URL to pull changes from pull request in your command line. Well, there is, sorta, pull request page html contain hidden "merge-commands" <pre> in case there are conflicts, all you have to do is show it.
I used greasemonkey to add "hg" button between "merge" and "edit" buttons on pull request page. It looks like this:
Here is script source:
Permalink
Distinguishable colors for stack graphs
I needed to stack some data on single graph (like network traffic from multiple hosts).
Colors on such graphs should be distinguishable, best approach is evenly space (hue-wise) color palette. To enhance separation every odd color has lower brightness.
It will look something like this:
or this:
I needed it for RRDgraph so here's perl version:
Archiwum
- Luty 2016
- Październik 2015
- Wrzesień 2015
- Lipiec 2013
- Czerwiec 2013
- Kwiecień 2013
- Marzec 2013
- Grudzień 2011
- Listopad 2011
- Lipiec 2011
- Czerwiec 2011
- Luty 2010
- Wrzesień 2009
- Marzec 2009
- Luty 2009