From bba5171e63c88ae4b0850adc0a6bf49a55a19662 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 6 Jan 2013 04:43:53 +0000 Subject: adv_graphgen: no redundancy > being supernode it is visually more important to see that a node has no redundancy that to see this node is a potential supernode --- retiolum/scripts/adv_graphgen/parse_tinc_stats.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/retiolum/scripts/adv_graphgen/parse_tinc_stats.py b/retiolum/scripts/adv_graphgen/parse_tinc_stats.py index 03a20214..76a3ffcd 100755 --- a/retiolum/scripts/adv_graphgen/parse_tinc_stats.py +++ b/retiolum/scripts/adv_graphgen/parse_tinc_stats.py @@ -171,11 +171,12 @@ def write_node(k,v): for addr in v.get('internal-ip',['¯\\\\(°_o)/¯']): node += "internal:"+addr+"\\l" node +="\"" - if k in supernodes: - node += ",fillcolor=steelblue1" + # warning if node only has one connection - elif v['num_conns'] == 1: + if v['num_conns'] == 1: node += ",fillcolor=red" + elif k in supernodes: + node += ",fillcolor=steelblue1" #node +=",group=\""+v['external-ip'].replace(".","")+"\"" node += "]" print node -- cgit v1.2.3 From b2df392966df95102bb8cf4ee3f043d4b6ed633f Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 6 Jan 2013 04:58:06 +0000 Subject: add README for affiliate --- gold/affiliate/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gold/affiliate/README.md diff --git a/gold/affiliate/README.md b/gold/affiliate/README.md new file mode 100644 index 00000000..81a3d52c --- /dev/null +++ b/gold/affiliate/README.md @@ -0,0 +1,9 @@ +# Installation + +# Firefox +Step 1: [Install Greasemonkey](https://addons.mozilla.org/de/firefox/addon/greasemonkey/) +Step 2: Click on affiliate.user.js + +# Chrome +Step 1: download affiliate.user.js onto your desktop +Step 2: Open chrome->tools->extensions and drag affiliate.user.js into chrome window -- cgit v1.2.3