Skip to content

Instantly share code, notes, and snippets.

Paul Berg PaulRBerg

View GitHub Profile
PaulRBerg / TruffleV5Report.txt
Last active Dec 30, 2018
Console output after running migrations
View TruffleV5Report.txt
Starting migrations...
> Network name: 'development'
> Network id: 7923
> Block gas limit: 6721975
PaulRBerg / CloudFrontStaticWebsiteConfig.json
Created Dec 26, 2018
CloudFront static website config
View CloudFrontStaticWebsiteConfig.json
"CallerReference": "CloudFrontStaticWebsitConfig",
"Aliases": {
"Quantity": 1,
"Items": [
"DefaultRootObject": "",
"Origins": {
PaulRBerg / S3StaticWebsitePolicy.json
Created Dec 26, 2018
Sample policy for a static website hosted on S3
View S3StaticWebsitePolicy.json
"Version": "2012-10-17",
"Statement": [
"Sid": "S3StaticWebsitePolicy",
"Effect": "Allow",
"Principal": {
"AWS": "*"
"Action": "s3:GetObject",
PaulRBerg /
Created Nov 9, 2018
Annotations on the original Plasma white paper



The Plasma white paper written by Joseph Poon and Vitalik Buterin spurred a large wave of innovation, but it equally created confusion on many topics. One year later, Plasma slightly departed from its original vision, having now a rather expansive definition, with several different proposed implementations.

Let's briefly describe the recent history of Plasma, as it rolled out over the last year! Minimum Viable Plasma was introduced as a model adhering to most of the procedures outlined in the white paper, but it turned out that some parts, such as the multi-step process of state transitions, could be dramatically improved. Shortly after, Plasma Cash did just that by the means of non-fungible tokens, enabling simple, reliable and low-cost transactions. It is in particular applicable to high throughput but low or medium-state applications, like micropayments and exchanges. Other notable examples include Plasma Debit, Plasma Xt and More Viable Plasma.

Due to this amalgam of implementa


Keybase proof

I hereby claim:

  • I am paulrberg on github.
  • I am paulrberg ( on keybase.
  • I have a public key ASDQV-6T8VNpMmufezWYrJaZBDNkhq2Wv9A9HBoWI_ZbSgo

To claim this, I am signing this object:

View blockstack.txt
Verifying my Blockstack ID is secured with the address 1N7LGfMV66d6khzpqZ5uM6PtZEsMK1L59V
View DagHub Survey Prizes Distribution
PaulRBerg /
Created Jan 26, 2018 — forked from hhsnopek/
Netlify DNS setup

Netlify DNS Setup

Quick ref for Netlify custom domains



Host: www, Value:, TTL: 30 min


Host: @, Value:, TTL: 30min

PaulRBerg / blocktstack
Created Dec 22, 2017
Blockstack Verification
View blocktstack
Verifying my Blockstack ID is secured with the address 1GuvpSHLmrkNmZ2wsSpFrSLyyokSda91C3
PaulRBerg / APLoginNetwork.swift
Last active Jul 14, 2017
AdPacer - APLoginNetwork
View APLoginNetwork.swift
import UIKit
import FirebaseAuth
import MBProgressHUD
extension APLoginViewController {
* Simply logins the user using the classic email & password.
func login() {
You can’t perform that action at this time.