This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"address": "0000000000THISISDOUG", | |
"pdx": "", | |
"doug": "Genesis DOUG/gendoug-v3.lll", | |
"unique": true, | |
"private-key": "", | |
"model": "vm", | |
"no-gendoug": false, | |
"consensus": "vm", | |
"difficulty": 17, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Aliases | |
alias efa='ipfs_add' | |
alias efb='ipfs_view' | |
alias efg='ipfs_get' | |
alias efs='ipfs_get_save' | |
# alias gss='git status -s' | |
# compdef _git gss=git-status | |
# Add a file to IPFS cache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +compleatang is my openname (Bitcoin username). https://onename.com/compleatang |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative "test_helper" | |
require "open-uri" | |
require "net/http" | |
class EmojiTest < Blog::Test | |
def test_no_emoji | |
posts.each do |post| | |
content = File.read(post) | |
refute_match /:[a-zA-Z0-9_]+:/, content, |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"address": "0000000000THISISDOUG", | |
"pdx": "", | |
"doug": "Genesis DOUG/gendoug-v2.lll", | |
"unique": true, | |
"private-key": "", | |
"model": "", | |
"no-gendoug": false, | |
"consensus": "", | |
"difficulty": 15, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'json' | |
this_account = {} | |
accounts = [] | |
def makeaccount | |
b = %w(a b c d e f 1 2 3 4 5 6 7 8 9 0) | |
tmp = '0x' | |
40.times do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"address": "0000000000THISISDOUG", | |
"pdx": "", | |
"doug": "", | |
"unique": true, | |
"private-key": "", | |
"model": "", | |
"no-gendoug": false, | |
"consensus": "", | |
"difficulty": 15, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Eris | |
### Participatory Architecture for Social Scientists (and Everyone Else) | |
--- | |
### Ideas Alone Are Not That Powerful |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def build_contract params | |
contract_file = File.join( File.dirname(__FILE__), 'public', 'consulting_agreement.lmd' ) | |
values = { "client_name" => "#{params[:name]}", "date" => "#{Time.new.strftime('%B %d, %Y')}", "standard" => "false", "express" => "false", "additional" => "false", "hourly" => "false" } | |
case params[:package] | |
when 'standard' | |
values["standard"] = "true" | |
when 'express' | |
values["express"] = "true" | |
when 'additional' | |
values["additional"] = "true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(if (< (DIV @0x40 BLrepfrac) minpunish) | |
{ | |
(if (> minpunish @0x40) | |
{ | |
;Can't afford the punishment | |
[0x0]"addstrike" | |
[0x20]@0x100 | |
[0x40]maxstrikes | |
(call (gass) @@REP 0 0x0 0x40 0x0 0x0) |