Skip to content

Instantly share code, notes, and snippets.

Carl Youngblood cayblood

Block or report user

Report or block cayblood

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
View protocol.json
"bootstrap_accounts": [
["edpkuBknW28nW72KG6RoHtYW7p12T6GKc7nAbwYX5m8Wd9sDVC9yav", "4000000000000"],
["edpktzNbDAUjUk697W7gYg2CRuBQjyPxbEg8dLccYYwKSKvkPvjtV9", "4000000000000"],
["edpkuTXkJDGcFd5nh6VvMz8phXxU3Bi7h6hqgywNFi1vZTfQNnS1RV", "4000000000000"],
["edpkuFrRoDSEbJYgxRtLx2ps82UdaYc1WwfS9sE11yhauZt5DgCHbU", "4000000000000"],
["edpkv8EUUH68jmo3f7Um5PezmfGrRF24gnfLpH3sVNwJnV5bVCxL2n", "4000000000000"]
"dictator_pubkey": "edpkuSLWfVU1Vq7Jg9FucPyKmma6otcMHac9zG4oU1KMHSTBpJuGQ2"
View dictator-key.patch
diff --git a/src/proto_alpha/lib_protocol/src/ b/src/proto_alpha/lib_protocol/src/
index edf3007..c34f23d 100644
--- a/src/proto_alpha/lib_protocol/src/
+++ b/src/proto_alpha/lib_protocol/src/
@@ -81,7 +81,7 @@ let default = {
Int64.(sub (shift_left 1L 56) 1L) ;
dictator_pubkey =
- "edpkugeDwmwuwyyD3Q5enapgEYDxZLtEUFFSrvVwXASQMVEqsvTqWu" ;
+ "edpkuSLWfVU1Vq7Jg9FucPyKmma6otcMHac9zG4oU1KMHSTBpJuGQ2" ;
python -m SimpleHTTPServer 8000
cayblood / 0_reuse_code.js
Created Sep 17, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View output.txt
carl@Carls-MacBook-Pro ~/Source/work/divvy/candidate-homework/DavidCox/divvy [git:master] ruby-2.1.5
∴ cat
This app enables fast searching of the baby name dataset found at ``
At startup, the app read the dataset from its source and loads it into a in-memory sqlite database. A single endpoint is then exposed to enable querying for sets of names that match a given string. A web interface is provided to aid in that querying.
Must have node and npm installed, with bower installed globally.
View rounding_test.ex
iex(1)> alias Decimal, as: D
iex(2)> D.set_context(%D.Context{D.get_context | precision: 2})
iex(4)> D.round("15.620000"), 2)
View factory.ex
defmodule Juno.Factory do
use ExMachina.Ecto, repo: Juno.Repo
# import GoodTimes
# import GoodTimes.Convert
alias Juno.Transaction
alias Juno.VirtualCard
def transaction_factory do
%Transaction {
description: "Description",
View mix_phoenix_routes.txt
page_path GET / Juno.PageController :index
virtual_card_path GET /api/virtual_cards Juno.VirtualCardController :index
virtual_card_path GET /api/virtual_cards/new Juno.VirtualCardController :new
virtual_card_path GET /api/virtual_cards/:id Juno.VirtualCardController :show
virtual_card_path POST /api/virtual_cards Juno.VirtualCardController :create
virtual_card_path PATCH /api/virtual_cards/:id Juno.VirtualCardController :update
PUT /api/virtual_cards/:id Juno.VirtualCardController :update
virtual_card_path DELETE /api/virtual_cards/:id Juno.VirtualCardController :delete
View twt-embed.js

Keybase proof

I hereby claim:

  • I am cayblood on github.
  • I am cayblood ( on keybase.
  • I have a public key whose fingerprint is 048A 028F 9778 4D5E 5060 6D67 3F5E 2CD8 C084 BD6B

To claim this, I am signing this object:

You can’t perform that action at this time.