diff --git a/_config.yml b/_config.yml index bb6d133..ff2a94d 100644 --- a/_config.yml +++ b/_config.yml @@ -13,6 +13,7 @@ exclude: - Gemfile - Gemfile.lock - package.json + - cron/ paginate: 12 paginate_path: "/blog/page:num/" name: Dash diff --git a/assets/img/masternode_count-crop-813x525.png b/assets/img/masternode_count-crop-813x525.png new file mode 100644 index 0000000..0ce0b55 Binary files /dev/null and b/assets/img/masternode_count-crop-813x525.png differ diff --git a/cron/pull_and_resize_masternode_graph.sh b/cron/pull_and_resize_masternode_graph.sh new file mode 100755 index 0000000..75dd1f6 --- /dev/null +++ b/cron/pull_and_resize_masternode_graph.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +# pull hourly-updated http-only masternode count image +# resize, removing shadow +# place +# requires imagemagick +# invoked */10 by cron + +FILE=masternode_count.png + +rm -f /tmp/$FILE + +wget -q http://178.254.23.111/~pub/masternode_count.png -O /tmp/$FILE + +convert /tmp/masternode_count.png -crop 813x525+6+6 /tmp/masternode_count-crop-813x525.png + +cp -f /tmp/masternode_count-crop-813x525.png /home/ubuntu/broadcast/assets/img/masternode_count-crop-813x525.png diff --git a/index.html b/index.html index b487bb3..d951bbb 100644 --- a/index.html +++ b/index.html @@ -265,7 +265,7 @@ description: pages.home.description {% t pages.home.network-growth-heading %}
- {% t pages.home.network-growth-heading %} + {% t pages.home.network-growth-heading %}
diff --git a/network/index.html b/network/index.html index 6dbb976..4977166 100644 --- a/network/index.html +++ b/network/index.html @@ -78,7 +78,7 @@ description: pages.currency.description Maximum masternodes so far:

- +