Skip to content

Instantly share code, notes, and snippets.

View rissicay's full-sized avatar

Christopher Abbey rissicay

  • Sydney, Australia
View GitHub Profile
@rissicay
rissicay / upgrade.md
Created June 12, 2017 07:11 — forked from chrismccord/upgrade.md
Phoenix 1.2.x to 1.3.0 Upgrade Instructions

If you want a run-down of the 1.3 changes and the design decisions behidn those changes, check out the LonestarElixir Phoenix 1.3 keynote: https://www.youtube.com/watch?v=tMO28ar0lW8

To use the new phx.new project generator, you can install the archive with the following command:

$ mix archive.install https://github.com/phoenixframework/archives/raw/master/phx_new.ez

Bump your phoenix dep

Phoenix v1.3.0 is a backwards compatible release with v1.2.x. To upgrade your existing 1.2.x project, simply bump your phoenix dependency in mix.exs:

@rissicay
rissicay / mk_genesis_block.py
Created November 5, 2016 07:26
genesis block for Ethereum
#!/usr/bin/python
import json, re
import random
import sys
import bitcoin as b
import sys
import json
import os
try:
from urllib.request import build_opener