Skip to content

Instantly share code, notes, and snippets.

View Empty2k12's full-sized avatar

Gero Gerke Empty2k12

View GitHub Profile
@Empty2k12
Empty2k12 / markovchain.js
Created January 16, 2017 09:59
Generates a number of sentences with a Markov Chain. (Sample Text: Wikipedia Bitcoin Article)
var text = "The so called Bitcoin is a cryptocurrency and a payment system invented by an unidentified programmer, or group of programmers, under the name of Satoshi Nakamoto. Bitcoin was introduced on 31 October 2008 to a cryptography mailing list, and released as open-source software in 2009. There have been various claims and speculation concerning the identity of Nakamoto, none of which are confirmed. The system is peer-to-peer and transactions take place between users directly, without an intermediary. These transactions are verified by network nodes and recorded in a public distributed ledger called the blockchain, which uses bitcoin as its unit of account. Since the system works without a central repository or single administrator, the U.S. Treasury categorizes bitcoin as a decentralized virtual currency. Bitcoin is often called the first cryptocurrency, although prior systems existed and it is more correctly described as the first decentralized digital currency. Bitcoin is the largest of its kind in t

Keybase proof

I hereby claim:

  • I am Empty2k12 on github.
  • I am gerogerke (https://keybase.io/gerogerke) on keybase.
  • I have a public key whose fingerprint is 0DF7 BE8A BA1A 3D29 D837 91C8 8D04 D356 49C0 44C7

To claim this, I am signing this object: