Skip to content

Instantly share code, notes, and snippets.

@luisbebop
luisbebop / life_hello_world.rb
Created April 11, 2015 19:59
A early prototype describing how "program life" should be
require "openlife"
def add_pGLO(bacteria)
construct = GeneticCircuit.new(:assembly)
construct.add_selection_gene(:AmpR)
construct.add_promoter(:very_strong)
construct.add_rbs(:very_strong)
construct.add_gene(:GFP)
construct.add_terminator(:ter)
construct.replication_origin(:high)
@luisbebop
luisbebop / onename
Created October 12, 2015 22:22
onename verifcation
Verifying that +luisbebop is my blockchain ID. https://onename.com/luisbebop
@luisbebop
luisbebop / server-euforia.go
Last active May 17, 2016 20:58
Go websocket echo server with permessage-deflate extension enabled
// Copyright 2015 The Gorilla WebSocket Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build ignore
package main
import (
"flag"
@luisbebop
luisbebop / install-rbenv-amazon-linux-ami.sh
Created November 26, 2017 16:32
Install rbenv on Amazon Linux AMI
sudo yum install -y git gcc make readline-devel openssl-devel
git clone git://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc
# Install ruby-build system-widely
git clone git://github.com/rbenv/ruby-build.git /tmp/ruby-build
cd /tmp/ruby-build

Here are the instructions to build the CloudWalk Testnet. This chain is EVM compatible based on Substrate.

I have used Amazon Linux 2 AMI. You will need at least 40GB, 4CPU, 8GB mem to start. Need to go further in transactions benchmarks and see how the nodes will behave at scale.

First install compiler utils on the machine you will generate the node binary for the network. I recommend you use a faster machine to compile (it takes time 20-30 minutes). Then use the binary on the nodes on the network that don't need to be that fast.

sudo yum install -y cmake pkg-config libssl-dev git build-essential clang libclang-dev curl