This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"alpha2_code": "ao", | |
"continent": "Africa", | |
"gdp": 115332111283.362, | |
"latitude": -8.81155, | |
"life_expectancy": 51.464, | |
"longitude": 13.242, | |
"name": "Angola", | |
"population": 12104952, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta name="description" content="Also want these pretty website previews?" /> | |
<meta property="og:description" content="Also want these pretty website previews?" /> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<script src="https://cdn.rawgit.com/nicgirault/circosJS/v2/dist/circos.js"></script> | |
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700" rel="stylesheet"> | |
<style> | |
body { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Toy Bitcoin Mining demo | |
""" | |
# Not using SHA-256 as the Skein cryptographic hash function hashes input to arbitrary | |
# size output, and for demonstration purposes 8 bits are enough. | |
from skein import skein512 | |
import codecs | |
import struct | |
import random |