Skip to content

Instantly share code, notes, and snippets.

View parkan's full-sized avatar

Arkadiy Kukarkin parkan

View GitHub Profile
@parkan
parkan / ccr.md
Last active December 30, 2015 23:46 — forked from denisnazarov/ccr.md
Canonical Content Registry

Canonical Content Registry Foundation

Today, there is no reliable way to persist metadata for digital media as it travels across the internet.

Mine is working to build a global content registry on top of the Bitcoin blockchain to serve as an open metadata layer for canonical representations of digital media.

The goal of such a registry is to enable a new decentralized hypermedia protocol that powers the next generation of digital content applications, where creators and consumers to own their media, identity and interactions across the internet, without dependency on industrial or platform gatekeepers.

In March, we published a high level summary of how such such a system could work, titled the Canonical Content Registry. Today, we are taking the first steps to start building it by sharing a proposal for a technical implementation on top of Blockstore. We welcome your feedback and look forward to starting a conversation.

@parkan
parkan / force.csv
Last active August 29, 2015 14:18 — forked from d3noob/.block
source target value
Harry Sally 100
Harry Sally 100
Harry Sally 100
Harry Mario 1.3
Sarah Alice 0.2
Eveie Alice 0.5
Peter Alice 1.6
Mario Alice 0.4
James Alice 0.6
@parkan
parkan / pre-commit
Created November 11, 2010 20:10 — forked from sztanpet/pre-commit
php pre-commit lint that doesn't break on deleted files
#!php
<?php
$files = array();
exec('git diff-index --cached --diff-filter=ACMRTUXB --name-only HEAD', $files );
$exitcode = 0;
// dont redirect stderr to stdin, we will get the errors twice, redirect it to dev/null
if ( PHP_OS == 'WINNT' )
$redirect = ' 2> NUL';
else