Skip to content

Instantly share code, notes, and snippets.

Max Kerp maxkerp

Block or report user

Report or block maxkerp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@maxkerp
maxkerp / orbitdb_replication_bug.html
Last active Jun 4, 2018
Gist to easily replicate the orbit-db replication bug #376
View orbitdb_replication_bug.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Replication BUG</title>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/ipfs/0.29.1/index.js"></script> -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/ipfs/0.29.2/index.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/ipfs/0.29.3/index.js"></script>
View quiz.jsx
var question = this.props.src.questions[this.state.index];
var answerNodes = question.answers.map( function (answer, i) {
return (
<li className = {this._getColor(i)} key = {i} >
{answer.text}
<input className = "pull-right" type = "checkbox"
onChange = { function (i) {
console.log(i)
} }
You can’t perform that action at this time.