mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-04-20 15:27:10 +02:00
migration, more images, index.html, youtube.html
This commit is contained in:
parent
4438fd659e
commit
8a58ed2bfe
|
@ -1,19 +0,0 @@
|
||||||
+++
|
|
||||||
title = "Learning JavaScript"
|
|
||||||
date = 2019-01-03
|
|
||||||
|
|
||||||
[taxonomies]
|
|
||||||
tags = ["javascript"]
|
|
||||||
+++
|
|
||||||
|
|
||||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc eu feugiat sapien. Aenean ligula nunc, laoreet id sem in, interdum bibendum felis. Donec vel dui neque. Praesent ac sem ut justo volutpat rutrum a imperdiet tellus. Nam lobortis massa non hendrerit hendrerit. Vivamus porttitor dignissim turpis, eget aliquam urna tincidunt non. Aliquam et fringilla turpis. Nullam eros est, eleifend in ornare sed, hendrerit eget est. Aliquam tellus felis, suscipit vitae ex vel, fringilla tempus massa. Nulla facilisi. Pellentesque lobortis consequat lectus. Maecenas ac libero elit.
|
|
||||||
|
|
||||||
<!-- more -->
|
|
||||||
|
|
||||||
Ut luctus dolor ut tortor hendrerit, sed hendrerit augue scelerisque. Suspendisse quis sodales dui, at tempus ante. Nulla at tempor metus. Aliquam vitae rutrum diam. Curabitur iaculis massa dui, quis varius nulla finibus a. Praesent eu blandit justo. Suspendisse pharetra, arcu in rhoncus rutrum, magna magna viverra erat, eget vestibulum enim tellus id dui. Nunc vel dui et arcu posuere maximus. Mauris quam quam, bibendum sed libero nec, tempus hendrerit arcu. Suspendisse sed gravida orci. Fusce tempor arcu ac est pretium porttitor. Aenean consequat risus venenatis sem aliquam, at sollicitudin nulla semper. Aenean bibendum cursus hendrerit. Nulla congue urna nec finibus bibendum. Donec porta tincidunt ligula non ultricies.
|
|
||||||
|
|
||||||
Sed vulputate tristique elit, eget pharetra elit sodales sed. Proin dignissim ipsum lorem, at porta eros malesuada sed. Proin tristique eros eu quam ornare, suscipit luctus mauris lobortis. Phasellus ut placerat enim. Donec egestas faucibus maximus. Nam quis efficitur eros. Cras tincidunt, lacus ac pretium porta, dui dolor varius elit, eget laoreet justo justo vitae metus. Morbi eget nisi ut ex scelerisque lobortis ut in lorem. Vestibulum et lorem quis ipsum feugiat varius. Mauris nec nulla viverra nisi porttitor efficitur. Morbi vel purus eleifend, finibus erat non, placerat ipsum. Mauris et augue vel nisi volutpat aliquam. Curabitur malesuada tortor est, at condimentum neque eleifend in.
|
|
||||||
|
|
||||||
Morbi id ornare lacus. Suspendisse ultrices rutrum posuere. Nullam porttitor libero quis ligula finibus semper. Mauris iaculis magna et nisl tristique, eget maximus ex feugiat. Nam eu felis leo. Quisque ultrices varius purus in molestie. Duis non accumsan ligula. Vivamus dignissim malesuada metus, vel hendrerit tellus viverra id. Curabitur posuere, mauris vitae dignissim dictum, velit mi condimentum lorem, nec varius velit arcu a mi. In dolor sapien, condimentum sed aliquam at, dignissim id purus. Cras lorem leo, vulputate ac ante sed, molestie tempus lectus. Curabitur efficitur libero quam, rhoncus faucibus libero pharetra nec. Curabitur lobortis ullamcorper nisl eu imperdiet. Duis porttitor interdum magna, ac eleifend orci consequat vitae. Aliquam augue felis, faucibus vel blandit sed, maximus non turpis.
|
|
||||||
|
|
||||||
Quisque viverra a eros id auctor. Proin id nibh ut nisl dignissim pellentesque et ac mi. Nullam mattis urna quis consequat bibendum. Donec pretium dui elit, a semper purus tristique et. Mauris euismod nisl eu vehicula facilisis. Maecenas facilisis non massa non scelerisque. Integer malesuada cursus erat eu viverra. Duis ligula mi, eleifend vel justo id, laoreet porttitor ex. Etiam ultricies lacus lorem, sed aliquam nulla blandit in. Maecenas vel facilisis neque, vitae fringilla eros. In justo nibh, pellentesque sed faucibus nec, varius sit amet risus.
|
|
|
@ -3,12 +3,12 @@ title = "Mining Bitcoin with Pi - Part I"
|
||||||
date = 2015-08-15
|
date = 2015-08-15
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tags = ["RaspberryPi", "Bitcoin", "Cryptocurrency"]
|
tags = ["RaspberryPi", "Bitcoin"]
|
||||||
+++
|
+++
|
||||||
|
|
||||||
In early 2013 I heard about Bitcoin and decided the best way to learn about it would be to start mining. If you don’t know anything about Bitcoin, check out the video below and [bitcoin.org](https://bitcoin.org/en/) for more.
|
I first heard about Bitcoin in early 2013 and decided the best way to learn about it would be to start mining. If you don’t know anything about Bitcoin, check out the video below and [bitcoin.org](https://bitcoin.org/en/) for more.
|
||||||
|
|
||||||
|
|
||||||
|
{{ youtube(id="Gc2en3nHxA4", class="youtube")}}
|
||||||
|
|
||||||
I ordered the [Butterfly Labs](https://en.bitcoinwiki.org/wiki/Butterfly_Labs) 5 GH/s Miner in July of 2013 and actually received it in December 2013, ASIC mining was catching on like wildfire and they had a decent backlog of orders to fulfill. The most similar product they offer currently is a 10 GH/s miner. The miner connects as a peripheral via USB, so I started mining with it connected to my Windows 7 lap top using the EasyMiner Software. This reliance on my lap top to “drive” the miner wasn’t optimal, so I found a Linux based alternative that runs on Raspberry Pi called [MinePeon](https://minepeon.com/). Now I had a reliable hardware setup that required little maintenance and more importantly my lap top was free to roam.
|
I ordered the [Butterfly Labs](https://en.bitcoinwiki.org/wiki/Butterfly_Labs) 5 GH/s Miner in July of 2013 and actually received it in December 2013, ASIC mining was catching on like wildfire and they had a decent backlog of orders to fulfill. The most similar product they offer currently is a 10 GH/s miner. The miner connects as a peripheral via USB, so I started mining with it connected to my Windows 7 lap top using the EasyMiner Software. This reliance on my lap top to “drive” the miner wasn’t optimal, so I found a Linux based alternative that runs on Raspberry Pi called [MinePeon](https://minepeon.com/). Now I had a reliable hardware setup that required little maintenance and more importantly my lap top was free to roam.
|
||||||
|
|
||||||
|
|
27
content/mining-bitcoin-with-pi-part2.md
Normal file
27
content/mining-bitcoin-with-pi-part2.md
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
+++
|
||||||
|
title = "Mining Bitcoin with Pi - Part II"
|
||||||
|
date = 2015-10-16
|
||||||
|
|
||||||
|
[taxonomies]
|
||||||
|
tags = ["RaspberryPi", "Bitcoin"]
|
||||||
|
+++
|
||||||
|
|
||||||
|
I mined a total of 0.24359921 Bitcoin (BTC) with the Raspberry Pi and Butterfly Labs 5 GH/s miner from December 17, 2013 - July 29, 2015.
|
||||||
|
|
||||||
|
Here’s a breakdown of costs:
|
||||||
|
|
||||||
|
Total = $961
|
||||||
|
- Hardware = $390
|
||||||
|
- Electricity = $571
|
||||||
|
|
||||||
|
Total cost of power over that period of approximately 14,136 hours was calculated assuming $0.19 / kWh by taking the average over a one year period. The power consumption was approximated by recording usage with a [P3 Kill A Watt](http://www.p3international.com/products/p4400.html) over a ten day period and interpolating linearly.
|
||||||
|
|
||||||
|
{{ image(src="https://raw.githubusercontent.com/kylejcarlton/zola-theme-terminimal/master/img/BTCMinerPowerUsage.png",
|
||||||
|
position="left") }}
|
||||||
|
|
||||||
|
Thanks to the technology behind Bitcoin, you can see the full contents of the wallet where mining profits were deposited on [BlockChain.info](https://www.blockchain.com/explorer) @ [1BsWqHJh5kwLNHZzj6Q6DGaxRZVTK9U9A6](https://blockchain.info/address/1BsWqHJh5kwLNHZzj6Q6DGaxRZVTK9U9A6) and a graph over time.
|
||||||
|
|
||||||
|
{{ image(src="https://raw.githubusercontent.com/kylejcarlton/zola-theme-terminimal/master/img/BTCMinerProfitability.png",
|
||||||
|
position="left") }}
|
||||||
|
|
||||||
|
With the exchange rate of Bitcoins to USD at the time of writing this, the Return on Investment (ROI) with a balance of 0.24359921 BTC is about negative (-) $896. Breaking even would require the exchange rate to reach $3,844 USD / BTC; historically speaking the highest was around $1,100 in late 2013. Never say never though, here’s the [current price from CoinDesk](https://www.coindesk.com/price/bitcoin/).
|
BIN
img/BTCMinerPowerUsage.png
Normal file
BIN
img/BTCMinerPowerUsage.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
img/BTCMinerProfitability.png
Normal file
BIN
img/BTCMinerProfitability.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
|
@ -103,7 +103,7 @@
|
||||||
|
|
||||||
<span class="copyright-theme">
|
<span class="copyright-theme">
|
||||||
<span class="copyright-theme-sep">:: </span>
|
<span class="copyright-theme-sep">:: </span>
|
||||||
Theme: <a href="https://github.com/pawroman/zola-theme-terminimal/">Terminimal</a> by pawroman
|
Powered by <a href="https://www.getzola.org/">Zola</a> <a href="https://github.com/pawroman/zola-theme-terminimal/">Terminimal Theme</a>.
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
19
templates/shortcodes/youtube.html
Normal file
19
templates/shortcodes/youtube.html
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
.responsive-iframe {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
<div {% if class %}class="{{class}}"{% endif %}>
|
||||||
|
<iframe
|
||||||
|
class="responsive-iframe"
|
||||||
|
src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}"
|
||||||
|
webkitallowfullscreen
|
||||||
|
mozallowfullscreen
|
||||||
|
allowfullscreen>
|
||||||
|
</iframe>
|
||||||
|
</div>
|
Loading…
Reference in a new issue